/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 | 62 if (n->nlmsg_type == RTM_NEWROUTE || n->nlmsg_type == RTM_DELROUTE) { in accept_msg() 86 if (n->nlmsg_type == RTM_NEWLINK || n->nlmsg_type == RTM_DELLINK) { in accept_msg() 92 if (n->nlmsg_type == RTM_NEWADDR || n->nlmsg_type == RTM_DELADDR) { in accept_msg() 97 if (n->nlmsg_type == RTM_NEWADDRLABEL || n->nlmsg_type == RTM_DELADDRLABEL) { in accept_msg() 102 if (n->nlmsg_type == RTM_NEWNEIGH || n->nlmsg_type == RTM_DELNEIGH || in accept_msg() 103 n->nlmsg_type == RTM_GETNEIGH) { in accept_msg() 115 if (n->nlmsg_type == RTM_NEWPREFIX) { in accept_msg() 120 if (n->nlmsg_type == RTM_NEWRULE || n->nlmsg_type == RTM_DELRULE) { in accept_msg() 125 if (n->nlmsg_type == RTM_NEWNETCONF) { in accept_msg() 130 if (n->nlmsg_type == NLMSG_TSTAMP) { in accept_msg() [all …]
|
/external/strace/ |
D | netlink_netfilter.c | 51 if (nlmsghdr->nlmsg_type == NLMSG_DONE) in decode_netlink_netfilter() 59 const uint8_t subsys_id = (uint8_t) (nlmsghdr->nlmsg_type >> 8); in decode_netlink_netfilter() 87 if ((nlmsghdr->nlmsg_type >= NFNL_MSG_BATCH_BEGIN in decode_netlink_netfilter() 88 && nlmsghdr->nlmsg_type <= NFNL_MSG_BATCH_END) in decode_netlink_netfilter() 89 || nlmsghdr->nlmsg_type < NLMSG_MIN_TYPE) in decode_netlink_netfilter()
|
/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()
|
/external/strace/tests-mx32/ |
D | netlink_xfrm.c | 43 .nlmsg_type = XFRM_MSG_NEWSA, in test_nlmsg_type() 62 nlh.nlmsg_type = XFRM_MSG_GETSA; in test_nlmsg_flags() 70 nlh.nlmsg_type = XFRM_MSG_NEWSA; in test_nlmsg_flags() 78 nlh.nlmsg_type = XFRM_MSG_DELSA; in test_nlmsg_flags() 86 nlh.nlmsg_type = XFRM_MSG_ALLOCSPI; in test_nlmsg_flags()
|
D | nfnetlink_acct.c | 48 nlh.nlmsg_type = NFNL_SUBSYS_ACCT << 8 | NFNL_MSG_ACCT_NEW; in test_nlmsg_type() 56 nlh.nlmsg_type = NFNL_SUBSYS_ACCT << 8 | 0xff; in test_nlmsg_type() 73 nlh.nlmsg_type = NFNL_SUBSYS_ACCT << 8 | NFNL_MSG_ACCT_NEW; in test_nlmsg_flags() 82 nlh.nlmsg_type = NFNL_SUBSYS_ACCT << 8 | NFNL_MSG_ACCT_GET; in test_nlmsg_flags() 91 nlh.nlmsg_type = NFNL_SUBSYS_ACCT << 8 | NFNL_MSG_ACCT_DEL; in test_nlmsg_flags()
|
D | nfnetlink_cttimeout.c | 48 nlh.nlmsg_type = in test_nlmsg_type() 57 nlh.nlmsg_type = NFNL_SUBSYS_CTNETLINK_TIMEOUT << 8 | 0xff; in test_nlmsg_type() 74 nlh.nlmsg_type = in test_nlmsg_flags() 84 nlh.nlmsg_type = in test_nlmsg_flags() 94 nlh.nlmsg_type = in test_nlmsg_flags()
|
D | nfnetlink_ctnetlink_exp.c | 48 nlh.nlmsg_type = NFNL_SUBSYS_CTNETLINK_EXP << 8 | IPCTNL_MSG_EXP_NEW; in test_nlmsg_type() 56 nlh.nlmsg_type = NFNL_SUBSYS_CTNETLINK_EXP << 8 | 0xff; in test_nlmsg_type() 73 nlh.nlmsg_type = NFNL_SUBSYS_CTNETLINK_EXP << 8 | IPCTNL_MSG_EXP_NEW; in test_nlmsg_flags() 82 nlh.nlmsg_type = NFNL_SUBSYS_CTNETLINK_EXP << 8 | IPCTNL_MSG_EXP_GET; in test_nlmsg_flags() 91 nlh.nlmsg_type = NFNL_SUBSYS_CTNETLINK_EXP << 8 | IPCTNL_MSG_EXP_DELETE; in test_nlmsg_flags()
|
D | nfnetlink_nftables.c | 48 nlh.nlmsg_type = NFNL_SUBSYS_NFTABLES << 8 | NFT_MSG_NEWTABLE; in test_nlmsg_type() 56 nlh.nlmsg_type = NFNL_SUBSYS_NFTABLES << 8 | 0xff; in test_nlmsg_type() 73 nlh.nlmsg_type = NFNL_SUBSYS_NFTABLES << 8 | NFT_MSG_NEWTABLE; in test_nlmsg_flags() 82 nlh.nlmsg_type = NFNL_SUBSYS_NFTABLES << 8 | NFT_MSG_GETTABLE; in test_nlmsg_flags() 91 nlh.nlmsg_type = NFNL_SUBSYS_NFTABLES << 8 | NFT_MSG_DELTABLE; in test_nlmsg_flags()
|
D | nfnetlink_ctnetlink.c | 48 nlh.nlmsg_type = NFNL_SUBSYS_CTNETLINK << 8 | IPCTNL_MSG_CT_NEW; in test_nlmsg_type() 56 nlh.nlmsg_type = NFNL_SUBSYS_CTNETLINK << 8 | 0xff; in test_nlmsg_type() 73 nlh.nlmsg_type = NFNL_SUBSYS_CTNETLINK << 8 | IPCTNL_MSG_CT_NEW; in test_nlmsg_flags() 82 nlh.nlmsg_type = NFNL_SUBSYS_CTNETLINK << 8 | IPCTNL_MSG_CT_GET; in test_nlmsg_flags() 91 nlh.nlmsg_type = NFNL_SUBSYS_CTNETLINK << 8 | IPCTNL_MSG_CT_DELETE; in test_nlmsg_flags()
|
D | nfnetlink_cthelper.c | 48 nlh.nlmsg_type = NFNL_SUBSYS_CTHELPER << 8 | NFNL_MSG_CTHELPER_NEW; in test_nlmsg_type() 56 nlh.nlmsg_type = NFNL_SUBSYS_CTHELPER << 8 | 0xff; in test_nlmsg_type() 73 nlh.nlmsg_type = NFNL_SUBSYS_CTHELPER << 8 | NFNL_MSG_CTHELPER_NEW; in test_nlmsg_flags() 82 nlh.nlmsg_type = NFNL_SUBSYS_CTHELPER << 8 | NFNL_MSG_CTHELPER_GET; in test_nlmsg_flags() 91 nlh.nlmsg_type = NFNL_SUBSYS_CTHELPER << 8 | NFNL_MSG_CTHELPER_DEL; in test_nlmsg_flags()
|
/external/strace/tests/ |
D | netlink_xfrm.c | 43 .nlmsg_type = XFRM_MSG_NEWSA, in test_nlmsg_type() 62 nlh.nlmsg_type = XFRM_MSG_GETSA; in test_nlmsg_flags() 70 nlh.nlmsg_type = XFRM_MSG_NEWSA; in test_nlmsg_flags() 78 nlh.nlmsg_type = XFRM_MSG_DELSA; in test_nlmsg_flags() 86 nlh.nlmsg_type = XFRM_MSG_ALLOCSPI; in test_nlmsg_flags()
|
D | nfnetlink_ctnetlink.c | 48 nlh.nlmsg_type = NFNL_SUBSYS_CTNETLINK << 8 | IPCTNL_MSG_CT_NEW; in test_nlmsg_type() 56 nlh.nlmsg_type = NFNL_SUBSYS_CTNETLINK << 8 | 0xff; in test_nlmsg_type() 73 nlh.nlmsg_type = NFNL_SUBSYS_CTNETLINK << 8 | IPCTNL_MSG_CT_NEW; in test_nlmsg_flags() 82 nlh.nlmsg_type = NFNL_SUBSYS_CTNETLINK << 8 | IPCTNL_MSG_CT_GET; in test_nlmsg_flags() 91 nlh.nlmsg_type = NFNL_SUBSYS_CTNETLINK << 8 | IPCTNL_MSG_CT_DELETE; in test_nlmsg_flags()
|
D | nfnetlink_ctnetlink_exp.c | 48 nlh.nlmsg_type = NFNL_SUBSYS_CTNETLINK_EXP << 8 | IPCTNL_MSG_EXP_NEW; in test_nlmsg_type() 56 nlh.nlmsg_type = NFNL_SUBSYS_CTNETLINK_EXP << 8 | 0xff; in test_nlmsg_type() 73 nlh.nlmsg_type = NFNL_SUBSYS_CTNETLINK_EXP << 8 | IPCTNL_MSG_EXP_NEW; in test_nlmsg_flags() 82 nlh.nlmsg_type = NFNL_SUBSYS_CTNETLINK_EXP << 8 | IPCTNL_MSG_EXP_GET; in test_nlmsg_flags() 91 nlh.nlmsg_type = NFNL_SUBSYS_CTNETLINK_EXP << 8 | IPCTNL_MSG_EXP_DELETE; in test_nlmsg_flags()
|
D | nfnetlink_acct.c | 48 nlh.nlmsg_type = NFNL_SUBSYS_ACCT << 8 | NFNL_MSG_ACCT_NEW; in test_nlmsg_type() 56 nlh.nlmsg_type = NFNL_SUBSYS_ACCT << 8 | 0xff; in test_nlmsg_type() 73 nlh.nlmsg_type = NFNL_SUBSYS_ACCT << 8 | NFNL_MSG_ACCT_NEW; in test_nlmsg_flags() 82 nlh.nlmsg_type = NFNL_SUBSYS_ACCT << 8 | NFNL_MSG_ACCT_GET; in test_nlmsg_flags() 91 nlh.nlmsg_type = NFNL_SUBSYS_ACCT << 8 | NFNL_MSG_ACCT_DEL; in test_nlmsg_flags()
|
D | nfnetlink_cthelper.c | 48 nlh.nlmsg_type = NFNL_SUBSYS_CTHELPER << 8 | NFNL_MSG_CTHELPER_NEW; in test_nlmsg_type() 56 nlh.nlmsg_type = NFNL_SUBSYS_CTHELPER << 8 | 0xff; in test_nlmsg_type() 73 nlh.nlmsg_type = NFNL_SUBSYS_CTHELPER << 8 | NFNL_MSG_CTHELPER_NEW; in test_nlmsg_flags() 82 nlh.nlmsg_type = NFNL_SUBSYS_CTHELPER << 8 | NFNL_MSG_CTHELPER_GET; in test_nlmsg_flags() 91 nlh.nlmsg_type = NFNL_SUBSYS_CTHELPER << 8 | NFNL_MSG_CTHELPER_DEL; in test_nlmsg_flags()
|
D | nfnetlink_nftables.c | 48 nlh.nlmsg_type = NFNL_SUBSYS_NFTABLES << 8 | NFT_MSG_NEWTABLE; in test_nlmsg_type() 56 nlh.nlmsg_type = NFNL_SUBSYS_NFTABLES << 8 | 0xff; in test_nlmsg_type() 73 nlh.nlmsg_type = NFNL_SUBSYS_NFTABLES << 8 | NFT_MSG_NEWTABLE; in test_nlmsg_flags() 82 nlh.nlmsg_type = NFNL_SUBSYS_NFTABLES << 8 | NFT_MSG_GETTABLE; in test_nlmsg_flags() 91 nlh.nlmsg_type = NFNL_SUBSYS_NFTABLES << 8 | NFT_MSG_DELTABLE; in test_nlmsg_flags()
|
D | nfnetlink_cttimeout.c | 48 nlh.nlmsg_type = in test_nlmsg_type() 57 nlh.nlmsg_type = NFNL_SUBSYS_CTNETLINK_TIMEOUT << 8 | 0xff; in test_nlmsg_type() 74 nlh.nlmsg_type = in test_nlmsg_flags() 84 nlh.nlmsg_type = in test_nlmsg_flags() 94 nlh.nlmsg_type = in test_nlmsg_flags()
|
/external/strace/tests-m32/ |
D | netlink_xfrm.c | 43 .nlmsg_type = XFRM_MSG_NEWSA, in test_nlmsg_type() 62 nlh.nlmsg_type = XFRM_MSG_GETSA; in test_nlmsg_flags() 70 nlh.nlmsg_type = XFRM_MSG_NEWSA; in test_nlmsg_flags() 78 nlh.nlmsg_type = XFRM_MSG_DELSA; in test_nlmsg_flags() 86 nlh.nlmsg_type = XFRM_MSG_ALLOCSPI; in test_nlmsg_flags()
|
D | nfnetlink_ctnetlink_exp.c | 48 nlh.nlmsg_type = NFNL_SUBSYS_CTNETLINK_EXP << 8 | IPCTNL_MSG_EXP_NEW; in test_nlmsg_type() 56 nlh.nlmsg_type = NFNL_SUBSYS_CTNETLINK_EXP << 8 | 0xff; in test_nlmsg_type() 73 nlh.nlmsg_type = NFNL_SUBSYS_CTNETLINK_EXP << 8 | IPCTNL_MSG_EXP_NEW; in test_nlmsg_flags() 82 nlh.nlmsg_type = NFNL_SUBSYS_CTNETLINK_EXP << 8 | IPCTNL_MSG_EXP_GET; in test_nlmsg_flags() 91 nlh.nlmsg_type = NFNL_SUBSYS_CTNETLINK_EXP << 8 | IPCTNL_MSG_EXP_DELETE; in test_nlmsg_flags()
|
D | nfnetlink_acct.c | 48 nlh.nlmsg_type = NFNL_SUBSYS_ACCT << 8 | NFNL_MSG_ACCT_NEW; in test_nlmsg_type() 56 nlh.nlmsg_type = NFNL_SUBSYS_ACCT << 8 | 0xff; in test_nlmsg_type() 73 nlh.nlmsg_type = NFNL_SUBSYS_ACCT << 8 | NFNL_MSG_ACCT_NEW; in test_nlmsg_flags() 82 nlh.nlmsg_type = NFNL_SUBSYS_ACCT << 8 | NFNL_MSG_ACCT_GET; in test_nlmsg_flags() 91 nlh.nlmsg_type = NFNL_SUBSYS_ACCT << 8 | NFNL_MSG_ACCT_DEL; in test_nlmsg_flags()
|
D | nfnetlink_nftables.c | 48 nlh.nlmsg_type = NFNL_SUBSYS_NFTABLES << 8 | NFT_MSG_NEWTABLE; in test_nlmsg_type() 56 nlh.nlmsg_type = NFNL_SUBSYS_NFTABLES << 8 | 0xff; in test_nlmsg_type() 73 nlh.nlmsg_type = NFNL_SUBSYS_NFTABLES << 8 | NFT_MSG_NEWTABLE; in test_nlmsg_flags() 82 nlh.nlmsg_type = NFNL_SUBSYS_NFTABLES << 8 | NFT_MSG_GETTABLE; in test_nlmsg_flags() 91 nlh.nlmsg_type = NFNL_SUBSYS_NFTABLES << 8 | NFT_MSG_DELTABLE; in test_nlmsg_flags()
|
D | nfnetlink_cttimeout.c | 48 nlh.nlmsg_type = in test_nlmsg_type() 57 nlh.nlmsg_type = NFNL_SUBSYS_CTNETLINK_TIMEOUT << 8 | 0xff; in test_nlmsg_type() 74 nlh.nlmsg_type = in test_nlmsg_flags() 84 nlh.nlmsg_type = in test_nlmsg_flags() 94 nlh.nlmsg_type = in test_nlmsg_flags()
|
D | nfnetlink_ctnetlink.c | 48 nlh.nlmsg_type = NFNL_SUBSYS_CTNETLINK << 8 | IPCTNL_MSG_CT_NEW; in test_nlmsg_type() 56 nlh.nlmsg_type = NFNL_SUBSYS_CTNETLINK << 8 | 0xff; in test_nlmsg_type() 73 nlh.nlmsg_type = NFNL_SUBSYS_CTNETLINK << 8 | IPCTNL_MSG_CT_NEW; in test_nlmsg_flags() 82 nlh.nlmsg_type = NFNL_SUBSYS_CTNETLINK << 8 | IPCTNL_MSG_CT_GET; in test_nlmsg_flags() 91 nlh.nlmsg_type = NFNL_SUBSYS_CTNETLINK << 8 | IPCTNL_MSG_CT_DELETE; in test_nlmsg_flags()
|
D | nfnetlink_cthelper.c | 48 nlh.nlmsg_type = NFNL_SUBSYS_CTHELPER << 8 | NFNL_MSG_CTHELPER_NEW; in test_nlmsg_type() 56 nlh.nlmsg_type = NFNL_SUBSYS_CTHELPER << 8 | 0xff; in test_nlmsg_type() 73 nlh.nlmsg_type = NFNL_SUBSYS_CTHELPER << 8 | NFNL_MSG_CTHELPER_NEW; in test_nlmsg_flags() 82 nlh.nlmsg_type = NFNL_SUBSYS_CTHELPER << 8 | NFNL_MSG_CTHELPER_GET; in test_nlmsg_flags() 91 nlh.nlmsg_type = NFNL_SUBSYS_CTHELPER << 8 | NFNL_MSG_CTHELPER_DEL; in test_nlmsg_flags()
|