/external/iproute2/tc/ |
D | tc_monitor.c | 47 if (n->nlmsg_type == RTM_NEWTFILTER || n->nlmsg_type == RTM_DELTFILTER) { in accept_tcmsg() 51 if (n->nlmsg_type == RTM_NEWTCLASS || n->nlmsg_type == RTM_DELTCLASS) { in accept_tcmsg() 55 if (n->nlmsg_type == RTM_NEWQDISC || n->nlmsg_type == RTM_DELQDISC) { in accept_tcmsg() 59 if (n->nlmsg_type == RTM_GETACTION || n->nlmsg_type == RTM_NEWACTION || in accept_tcmsg() 60 n->nlmsg_type == RTM_DELACTION) { in accept_tcmsg() 64 if (n->nlmsg_type != NLMSG_ERROR && n->nlmsg_type != NLMSG_NOOP && in accept_tcmsg() 65 n->nlmsg_type != NLMSG_DONE) { in accept_tcmsg() 67 n->nlmsg_len, n->nlmsg_type, n->nlmsg_flags); in accept_tcmsg()
|
/external/iproute2/ip/ |
D | ipmonitor.c | 63 if (n->nlmsg_type == RTM_NEWROUTE || n->nlmsg_type == RTM_DELROUTE) { in accept_msg() 87 if (n->nlmsg_type == RTM_NEWLINK || n->nlmsg_type == RTM_DELLINK) { in accept_msg() 93 if (n->nlmsg_type == RTM_NEWADDR || n->nlmsg_type == RTM_DELADDR) { in accept_msg() 98 if (n->nlmsg_type == RTM_NEWADDRLABEL || n->nlmsg_type == RTM_DELADDRLABEL) { in accept_msg() 103 if (n->nlmsg_type == RTM_NEWNEIGH || n->nlmsg_type == RTM_DELNEIGH || in accept_msg() 104 n->nlmsg_type == RTM_GETNEIGH) { in accept_msg() 116 if (n->nlmsg_type == RTM_NEWPREFIX) { in accept_msg() 121 if (n->nlmsg_type == RTM_NEWRULE || n->nlmsg_type == RTM_DELRULE) { in accept_msg() 126 if (n->nlmsg_type == RTM_NEWNETCONF) { in accept_msg() 131 if (n->nlmsg_type == NLMSG_TSTAMP) { in accept_msg() [all …]
|
D | xfrm_policy.c | 272 req.n.nlmsg_type = cmd; in xfrm_policy_modify() 471 if (n->nlmsg_type != XFRM_MSG_NEWPOLICY && in xfrm_policy_print() 472 n->nlmsg_type != XFRM_MSG_DELPOLICY && in xfrm_policy_print() 473 n->nlmsg_type != XFRM_MSG_UPDPOLICY && in xfrm_policy_print() 474 n->nlmsg_type != XFRM_MSG_POLEXPIRE) { in xfrm_policy_print() 476 n->nlmsg_len, n->nlmsg_type, n->nlmsg_flags); in xfrm_policy_print() 480 if (n->nlmsg_type == XFRM_MSG_DELPOLICY) { in xfrm_policy_print() 483 } else if (n->nlmsg_type == XFRM_MSG_POLEXPIRE) { in xfrm_policy_print() 498 if (n->nlmsg_type == XFRM_MSG_DELPOLICY) in xfrm_policy_print() 500 else if (n->nlmsg_type == XFRM_MSG_POLEXPIRE) in xfrm_policy_print() [all …]
|
D | xfrm_state.c | 302 req.n.nlmsg_type = cmd; in xfrm_state_modify() 719 req.n.nlmsg_type = XFRM_MSG_ALLOCSPI; in xfrm_state_allocspi() 879 if (n->nlmsg_type != XFRM_MSG_NEWSA && in xfrm_state_print() 880 n->nlmsg_type != XFRM_MSG_DELSA && in xfrm_state_print() 881 n->nlmsg_type != XFRM_MSG_UPDSA && in xfrm_state_print() 882 n->nlmsg_type != XFRM_MSG_EXPIRE) { in xfrm_state_print() 884 n->nlmsg_len, n->nlmsg_type, n->nlmsg_flags); in xfrm_state_print() 888 if (n->nlmsg_type == XFRM_MSG_DELSA) { in xfrm_state_print() 892 } else if (n->nlmsg_type == XFRM_MSG_EXPIRE) { in xfrm_state_print() 910 if (n->nlmsg_type == XFRM_MSG_DELSA) in xfrm_state_print() [all …]
|
D | ipneigh.c | 114 req.n.nlmsg_type = cmd; in ipneigh_modify() 202 if (n->nlmsg_type != RTM_NEWNEIGH && n->nlmsg_type != RTM_DELNEIGH && in print_neigh() 203 n->nlmsg_type != RTM_GETNEIGH) { in print_neigh() 205 n->nlmsg_len, n->nlmsg_type, n->nlmsg_flags); in print_neigh() 215 if (filter.flushb && n->nlmsg_type != RTM_NEWNEIGH) in print_neigh() 262 fn->nlmsg_type = RTM_DELNEIGH; in print_neigh() 271 if (n->nlmsg_type == RTM_DELNEIGH) in print_neigh() 273 else if (n->nlmsg_type == RTM_GETNEIGH) in print_neigh() 353 req.n.nlmsg_type = RTM_GETNEIGH; in do_show_or_flush()
|
D | ipaddrlabel.c | 64 if (n->nlmsg_type != RTM_NEWADDRLABEL && n->nlmsg_type != RTM_DELADDRLABEL) in print_addrlabel() 73 if (n->nlmsg_type == RTM_DELADDRLABEL) in print_addrlabel() 141 req.n.nlmsg_type = cmd; in ipaddrlabel_modify() 206 n->nlmsg_type = RTM_DELADDRLABEL; in flush_addrlabel()
|
D | ipnetconf.c | 51 if (n->nlmsg_type == NLMSG_ERROR) in print_netconf() 53 if (n->nlmsg_type != RTM_NEWNETCONF) { in print_netconf() 55 n->nlmsg_len, n->nlmsg_type, n->nlmsg_flags); in print_netconf() 170 req.n.nlmsg_type = RTM_GETNETCONF; in do_show()
|
D | ipnetns.c | 50 if (n->nlmsg_type == NLMSG_ERROR && in ipnetns_accept_msg() 71 req.n.nlmsg_type = RTM_GETNSID; in ipnetns_have_nsid() 107 req.n.nlmsg_type = RTM_GETNSID; in get_netnsid_from_name() 122 if (answer.n.nlmsg_type == NLMSG_ERROR) in get_netnsid_from_name() 269 if (n->nlmsg_type != RTM_NEWNSID && n->nlmsg_type != RTM_DELNSID) in print_nsid() 285 if (n->nlmsg_type == RTM_DELNSID) in print_nsid() 298 if (c == NULL && n->nlmsg_type == RTM_NEWNSID) in print_nsid() 691 req.n.nlmsg_type = RTM_NEWNSID; in set_netnsid_from_name()
|
/external/libnfnetlink/src/ |
D | rtnl.c | 37 if (h->nlmsg_type == type) in find_handler() 64 hdlr->nlmsg_type); in rtnl_handler_register() 79 hdlr->nlmsg_type); in rtnl_handler_unregister() 124 req.nlh.nlmsg_type = type; in rtnl_dump_type() 175 if (h->nlmsg_type == NLMSG_DONE) { in rtnl_receive() 179 if (h->nlmsg_type == NLMSG_ERROR) { in rtnl_receive() 188 if (call_handler(rtnl_handle, h->nlmsg_type, h) == 0) in rtnl_receive() 190 h->nlmsg_type); in rtnl_receive()
|
D | libnfnetlink.c | 112 "nlmsg_flags = 0x%x\n", nlh->nlmsg_type, nlh->nlmsg_len, in nfnl_dump_packet() 449 nlh->nlmsg_type = (ssh->subsys_id<<8)|msg_type; in nfnl_fill_hdr() 624 if (h->nlmsg_type == NLMSG_DONE) in nfnl_listen() 629 if (h->nlmsg_type == NLMSG_ERROR) { in nfnl_listen() 751 if (h->nlmsg_type == NLMSG_ERROR) { in nfnl_talk() 1086 if (h->last_nlhdr->nlmsg_type == NLMSG_DONE || in nfnl_get_msg_next() 1163 u_int8_t type = NFNL_MSG_TYPE(nlh->nlmsg_type); in nfnl_check_attributes() 1164 u_int8_t subsys_id = NFNL_SUBSYS_ID(nlh->nlmsg_type); in nfnl_check_attributes() 1214 u_int8_t type = NFNL_MSG_TYPE(nlh->nlmsg_type); in __nfnl_handle_msg() 1215 u_int8_t subsys_id = NFNL_SUBSYS_ID(nlh->nlmsg_type); in __nfnl_handle_msg() [all …]
|
/external/iproute2/bridge/ |
D | mdb.c | 61 if (n->nlmsg_type == RTM_DELMDB) in print_mdb_entry() 93 if (n->nlmsg_type != RTM_GETMDB && n->nlmsg_type != RTM_NEWMDB && n->nlmsg_type != RTM_DELMDB) { in print_mdb() 95 n->nlmsg_len, n->nlmsg_type, n->nlmsg_flags); in print_mdb() 119 if (n->nlmsg_type == RTM_GETMDB) { in print_mdb() 130 if (n->nlmsg_type == RTM_DELMDB) in print_mdb() 195 req.n.nlmsg_type = cmd; in mdb_modify()
|
/external/strace/tests-mx32/ |
D | netlink_unix_diag.c | 59 .nlmsg_type = SOCK_DIAG_BY_FAMILY, in send_query() 112 if (h->nlmsg_type == NLMSG_ERROR) { in check_responses() 119 if (h->nlmsg_type != SOCK_DIAG_BY_FAMILY) in check_responses() 121 (unsigned) h->nlmsg_type); in check_responses()
|
D | netlink_inet_diag.c | 51 .nlmsg_type = SOCK_DIAG_BY_FAMILY, in send_query() 104 if (h->nlmsg_type == NLMSG_ERROR) { in check_responses() 111 if (h->nlmsg_type != SOCK_DIAG_BY_FAMILY) in check_responses() 113 (unsigned) h->nlmsg_type); in check_responses()
|
D | netlink_netlink_diag.c | 56 .nlmsg_type = SOCK_DIAG_BY_FAMILY, in send_query() 109 if (h->nlmsg_type == NLMSG_ERROR) { in check_responses() 116 if (h->nlmsg_type != SOCK_DIAG_BY_FAMILY) in check_responses() 118 (unsigned) h->nlmsg_type); in check_responses()
|
/external/strace/tests/ |
D | netlink_inet_diag.c | 51 .nlmsg_type = SOCK_DIAG_BY_FAMILY, in send_query() 104 if (h->nlmsg_type == NLMSG_ERROR) { in check_responses() 111 if (h->nlmsg_type != SOCK_DIAG_BY_FAMILY) in check_responses() 113 (unsigned) h->nlmsg_type); in check_responses()
|
D | netlink_netlink_diag.c | 56 .nlmsg_type = SOCK_DIAG_BY_FAMILY, in send_query() 109 if (h->nlmsg_type == NLMSG_ERROR) { in check_responses() 116 if (h->nlmsg_type != SOCK_DIAG_BY_FAMILY) in check_responses() 118 (unsigned) h->nlmsg_type); in check_responses()
|
D | netlink_unix_diag.c | 59 .nlmsg_type = SOCK_DIAG_BY_FAMILY, in send_query() 112 if (h->nlmsg_type == NLMSG_ERROR) { in check_responses() 119 if (h->nlmsg_type != SOCK_DIAG_BY_FAMILY) in check_responses() 121 (unsigned) h->nlmsg_type); in check_responses()
|
/external/strace/tests-m32/ |
D | netlink_inet_diag.c | 51 .nlmsg_type = SOCK_DIAG_BY_FAMILY, in send_query() 104 if (h->nlmsg_type == NLMSG_ERROR) { in check_responses() 111 if (h->nlmsg_type != SOCK_DIAG_BY_FAMILY) in check_responses() 113 (unsigned) h->nlmsg_type); in check_responses()
|
D | netlink_netlink_diag.c | 56 .nlmsg_type = SOCK_DIAG_BY_FAMILY, in send_query() 109 if (h->nlmsg_type == NLMSG_ERROR) { in check_responses() 116 if (h->nlmsg_type != SOCK_DIAG_BY_FAMILY) in check_responses() 118 (unsigned) h->nlmsg_type); in check_responses()
|
D | netlink_unix_diag.c | 59 .nlmsg_type = SOCK_DIAG_BY_FAMILY, in send_query() 112 if (h->nlmsg_type == NLMSG_ERROR) { in check_responses() 119 if (h->nlmsg_type != SOCK_DIAG_BY_FAMILY) in check_responses() 121 (unsigned) h->nlmsg_type); in check_responses()
|
/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/libnl/lib/ |
D | msg.c | 330 new->nlmsg_type = hdr->nlmsg_type; in nlmsg_inherit() 350 .nlmsg_type = nlmsgtype, in nlmsg_alloc_simple() 515 nlh->nlmsg_type = type; in nlmsg_put() 737 nlmsg_hdr(msg)->nlmsg_type); in nl_msg_parse() 805 ops = nl_cache_ops_associate_safe(nlmsg_get_proto(msg), nlh->nlmsg_type); in print_hdr() 807 mt = nl_msgtype_lookup(ops, nlh->nlmsg_type); in print_hdr() 814 nl_nlmsgtype2str(nlh->nlmsg_type, buf, sizeof(buf)); in print_hdr() 816 fprintf(ofd, " .type = %d <%s>\n", nlh->nlmsg_type, buf); in print_hdr() 941 hdr->nlmsg_type); in print_msg() 983 if (hdr->nlmsg_type == NLMSG_ERROR) in nl_msg_dump()
|
/external/dhcpcd-6.8.2/ |
D | if-linux.c | 306 if (nlm->nlmsg_type != NLMSG_ERROR) in err_netlink() 535 switch (nlm->nlmsg_type) { in link_route() 591 if (nlm->nlmsg_type != RTM_DELADDR && nlm->nlmsg_type != RTM_NEWADDR) in link_addr() 628 ipv4_handleifa(ctx, nlm->nlmsg_type, NULL, ifp->name, in link_addr() 644 ipv6_handleifa(ctx, nlm->nlmsg_type, NULL, ifp->name, in link_addr() 699 if (nlm->nlmsg_type != RTM_NEWNEIGH && nlm->nlmsg_type != RTM_DELNEIGH) in link_neigh() 711 if (nlm->nlmsg_type == RTM_NEWNEIGH && in link_neigh() 755 if (nlm->nlmsg_type != RTM_NEWLINK && nlm->nlmsg_type != RTM_DELLINK) in link_netlink() 774 if (nlm->nlmsg_type == RTM_NEWLINK && in link_netlink() 788 if (nlm->nlmsg_type == RTM_DELLINK) { in link_netlink() [all …]
|
/external/iputils/ninfod/ |
D | ni_ifaddrs.c | 127 req_hdr->nlmsg_type = request; in nl_sendreq() 191 if (nh->nlmsg_type == NLMSG_DONE) { in nl_getmsg() 195 if (nh->nlmsg_type == NLMSG_ERROR) { in nl_getmsg() 402 if (nlh->nlmsg_type == NLMSG_DONE) { in ni_ifaddrs() 405 switch (nlh->nlmsg_type) { in ni_ifaddrs() 440 switch (nlh->nlmsg_type) { in ni_ifaddrs() 486 if (nlh->nlmsg_type == RTM_NEWADDR && nlm_family != AF_PACKET) { in ni_ifaddrs()
|
/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() 191 if (n->nlmsg_type != GENL_ID_CTRL) { in print_ctrl() 193 "nlmsg_type=0x%x\n", n->nlmsg_len, n->nlmsg_type); in print_ctrl() 308 nlh->nlmsg_type = GENL_ID_CTRL; in ctrl_list()
|