Home
last modified time | relevance | path

Searched refs:NLMSG_LENGTH (Results 1 – 6 of 6) sorted by relevance

/netbsd/src/external/bsd/wpa/dist/src/drivers/
Dpriv_netlink.h51 #define NLMSG_LENGTH(len) ((len) + NLMSG_ALIGN(sizeof(struct nlmsghdr))) macro
52 #define NLMSG_SPACE(len) NLMSG_ALIGN(NLMSG_LENGTH(len))
53 #define NLMSG_DATA(nlh) ((void*) (((char*) nlh) + NLMSG_LENGTH(0)))
Dnetlink.c185 req.hdr.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); in netlink_send_oper_ifla()
/netbsd/src/external/gpl2/lvm2/dist/daemons/cmirrord/
Dlocal.c60 nlh->nlmsg_len = NLMSG_LENGTH(sizeof(struct cn_msg)); in kernel_ack()
69 r = send(cn_fd, nlh, NLMSG_LENGTH(sizeof(struct cn_msg)), 0); in kernel_ack()
195 nlh->nlmsg_len = NLMSG_LENGTH(out_size + sizeof(struct cn_msg)); in kernel_send_helper()
205 r = send(cn_fd, nlh, NLMSG_LENGTH(out_size + sizeof(struct cn_msg)), 0); in kernel_send_helper()
/netbsd/src/external/bsd/libpcap/dist/
Dpcap-netfilter-linux.c74 #define HDR_LENGTH (NLMSG_LENGTH(NLMSG_ALIGN(sizeof(struct nfgenmsg))))
362 nlh->nlmsg_len = NLMSG_LENGTH(sizeof(struct nfgenmsg)); in netfilter_send_config_msg()
/netbsd/src/crypto/external/bsd/heimdal/dist/lib/roken/
Dgetifaddrs.c290 req_hdr->nlmsg_len = NLMSG_LENGTH(sizeof(*req_msg)); in nl_sendreq()
368 if (nh->nlmsg_len < NLMSG_LENGTH(sizeof(struct nlmsgerr))) in nl_getmsg()
/netbsd/src/crypto/dist/ipsec-tools/src/racoon/
Dgrabmyaddr.c449 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg)); in netlink_route_is_local()