/third_party/ltp/lib/ |
D | tst_crypto.c | 50 nh->nlmsg_type, nh->nlmsg_seq, ses->seq_num); in tst_crypto_recv_ack() 56 if (nh->nlmsg_type == NLMSG_ERROR) in tst_crypto_recv_ack() 60 nh->nlmsg_type, nh->nlmsg_seq); in tst_crypto_recv_ack() 73 .nlmsg_type = CRYPTO_MSG_NEWALG, in tst_crypto_add_alg() 91 .nlmsg_type = CRYPTO_MSG_DELALG, in tst_crypto_del_alg()
|
/third_party/ltp/testcases/kernel/crypto/ |
D | crypto_user01.c | 143 nh->nlmsg_type, nh->nlmsg_seq, ses.seq_num); in validate_alg_list() 145 if (nh->nlmsg_type == NLMSG_DONE) in validate_alg_list() 147 if (nh->nlmsg_type != CRYPTO_MSG_GETALG) { in validate_alg_list() 150 nh->nlmsg_type, nh->nlmsg_seq); in validate_alg_list() 161 .nlmsg_type = CRYPTO_MSG_GETALG, in run()
|
/third_party/libwebsockets/lib/roles/netlink/ |
D | ops-netlink.c | 119 lwsl_cx_netlink(cx, "RTM %d", h->nlmsg_type); in rops_handle_POLLIN_netlink() 133 switch (h->nlmsg_type) { in rops_handle_POLLIN_netlink() 193 h->nlmsg_type == RTM_NEWADDR ? in rops_handle_POLLIN_netlink() 206 h->nlmsg_type == RTM_NEWROUTE ? in rops_handle_POLLIN_netlink() 216 lwsl_cx_netlink(cx, "%s", h->nlmsg_type == in rops_handle_POLLIN_netlink() 243 h->nlmsg_type); in rops_handle_POLLIN_netlink() 306 switch (h->nlmsg_type) { in rops_handle_POLLIN_netlink() 411 (h->nlmsg_type == RTM_DELROUTE) ? in rops_handle_POLLIN_netlink() 561 req.hdr.nlmsg_type = RTM_GETROUTE; in rops_pt_init_destroy_netlink()
|
/third_party/libnl/lib/ |
D | msg.c | 332 new->nlmsg_type = hdr->nlmsg_type; in nlmsg_inherit() 352 .nlmsg_type = nlmsgtype, in nlmsg_alloc_simple() 519 nlh->nlmsg_type = type; in nlmsg_put() 741 nlmsg_hdr(msg)->nlmsg_type); in nl_msg_parse() 809 ops = nl_cache_ops_associate_safe(nlmsg_get_proto(msg), nlh->nlmsg_type); in print_hdr() 811 mt = nl_msgtype_lookup(ops, nlh->nlmsg_type); in print_hdr() 818 nl_nlmsgtype2str(nlh->nlmsg_type, buf, sizeof(buf)); in print_hdr() 820 fprintf(ofd, " .type = %d <%s>\n", nlh->nlmsg_type, buf); in print_hdr() 944 hdr->nlmsg_type); in print_msg() 986 if (hdr->nlmsg_type == NLMSG_ERROR) in nl_msg_dump()
|
D | nl.c | 895 if (hdr->nlmsg_type == NLMSG_DONE || in recvmsgs() 896 hdr->nlmsg_type == NLMSG_ERROR || in recvmsgs() 897 hdr->nlmsg_type == NLMSG_NOOP || in recvmsgs() 898 hdr->nlmsg_type == NLMSG_OVERRUN) { in recvmsgs() 936 if (hdr->nlmsg_type == NLMSG_DONE) { in recvmsgs() 946 else if (hdr->nlmsg_type == NLMSG_NOOP) { in recvmsgs() 956 else if (hdr->nlmsg_type == NLMSG_OVERRUN) { in recvmsgs() 966 else if (hdr->nlmsg_type == NLMSG_ERROR) { in recvmsgs()
|
/third_party/musl/src/network/ |
D | netlink.c | 23 u.req.nlh.nlmsg_type = type; in __netlink_enumerate() 34 if (h->nlmsg_type == NLMSG_DONE) return 0; in __netlink_enumerate() 35 if (h->nlmsg_type == NLMSG_ERROR) return -1; in __netlink_enumerate()
|
D | getifaddrs.c | 114 if (h->nlmsg_type == RTM_NEWLINK) { in netlink_msg_to_ifaddr() 130 if (h->nlmsg_type == RTM_NEWLINK) { in netlink_msg_to_ifaddr()
|
D | netlink.h | 9 uint16_t nlmsg_type; member
|
/third_party/ltp/testcases/kernel/containers/netns/ |
D | netns_netlink.c | 73 if (nlh->nlmsg_type == RTM_NEWLINK || in child_func() 74 nlh->nlmsg_type == RTM_DELLINK) { in child_func()
|
/third_party/ltp/testcases/kernel/controllers/cgroup/ |
D | cgroup_regression_getdelays.c | 123 int send_cmd(int sd, __u16 nlmsg_type, __u32 nlmsg_pid, in send_cmd() argument 134 msg.n.nlmsg_type = nlmsg_type; in send_cmd() 183 if (ans.n.nlmsg_type == NLMSG_ERROR || in get_family_id() 422 if (msg.n.nlmsg_type == NLMSG_ERROR || in main()
|
/third_party/libnl/lib/netfilter/ |
D | nfnl.c | 137 return NFNL_SUBSYS_ID(nlh->nlmsg_type); in nfnlmsg_subsys() 146 return NFNL_MSG_TYPE(nlh->nlmsg_type); in nfnlmsg_subtype()
|
/third_party/toybox/toys/pending/ |
D | ip.c | 171 req.nlh.nlmsg_type = type; in send_nlmesg() 631 request.mhdr.nlmsg_type = RTM_NEWLINK; in linkupdate() 633 request.mhdr.nlmsg_type = RTM_DELLINK; in linkupdate() 972 request.mhdr.nlmsg_type = RTM_GETLINK; in link_show() 1029 h->nlmsg_type = RTM_DELADDR; in print_addrinfo() 1036 if (h->nlmsg_type == RTM_DELADDR) printf("Deleted "); in print_addrinfo() 1126 req.nlm.nlmsg_type = cmd; in ipaddrupdate() 1260 if (addr_ptr->nlmsg_type == NLMSG_DONE) in ipaddrupdate() 1262 if (addr_ptr->nlmsg_type == NLMSG_ERROR) in ipaddrupdate() 1449 if ((addr_ptr->nlmsg_type == RTM_NEWADDR)) in ipaddr_print() [all …]
|
/third_party/glib/gio/ |
D | gnetworkmonitornetlink.c | 174 n->nlmsg_type = RTM_GETROUTE; in request_dump() 358 switch (msg->nlmsg_type) in read_netlink_messages() 398 if (msg->nlmsg_type == RTM_NEWROUTE) in read_netlink_messages() 428 msg->nlmsg_type); in read_netlink_messages()
|
/third_party/iptables/libipq/ |
D | libipq.c | 279 req.nlh.nlmsg_type = IPQM_MODE; in ipq_set_mode() 298 return ((struct nlmsghdr*)buf)->nlmsg_type; in ipq_message_type() 328 nlh.nlmsg_type = IPQM_VERDICT; in ipq_set_verdict()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
D | netlink.c | 59 switch (h->nlmsg_type) { in netlink_receive() 184 req.hdr.nlmsg_type = RTM_SETLINK; in netlink_send_oper_ifla()
|
D | priv_netlink.h | 87 u16 nlmsg_type; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
D | netlink.c | 59 switch (h->nlmsg_type) { in netlink_receive() 184 req.hdr.nlmsg_type = RTM_SETLINK; in netlink_send_oper_ifla()
|
D | priv_netlink.h | 87 u16 nlmsg_type; member
|
/third_party/selinux/libselinux/src/ |
D | avc_internal.c | 207 switch (nlh->nlmsg_type) { in avc_netlink_process() 240 avc_prefix, nlh->nlmsg_type); in avc_netlink_process()
|
/third_party/iptables/iptables/ |
D | xtables-monitor.c | 50 uint32_t type = nlh->nlmsg_type & 0xFF; in table_cb() 80 uint32_t type = nlh->nlmsg_type & 0xFF; in rule_cb() 125 uint32_t type = nlh->nlmsg_type & 0xFF; in chain_cb() 552 uint32_t type = nlh->nlmsg_type & 0xFF; in monitor_cb()
|
/third_party/libnl/include/netlink/ |
D | netlink-kernel.h | 46 uint16_t nlmsg_type;
|
/third_party/ltp/testcases/cve/ |
D | cve-2017-16939.c | 59 p->msg.nlmsg_type = XFRM_MSG_GETPOLICY; in setup()
|
/third_party/libnl/src/ |
D | nf-ct-events.c | 46 enum cntl_msg_types type = (enum cntl_msg_types) NFNL_MSG_TYPE(hdr->nlmsg_type); in nf_conntrack_event_callback()
|
/third_party/ltp/testcases/kernel/connectors/pec/ |
D | pec_listener.c | 92 nlhdr->nlmsg_type = NLMSG_DONE; in netlink_send() 339 switch (nlhdr->nlmsg_type) { in main()
|
/third_party/ltp/testcases/kernel/containers/share/ |
D | ns_ifmove.c | 106 req.nh.nlmsg_type = RTM_NEWLINK; in main()
|