Lines Matching refs:nladdr
116 struct sockaddr_nl nladdr; in nl_sendreq() local
132 memset(&nladdr, 0, sizeof(nladdr)); in nl_sendreq()
133 nladdr.nl_family = AF_NETLINK; in nl_sendreq()
134 …(sendto(sd, (void *) req_hdr, req_hdr->nlmsg_len, 0, (struct sockaddr *) &nladdr, sizeof(nladdr))); in nl_sendreq()
141 struct sockaddr_nl nladdr; in nl_recvmsg() local
145 msg.msg_name = (void *) &nladdr; in nl_recvmsg()
146 msg.msg_namelen = sizeof(nladdr); in nl_recvmsg()
297 struct sockaddr_nl nladdr; in nl_open() local
303 memset(&nladdr, 0, sizeof(nladdr)); in nl_open()
304 nladdr.nl_family = AF_NETLINK; in nl_open()
305 if (bind(sd, (struct sockaddr *) &nladdr, sizeof(nladdr)) < 0) { in nl_open()