/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()
|
D | tst_rtnetlink.c | 137 struct nlmsghdr eom = { .nlmsg_type = NLMSG_DONE }; in tst_rtnl_send() 235 if (ptr->nlmsg_type == NLMSG_ERROR) in tst_rtnl_recv()
|
/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/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
|
D | if_nameindex.c | 33 if (h->nlmsg_type == RTM_NEWLINK) { in netlink_msg_to_nameindex()
|
/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/toybox/toys/pending/ |
D | ip.c | 172 req.nlh.nlmsg_type = type; in send_nlmesg() 633 request.mhdr.nlmsg_type = RTM_NEWLINK; in linkupdate() 635 request.mhdr.nlmsg_type = RTM_DELLINK; in linkupdate() 974 request.mhdr.nlmsg_type = RTM_GETLINK; in link_show() 1031 h->nlmsg_type = RTM_DELADDR; in print_addrinfo() 1038 if (h->nlmsg_type == RTM_DELADDR) printf("Deleted "); in print_addrinfo() 1128 req.nlm.nlmsg_type = cmd; in ipaddrupdate() 1262 if (addr_ptr->nlmsg_type == NLMSG_DONE) in ipaddrupdate() 1264 if (addr_ptr->nlmsg_type == NLMSG_ERROR) in ipaddrupdate() 1451 if (addr_ptr->nlmsg_type == RTM_NEWADDR) in ipaddr_print() [all …]
|
/third_party/libbpf/src/ |
D | netlink.c | 178 switch (nh->nlmsg_type) { in libbpf_netlink_recv() 251 req.nh.nlmsg_type = RTM_SETLINK; in __bpf_set_link_xdp_fd_replace() 364 .nh.nlmsg_type = RTM_GETLINK, in bpf_xdp_query() 488 req.nh.nlmsg_type = cmd; in tc_qdisc_modify() 648 req.nh.nlmsg_type = RTM_NEWTFILTER; in bpf_tc_attach() 723 req.nh.nlmsg_type = RTM_DELTFILTER; in __bpf_tc_detach() 790 req.nh.nlmsg_type = RTM_GETTFILTER; in bpf_tc_query()
|
/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/selinux/libselinux/src/ |
D | avc_internal.c | 206 switch (nlh->nlmsg_type) { in avc_netlink_process() 239 avc_prefix, nlh->nlmsg_type); in avc_netlink_process()
|
/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/ltp/testcases/cve/ |
D | cve-2017-16939.c | 59 p->msg.nlmsg_type = XFRM_MSG_GETPOLICY; in setup()
|
/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()
|
/third_party/musl/porting/liteos_a/user/src/network/ |
D | getifaddrs.c | 123 if (h->nlmsg_type == RTM_NEWLINK) { in netlink_msg_to_ifaddr() 139 if (h->nlmsg_type == RTM_NEWLINK) { in netlink_msg_to_ifaddr()
|
D | if_nameindex.c | 34 if (h->nlmsg_type == RTM_NEWLINK) { in netlink_msg_to_nameindex()
|
/third_party/libbpf/include/uapi/linux/ |
D | netlink.h | 46 __u16 nlmsg_type; /* Message content */ member
|
/third_party/ltp/testcases/lib/ |
D | tst_net_iface_prefix.c | 63 msg.nlhdr.nlmsg_type = RTM_GETADDR; in read_iface_prefix()
|
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/ |
D | user_recv_thread.c | 225 if (nh->nlmsg_type == NLMSG_DONE) 228 if (nh->nlmsg_type == RTM_NEWADDR || nh->nlmsg_type == RTM_DELADDR) { 240 sctp_handle_ifamsg(nh->nlmsg_type, rtmsg->ifa_index, (struct sockaddr *)sa); 249 sctp_handle_ifamsg(nh->nlmsg_type, rtmsg->ifa_index, (struct sockaddr *)sa6);
|