Lines Matching defs:nlm
1064 struct nlmsghdr nlm;
1075 req.nlm.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifaddrmsg));
1076 req.nlm.nlmsg_flags = NLM_F_REQUEST|NLM_F_ACK;
1077 req.nlm.nlmsg_type = cmd;
1099 add_string_to_rtattr(&req.nlm, sizeof(req),
1120 add_string_to_rtattr(&req.nlm, sizeof(req),
1126 add_string_to_rtattr(&req.nlm, sizeof(req),
1139 add_string_to_rtattr(&req.nlm, sizeof(req),
1166 add_string_to_rtattr(&req.nlm, sizeof(req),
1178 add_string_to_rtattr(&req.nlm, sizeof(req),
1195 add_string_to_rtattr(&req.nlm, sizeof(req),
1207 send_nlmesg(RTM_NEWADDR, 0, AF_UNSPEC, (void *)&req, req.nlm.nlmsg_len);