/external/iproute2/ip/ |
D | ipmonitor.c | 45 if (n->nlmsg_type == RTM_NEWROUTE || n->nlmsg_type == RTM_DELROUTE) { in accept_msg() 51 if (n->nlmsg_type == RTM_NEWLINK || n->nlmsg_type == RTM_DELLINK) { in accept_msg() 58 if (n->nlmsg_type == RTM_NEWADDR || n->nlmsg_type == RTM_DELADDR) { in accept_msg() 64 if (n->nlmsg_type == RTM_NEWADDRLABEL || n->nlmsg_type == RTM_DELADDRLABEL) { in accept_msg() 70 if (n->nlmsg_type == RTM_NEWNEIGH || n->nlmsg_type == RTM_DELNEIGH) { in accept_msg() 76 if (n->nlmsg_type == RTM_NEWPREFIX) { in accept_msg() 82 if (n->nlmsg_type == RTM_NEWRULE || n->nlmsg_type == RTM_DELRULE) { in accept_msg() 88 if (n->nlmsg_type == 15) { in accept_msg() 97 if (n->nlmsg_type == RTM_NEWQDISC || in accept_msg() 98 n->nlmsg_type == RTM_DELQDISC || in accept_msg() [all …]
|
D | xfrm_policy.c | 248 req.n.nlmsg_type = cmd; in xfrm_policy_modify() 434 if (n->nlmsg_type != XFRM_MSG_NEWPOLICY && in xfrm_policy_print() 435 n->nlmsg_type != XFRM_MSG_DELPOLICY && in xfrm_policy_print() 436 n->nlmsg_type != XFRM_MSG_UPDPOLICY && in xfrm_policy_print() 437 n->nlmsg_type != XFRM_MSG_POLEXPIRE) { in xfrm_policy_print() 439 n->nlmsg_len, n->nlmsg_type, n->nlmsg_flags); in xfrm_policy_print() 443 if (n->nlmsg_type == XFRM_MSG_DELPOLICY) { in xfrm_policy_print() 446 } else if (n->nlmsg_type == XFRM_MSG_POLEXPIRE) { in xfrm_policy_print() 461 if (n->nlmsg_type == XFRM_MSG_DELPOLICY) in xfrm_policy_print() 463 else if (n->nlmsg_type == XFRM_MSG_POLEXPIRE) in xfrm_policy_print() [all …]
|
D | xfrm_state.c | 259 req.n.nlmsg_type = cmd; in xfrm_state_modify() 547 req.n.nlmsg_type = XFRM_MSG_ALLOCSPI; in xfrm_state_allocspi() 707 if (n->nlmsg_type != XFRM_MSG_NEWSA && in xfrm_state_print() 708 n->nlmsg_type != XFRM_MSG_DELSA && in xfrm_state_print() 709 n->nlmsg_type != XFRM_MSG_UPDSA && in xfrm_state_print() 710 n->nlmsg_type != XFRM_MSG_EXPIRE) { in xfrm_state_print() 712 n->nlmsg_len, n->nlmsg_type, n->nlmsg_flags); in xfrm_state_print() 716 if (n->nlmsg_type == XFRM_MSG_DELSA) { in xfrm_state_print() 720 } else if (n->nlmsg_type == XFRM_MSG_EXPIRE) { in xfrm_state_print() 738 if (n->nlmsg_type == XFRM_MSG_DELSA) in xfrm_state_print() [all …]
|
D | ipaddrlabel.c | 66 if (n->nlmsg_type != RTM_NEWADDRLABEL && n->nlmsg_type != RTM_DELADDRLABEL) in print_addrlabel() 80 if (n->nlmsg_type == RTM_DELADDRLABEL) in print_addrlabel() 148 req.n.nlmsg_type = cmd; in ipaddrlabel_modify() 213 n->nlmsg_type = RTM_DELADDRLABEL; in flush_addrlabel()
|
D | xfrm_monitor.c | 261 switch (n->nlmsg_type) { in xfrm_accept_msg() 293 if (n->nlmsg_type != NLMSG_ERROR && n->nlmsg_type != NLMSG_NOOP && in xfrm_accept_msg() 294 n->nlmsg_type != NLMSG_DONE) { in xfrm_accept_msg() 296 n->nlmsg_len, n->nlmsg_type, n->nlmsg_flags); in xfrm_accept_msg()
|
D | ipneigh.c | 112 req.n.nlmsg_type = cmd; in ipneigh_modify() 192 if (n->nlmsg_type != RTM_NEWNEIGH && n->nlmsg_type != RTM_DELNEIGH) { in print_neigh() 194 n->nlmsg_len, n->nlmsg_type, n->nlmsg_flags); in print_neigh() 204 if (filter.flushb && n->nlmsg_type != RTM_NEWNEIGH) in print_neigh() 242 fn->nlmsg_type = RTM_DELNEIGH; in print_neigh()
|
D | ipprefix.c | 44 if (n->nlmsg_type != RTM_NEWPREFIX) { in print_prefix() 46 n->nlmsg_len, n->nlmsg_type, n->nlmsg_flags); in print_prefix()
|
D | iprule.c | 57 if (n->nlmsg_type != RTM_NEWRULE && n->nlmsg_type != RTM_DELRULE) in print_rule() 75 if (n->nlmsg_type == RTM_DELRULE) in print_rule() 235 req.n.nlmsg_type = cmd; in iprule_modify() 379 n->nlmsg_type = RTM_DELRULE; in flush_rule()
|
D | ipaddress.c | 229 if (n->nlmsg_type != RTM_NEWLINK && n->nlmsg_type != RTM_DELLINK) in print_linkinfo() 250 if (n->nlmsg_type == RTM_DELLINK) in print_linkinfo() 460 if (n->nlmsg_type != RTM_NEWADDR && n->nlmsg_type != RTM_DELADDR) in print_addrinfo() 468 if (filter.flushb && n->nlmsg_type != RTM_NEWADDR) in print_addrinfo() 516 fn->nlmsg_type = RTM_DELADDR; in print_addrinfo() 525 if (n->nlmsg_type == RTM_DELADDR) in print_addrinfo() 670 if (n->nlmsg_type != RTM_NEWADDR) in print_selected_addrinfo() 1009 req.n.nlmsg_type = cmd; in ipaddr_modify()
|
/external/iproute2/tc/ |
D | tc_monitor.c | 42 if (n->nlmsg_type == RTM_NEWTFILTER || n->nlmsg_type == RTM_DELTFILTER) { in accept_tcmsg() 46 if (n->nlmsg_type == RTM_NEWTCLASS || n->nlmsg_type == RTM_DELTCLASS) { in accept_tcmsg() 50 if (n->nlmsg_type == RTM_NEWQDISC || n->nlmsg_type == RTM_DELQDISC) { in accept_tcmsg() 54 if (n->nlmsg_type == RTM_GETACTION || n->nlmsg_type == RTM_NEWACTION || in accept_tcmsg() 55 n->nlmsg_type == RTM_DELACTION) { in accept_tcmsg() 59 if (n->nlmsg_type != NLMSG_ERROR && n->nlmsg_type != NLMSG_NOOP && in accept_tcmsg() 60 n->nlmsg_type != NLMSG_DONE) { in accept_tcmsg() 62 n->nlmsg_len, n->nlmsg_type, n->nlmsg_flags); in accept_tcmsg()
|
D | tc_qdisc.c | 71 req.n.nlmsg_type = cmd; in tc_qdisc_modify() 208 if (n->nlmsg_type != RTM_NEWQDISC && n->nlmsg_type != RTM_DELQDISC) { in print_qdisc() 229 if (n->nlmsg_type == RTM_DELQDISC) in print_qdisc()
|
D | tc_class.c | 62 req.n.nlmsg_type = cmd; in tc_class_modify() 161 if (n->nlmsg_type != RTM_NEWTCLASS && n->nlmsg_type != RTM_DELTCLASS) { in print_class() 184 if (n->nlmsg_type == RTM_DELTCLASS) in print_class()
|
D | m_action.c | 350 if (n->nlmsg_type != RTM_GETACTION) in print_action() 355 if (n->nlmsg_type == RTM_DELACTION) { in print_action() 364 if (n->nlmsg_type == RTM_NEWACTION) in print_action() 400 req.n.nlmsg_type = cmd; in tc_action_gd() 502 req.n.nlmsg_type = cmd; in tc_action_modify() 579 req.n.nlmsg_type = RTM_DELACTION; in tc_act_list_or_flush()
|
D | tc_filter.c | 72 req.n.nlmsg_type = cmd; in tc_filter_modify() 195 if (n->nlmsg_type != RTM_NEWTFILTER && n->nlmsg_type != RTM_DELTFILTER) { in print_filter() 213 if (n->nlmsg_type == RTM_DELTFILTER) in print_filter()
|
/external/dhcpcd/ |
D | if-linux.c | 214 if (nlm->nlmsg_type != NLMSG_ERROR) in err_netlink() 237 if (nlm->nlmsg_type != RTM_DELROUTE) in link_route() 299 if (nlm->nlmsg_type != RTM_DELADDR && nlm->nlmsg_type != RTM_NEWADDR) in link_addr() 335 handle_ifa(nlm->nlmsg_type, ifn, &addr, &net, &dest); in link_addr() 354 if (nlm->nlmsg_type != RTM_NEWLINK && nlm->nlmsg_type != RTM_DELLINK) in link_netlink() 371 if (nlm->nlmsg_type == RTM_NEWLINK && in link_netlink() 382 if (nlm->nlmsg_type == RTM_DELLINK) { in link_netlink() 505 nlm->hdr.nlmsg_type = RTM_NEWADDR; in if_address() 507 nlm->hdr.nlmsg_type = RTM_DELADDR; in if_address() 544 nlm->hdr.nlmsg_type = RTM_NEWROUTE; in if_route() [all …]
|
/external/dnsmasq/src/ |
D | netlink.c | 145 req.nlh.nlmsg_type = RTM_GETADDR; in iface_enumerate() 173 else if (h->nlmsg_type == NLMSG_ERROR) in iface_enumerate() 175 else if (h->nlmsg_type == NLMSG_DONE) in iface_enumerate() 186 else if (h->nlmsg_type == RTM_NEWADDR) in iface_enumerate() 250 if (h->nlmsg_type == NLMSG_ERROR) in netlink_multicast() 275 if (h->nlmsg_pid == 0 && h->nlmsg_type == RTM_NEWROUTE) in nl_routechange()
|
/external/iproute2/genl/ |
D | ctrl.c | 58 nlh->nlmsg_type = GENL_ID_CTRL; in genl_ctrl_resolve_family() 81 if (nlh->nlmsg_type != GENL_ID_CTRL) { in genl_ctrl_resolve_family() 83 "nlmsg_type=0x%x\n", nlh->nlmsg_len, nlh->nlmsg_type); in genl_ctrl_resolve_family() 190 if (n->nlmsg_type != GENL_ID_CTRL) { in print_ctrl() 192 "nlmsg_type=0x%x\n", n->nlmsg_len, n->nlmsg_type); in print_ctrl() 301 nlh->nlmsg_type = GENL_ID_CTRL; in ctrl_list()
|
/external/iproute2/lib/ |
D | libnetlink.c | 101 req.nlh.nlmsg_type = type; in rtnl_wilddump_request() 135 if (h->nlmsg_type == NLMSG_ERROR) { in rtnl_send_check() 167 nlh.nlmsg_type = type; in rtnl_dump_request() 227 if (h->nlmsg_type == NLMSG_DONE) in rtnl_dump_filter_l() 229 if (h->nlmsg_type == NLMSG_ERROR) { in rtnl_dump_filter_l() 362 if (h->nlmsg_type == NLMSG_ERROR) { in rtnl_talk() 502 type= h->nlmsg_type; in rtnl_from_file()
|
/external/dnsmasq/contrib/wrt/ |
D | dhcp_release.c | 198 req.nlh.nlmsg_type = RTM_GETADDR; in find_interface() 220 if (h->nlmsg_type == NLMSG_DONE) in find_interface() 222 else if (h->nlmsg_type == RTM_NEWADDR) in find_interface()
|
/external/iproute2/misc/ |
D | arpd.c | 276 req.n.nlmsg_type = RTM_NEWNEIGH; in respond_to_kernel() 307 if (n->nlmsg_type == NLMSG_DONE) { in do_one_request() 317 if (n->nlmsg_type != RTM_GETNEIGH && n->nlmsg_type != RTM_NEWNEIGH) in do_one_request() 346 if (n->nlmsg_type == RTM_GETNEIGH) { in do_one_request() 393 } else if (n->nlmsg_type == RTM_NEWNEIGH) { in do_one_request()
|
/external/mdnsresponder/mDNSPosix/ |
D | mDNSPosix.c | 1012 …pNLMsg->nlmsg_type < RTM_BASE ? kNLMsgTypes[pNLMsg->nlmsg_type] : kNLRtMsgTypes[pNLMsg->nlmsg_type… in PrintNetLinkMsg() 1015 if (RTM_NEWLINK <= pNLMsg->nlmsg_type && pNLMsg->nlmsg_type <= RTM_GETLINK) in PrintNetLinkMsg() 1022 else if (RTM_NEWADDR <= pNLMsg->nlmsg_type && pNLMsg->nlmsg_type <= RTM_GETADDR) in PrintNetLinkMsg() 1074 if (pNLMsg->nlmsg_type == RTM_GETLINK || pNLMsg->nlmsg_type == RTM_NEWLINK) in ProcessRoutingNotification() 1076 else if (pNLMsg->nlmsg_type == RTM_DELADDR || pNLMsg->nlmsg_type == RTM_NEWADDR) in ProcessRoutingNotification() 1080 if ((pNLMsg->nlmsg_flags & NLM_F_MULTI) != 0 && pNLMsg->nlmsg_type != NLMSG_DONE) in ProcessRoutingNotification()
|
/external/wpa_supplicant_8/src/drivers/ |
D | netlink.c | 59 switch (h->nlmsg_type) { in netlink_receive() 155 req.hdr.nlmsg_type = RTM_SETLINK; in netlink_send_oper_ifla()
|
/external/libselinux/src/ |
D | avc_internal.c | 164 switch (nlh->nlmsg_type) { in avc_netlink_process() 219 avc_prefix, nlh->nlmsg_type); in avc_netlink_process()
|
/external/iptables/libipq/ |
D | libipq.c | 280 req.nlh.nlmsg_type = IPQM_MODE; in ipq_set_mode() 299 return ((struct nlmsghdr*)buf)->nlmsg_type; in ipq_message_type() 329 nlh.nlmsg_type = IPQM_VERDICT; in ipq_set_verdict()
|
/external/libnl-headers/netlink/ |
D | netlink-kernel.h | 37 uint16_t nlmsg_type; member
|