Searched refs:nlmsg_type (Results 1 - 25 of 76) sorted by relevance

1234

/external/iproute2/tc/
H A Dtc_monitor.c42 if (n->nlmsg_type == RTM_NEWTFILTER || n->nlmsg_type == RTM_DELTFILTER) {
46 if (n->nlmsg_type == RTM_NEWTCLASS || n->nlmsg_type == RTM_DELTCLASS) {
50 if (n->nlmsg_type == RTM_NEWQDISC || n->nlmsg_type == RTM_DELQDISC) {
54 if (n->nlmsg_type == RTM_GETACTION || n->nlmsg_type == RTM_NEWACTION ||
55 n->nlmsg_type == RTM_DELACTION) {
59 if (n->nlmsg_type !
[all...]
H A Dtc_class.c62 req.n.nlmsg_type = cmd;
161 if (n->nlmsg_type != RTM_NEWTCLASS && n->nlmsg_type != RTM_DELTCLASS) {
184 if (n->nlmsg_type == RTM_DELTCLASS)
H A Dtc_filter.c72 req.n.nlmsg_type = cmd;
195 if (n->nlmsg_type != RTM_NEWTFILTER && n->nlmsg_type != RTM_DELTFILTER) {
213 if (n->nlmsg_type == RTM_DELTFILTER)
H A Dtc_qdisc.c71 req.n.nlmsg_type = cmd;
208 if (n->nlmsg_type != RTM_NEWQDISC && n->nlmsg_type != RTM_DELQDISC) {
229 if (n->nlmsg_type == RTM_DELQDISC)
/external/iproute2/ip/
H A Dipmonitor.c45 if (n->nlmsg_type == RTM_NEWROUTE || n->nlmsg_type == RTM_DELROUTE) {
51 if (n->nlmsg_type == RTM_NEWLINK || n->nlmsg_type == RTM_DELLINK) {
58 if (n->nlmsg_type == RTM_NEWADDR || n->nlmsg_type == RTM_DELADDR) {
64 if (n->nlmsg_type == RTM_NEWADDRLABEL || n->nlmsg_type == RTM_DELADDRLABEL) {
70 if (n->nlmsg_type == RTM_NEWNEIGH || n->nlmsg_type
[all...]
H A Dipprefix.c44 if (n->nlmsg_type != RTM_NEWPREFIX) {
46 n->nlmsg_len, n->nlmsg_type, n->nlmsg_flags);
H A Dxfrm_policy.c276 req.n.nlmsg_type = cmd;
475 if (n->nlmsg_type != XFRM_MSG_NEWPOLICY &&
476 n->nlmsg_type != XFRM_MSG_DELPOLICY &&
477 n->nlmsg_type != XFRM_MSG_UPDPOLICY &&
478 n->nlmsg_type != XFRM_MSG_POLEXPIRE) {
480 n->nlmsg_len, n->nlmsg_type, n->nlmsg_flags);
484 if (n->nlmsg_type == XFRM_MSG_DELPOLICY) {
487 } else if (n->nlmsg_type == XFRM_MSG_POLEXPIRE) {
502 if (n->nlmsg_type == XFRM_MSG_DELPOLICY)
504 else if (n->nlmsg_type
[all...]
H A Dipaddrlabel.c65 if (n->nlmsg_type != RTM_NEWADDRLABEL && n->nlmsg_type != RTM_DELADDRLABEL)
74 if (n->nlmsg_type == RTM_DELADDRLABEL)
142 req.n.nlmsg_type = cmd;
207 n->nlmsg_type = RTM_DELADDRLABEL;
H A Dxfrm_state.c264 req.n.nlmsg_type = cmd;
580 req.n.nlmsg_type = XFRM_MSG_ALLOCSPI;
740 if (n->nlmsg_type != XFRM_MSG_NEWSA &&
741 n->nlmsg_type != XFRM_MSG_DELSA &&
742 n->nlmsg_type != XFRM_MSG_UPDSA &&
743 n->nlmsg_type != XFRM_MSG_EXPIRE) {
745 n->nlmsg_len, n->nlmsg_type, n->nlmsg_flags);
749 if (n->nlmsg_type == XFRM_MSG_DELSA) {
753 } else if (n->nlmsg_type == XFRM_MSG_EXPIRE) {
771 if (n->nlmsg_type
[all...]
H A Dipneigh.c112 req.n.nlmsg_type = cmd;
192 if (n->nlmsg_type != RTM_NEWNEIGH && n->nlmsg_type != RTM_DELNEIGH) {
194 n->nlmsg_len, n->nlmsg_type, n->nlmsg_flags);
204 if (filter.flushb && n->nlmsg_type != RTM_NEWNEIGH)
243 fn->nlmsg_type = RTM_DELNEIGH;
/external/libnl/include/netlink/
H A Dnetlink-kernel.h37 uint16_t nlmsg_type; member in struct:nlmsghdr
/external/dnsmasq/src/
H A Dnetlink.c145 req.nlh.nlmsg_type = RTM_GETADDR;
173 else if (h->nlmsg_type == NLMSG_ERROR)
175 else if (h->nlmsg_type == NLMSG_DONE)
186 else if (h->nlmsg_type == RTM_NEWADDR)
250 if (h->nlmsg_type == NLMSG_ERROR)
275 if (h->nlmsg_pid == 0 && h->nlmsg_type == RTM_NEWROUTE)
/external/dhcpcd/
H A Dif-linux.c214 if (nlm->nlmsg_type != NLMSG_ERROR)
237 if (nlm->nlmsg_type != RTM_DELROUTE)
299 if (nlm->nlmsg_type != RTM_DELADDR && nlm->nlmsg_type != RTM_NEWADDR)
335 handle_ifa(nlm->nlmsg_type, ifn, &addr, &net, &dest);
354 if (nlm->nlmsg_type != RTM_NEWLINK && nlm->nlmsg_type != RTM_DELLINK)
371 if (nlm->nlmsg_type == RTM_NEWLINK &&
382 if (nlm->nlmsg_type == RTM_DELLINK) {
505 nlm->hdr.nlmsg_type
[all...]
/external/iproute2/genl/
H A Dctrl.c58 nlh->nlmsg_type = GENL_ID_CTRL;
81 if (nlh->nlmsg_type != GENL_ID_CTRL) {
83 "nlmsg_type=0x%x\n", nlh->nlmsg_len, nlh->nlmsg_type);
190 if (n->nlmsg_type != GENL_ID_CTRL) {
192 "nlmsg_type=0x%x\n", n->nlmsg_len, n->nlmsg_type);
301 nlh->nlmsg_type = GENL_ID_CTRL;
/external/libnl/lib/netfilter/
H A Dnfnl.c133 return NFNL_SUBSYS_ID(nlh->nlmsg_type);
142 return NFNL_MSG_TYPE(nlh->nlmsg_type);
/external/libnl/lib/
H A Dnl.c562 if (hdr->nlmsg_type == NLMSG_DONE ||
563 hdr->nlmsg_type == NLMSG_ERROR ||
564 hdr->nlmsg_type == NLMSG_NOOP ||
565 hdr->nlmsg_type == NLMSG_OVERRUN) {
590 if (hdr->nlmsg_type == NLMSG_DONE) {
600 else if (hdr->nlmsg_type == NLMSG_NOOP) {
610 else if (hdr->nlmsg_type == NLMSG_OVERRUN) {
620 else if (hdr->nlmsg_type == NLMSG_ERROR) {
H A Dmsg.c114 * .nlmsg_type = MY_TYPE,
435 new->nlmsg_type = hdr->nlmsg_type;
455 .nlmsg_type = nlmsgtype,
620 nlh->nlmsg_type = type;
841 nlmsg_hdr(msg)->nlmsg_type);
907 ops = nl_cache_ops_associate(nlmsg_get_proto(msg), nlh->nlmsg_type);
909 mt = nl_msgtype_lookup(ops, nlh->nlmsg_type);
915 nl_nlmsgtype2str(nlh->nlmsg_type, buf, sizeof(buf));
917 fprintf(ofd, " .nlmsg_type
[all...]
/external/iputils/ninfod/
H A Dni_ifaddrs.c127 req_hdr->nlmsg_type = request;
191 if (nh->nlmsg_type == NLMSG_DONE) {
195 if (nh->nlmsg_type == NLMSG_ERROR) {
402 if (nlh->nlmsg_type == NLMSG_DONE) {
405 switch (nlh->nlmsg_type) {
440 switch (nlh->nlmsg_type) {
486 if (nlh->nlmsg_type == RTM_NEWADDR && nlm_family != AF_PACKET) {
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Dnetlink.c59 switch (h->nlmsg_type) {
184 req.hdr.nlmsg_type = RTM_SETLINK;
H A Dpriv_netlink.h86 u16 nlmsg_type; member in struct:nlmsghdr
/external/wpa_supplicant_8/src/drivers/
H A Dnetlink.c59 switch (h->nlmsg_type) {
184 req.hdr.nlmsg_type = RTM_SETLINK;
H A Dpriv_netlink.h86 u16 nlmsg_type; member in struct:nlmsghdr
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Dnetlink.c59 switch (h->nlmsg_type) {
184 req.hdr.nlmsg_type = RTM_SETLINK;
H A Dpriv_netlink.h86 u16 nlmsg_type; member in struct:nlmsghdr
/external/libnl/include/linux/
H A Dnetlink.h41 __u16 nlmsg_type; /* Message content */ member in struct:nlmsghdr

Completed in 209 milliseconds

1234