Home
last modified time | relevance | path

Searched defs:nlh (Results 26 – 50 of 155) sorted by relevance

1234567

/OK3568_Linux_fs/kernel/security/selinux/
H A Dnetlink.c43 static void selnl_add_payload(struct nlmsghdr *nlh, int len, int msgtype, void *data) in selnl_add_payload()
72 struct nlmsghdr *nlh; in selnl_notify() local
/OK3568_Linux_fs/kernel/net/ieee802154/
H A Dnetlink.c47 struct nlmsghdr *nlh = nlmsg_hdr(msg); in ieee802154_nl_mcast() local
76 struct nlmsghdr *nlh = nlmsg_hdr(msg); in ieee802154_nl_reply() local
/OK3568_Linux_fs/kernel/net/ipv4/
H A Ddevinet.c350 int destroy, struct nlmsghdr *nlh, u32 portid) in __inet_del_ifa()
472 static int __inet_insert_ifa(struct in_ifaddr *ifa, struct nlmsghdr *nlh, in __inet_insert_ifa()
644 static int inet_rtm_deladdr(struct sk_buff *skb, struct nlmsghdr *nlh, in inet_rtm_deladdr()
823 static struct in_ifaddr *rtm_to_ifaddr(struct net *net, struct nlmsghdr *nlh, in rtm_to_ifaddr()
928 static int inet_rtm_newaddr(struct sk_buff *skb, struct nlmsghdr *nlh, in inet_rtm_newaddr()
1653 struct nlmsghdr *nlh; in inet_fill_ifaddr() local
1716 static int inet_valid_dump_ifaddr_req(const struct nlmsghdr *nlh, in inet_valid_dump_ifaddr_req()
1803 const struct nlmsghdr *nlh = cb->nlh; in inet_dump_ifaddr() local
1885 static void rtmsg_ifa(int event, struct in_ifaddr *ifa, struct nlmsghdr *nlh, in rtmsg_ifa()
2032 struct nlmsghdr *nlh; in inet_netconf_fill_devconf() local
[all …]
H A Dfib_frontend.c722 struct nlmsghdr *nlh, struct fib_config *cfg, in rtm_to_fib_config()
841 static int inet_rtm_delroute(struct sk_buff *skb, struct nlmsghdr *nlh, in inet_rtm_delroute()
871 static int inet_rtm_newroute(struct sk_buff *skb, struct nlmsghdr *nlh, in inet_rtm_newroute()
896 int ip_valid_fib_dump_req(struct net *net, const struct nlmsghdr *nlh, in ip_valid_fib_dump_req()
974 const struct nlmsghdr *nlh = cb->nlh; in inet_dump_fib() local
1366 struct nlmsghdr *nlh; in nl_fib_input() local
H A Dipmr.c730 struct nlmsghdr *nlh = skb_pull(skb, in ipmr_destroy_unres() local
985 struct nlmsghdr *nlh = skb_pull(skb, in ipmr_cache_resolve() local
2302 struct nlmsghdr *nlh; in ipmr_fill_mroute() local
2416 struct nlmsghdr *nlh; in igmpmsg_netlink_event() local
2463 const struct nlmsghdr *nlh, in ipmr_rtm_valid_getroute_req()
2517 static int ipmr_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh, in ipmr_rtm_getroute()
2640 static int rtm_to_ipmr_mfcc(struct net *net, struct nlmsghdr *nlh, in rtm_to_ipmr_mfcc()
2712 static int ipmr_rtm_route(struct sk_buff *skb, struct nlmsghdr *nlh, in ipmr_rtm_route()
2785 static int ipmr_valid_dumplink(const struct nlmsghdr *nlh, in ipmr_valid_dumplink()
2813 struct nlmsghdr *nlh = NULL; in ipmr_rtm_dumplink() local
/OK3568_Linux_fs/kernel/net/core/
H A Dfib_rules.c516 static int fib_nl2rule(struct sk_buff *skb, struct nlmsghdr *nlh, in fib_nl2rule()
753 int fib_nl_newrule(struct sk_buff *skb, struct nlmsghdr *nlh, in fib_nl_newrule()
861 int fib_nl_delrule(struct sk_buff *skb, struct nlmsghdr *nlh, in fib_nl_delrule()
991 struct nlmsghdr *nlh; in fib_nl_fill_rule() local
1095 static int fib_valid_dumprule_req(const struct nlmsghdr *nlh, in fib_valid_dumprule_req()
1123 const struct nlmsghdr *nlh = cb->nlh; in fib_nl_dumprule() local
1166 struct fib_rules_ops *ops, struct nlmsghdr *nlh, in notify_rule_change()
H A Dnet_namespace.c754 static int rtnl_net_newid(struct sk_buff *skb, struct nlmsghdr *nlh, in rtnl_net_newid()
835 struct nlmsghdr *nlh; in rtnl_net_fill() local
862 const struct nlmsghdr *nlh, in rtnl_net_valid_getid_req()
898 static int rtnl_net_getid(struct sk_buff *skb, struct nlmsghdr *nlh, in rtnl_net_getid()
1006 static int rtnl_valid_dump_net_req(const struct nlmsghdr *nlh, struct sock *sk, in rtnl_valid_dump_net_req()
1082 struct nlmsghdr *nlh, gfp_t gfp) in rtnl_net_notifyid()
H A Dneighbour.c1817 static int neigh_delete(struct sk_buff *skb, struct nlmsghdr *nlh, in neigh_delete()
1882 static int neigh_add(struct sk_buff *skb, struct nlmsghdr *nlh, in neigh_add()
2063 struct nlmsghdr *nlh; in neightbl_fill_info() local
2156 struct nlmsghdr *nlh; in neightbl_fill_param_info() local
2208 static int neightbl_set(struct sk_buff *skb, struct nlmsghdr *nlh, in neightbl_set()
2370 static int neightbl_valid_dump_info(const struct nlmsghdr *nlh, in neightbl_valid_dump_info()
2396 const struct nlmsghdr *nlh = cb->nlh; in neightbl_dump_info() local
2460 struct nlmsghdr *nlh; in neigh_fill_info() local
2515 struct nlmsghdr *nlh; in pneigh_fill_info() local
2670 static int neigh_valid_dump_req(const struct nlmsghdr *nlh, in neigh_valid_dump_req()
[all …]
/OK3568_Linux_fs/kernel/net/decnet/netfilter/
H A Ddn_rtmsg.c36 struct nlmsghdr *nlh; in dnrmg_build_message() local
101 struct nlmsghdr *nlh = nlmsg_hdr(skb); in dnrmg_receive_user_skb() local
/OK3568_Linux_fs/kernel/drivers/infiniband/core/
H A Diwpm_util.c482 struct sk_buff *iwpm_create_nlmsg(u32 nl_op, struct nlmsghdr **nlh, in iwpm_create_nlmsg()
625 struct nlmsghdr *nlh; in send_mapinfo_num() local
664 struct nlmsghdr *nlh = NULL; in send_nlmsg_done() local
686 struct nlmsghdr *nlh; in iwpm_send_mapinfo() local
808 struct nlmsghdr *nlh; in iwpm_send_hello() local
H A Diwpm_msg.c67 struct nlmsghdr *nlh; in iwpm_register_pid() local
151 struct nlmsghdr *nlh; in iwpm_add_mapping() local
238 struct nlmsghdr *nlh; in iwpm_add_and_query_mapping() local
329 struct nlmsghdr *nlh; in iwpm_remove_mapping() local
/OK3568_Linux_fs/kernel/net/netfilter/
H A Dnf_conntrack_netlink.c560 struct nlmsghdr *nlh; in ctnetlink_fill_info() local
713 struct nlmsghdr *nlh; in ctnetlink_conntrack_event() local
1526 const struct nlmsghdr *nlh, in ctnetlink_del_conntrack()
1586 const struct nlmsghdr *nlh, in ctnetlink_get_conntrack()
1745 const struct nlmsghdr *nlh, in ctnetlink_get_ct_dying()
1768 const struct nlmsghdr *nlh, in ctnetlink_get_ct_unconfirmed()
2377 const struct nlmsghdr *nlh, in ctnetlink_new_conntrack()
2480 struct nlmsghdr *nlh; in ctnetlink_ct_stat_cpu_fill_info() local
2542 const struct nlmsghdr *nlh, in ctnetlink_stat_ct_cpu()
2560 struct nlmsghdr *nlh; in ctnetlink_stat_ct_fill_info() local
[all …]
H A Dnfnetlink_acct.c48 struct sk_buff *skb, const struct nlmsghdr *nlh, in nfnl_acct_new()
134 struct nlmsghdr *nlh; in nfnl_acct_fill_info() local
263 struct sk_buff *skb, const struct nlmsghdr *nlh, in nfnl_acct_get()
336 struct sk_buff *skb, const struct nlmsghdr *nlh, in nfnl_acct_del()
H A Dnfnetlink_cthelper.c416 struct sk_buff *skb, const struct nlmsghdr *nlh, in nfnl_cthelper_new()
532 struct nlmsghdr *nlh; in nfnl_cthelper_fill_info() local
615 struct sk_buff *skb, const struct nlmsghdr *nlh, in nfnl_cthelper_get()
686 struct sk_buff *skb, const struct nlmsghdr *nlh, in nfnl_cthelper_del()
H A Dnf_tables_api.c125 const struct nlmsghdr *nlh, in nft_ctx_init()
704 struct nlmsghdr *nlh; in nf_tables_fill_table_info() local
811 const struct nlmsghdr *nlh, in nft_netlink_dump_start_rcu()
829 struct sk_buff *skb, const struct nlmsghdr *nlh, in nf_tables_gettable()
1016 struct sk_buff *skb, const struct nlmsghdr *nlh, in nf_tables_newtable()
1203 struct sk_buff *skb, const struct nlmsghdr *nlh, in nf_tables_deltable()
1440 struct nlmsghdr *nlh; in nf_tables_fill_chain_info() local
1569 struct sk_buff *skb, const struct nlmsghdr *nlh, in nf_tables_getchain()
2298 struct sk_buff *skb, const struct nlmsghdr *nlh, in nf_tables_newchain()
2395 struct sk_buff *skb, const struct nlmsghdr *nlh, in nf_tables_delchain()
[all …]
H A Dnfnetlink_queue.c385 struct nlmsghdr *nlh; in nfqnl_build_packet_message() local
1061 const struct nlmsghdr *nlh, in nfqnl_recv_verdict_batch()
1110 const struct nlmsghdr *nlh, in nfqnl_ct_parse()
1169 const struct nlmsghdr *nlh, in nfqnl_recv_verdict()
1234 struct sk_buff *skb, const struct nlmsghdr *nlh, in nfqnl_recv_unsupp()
1255 struct sk_buff *skb, const struct nlmsghdr *nlh, in nfqnl_recv_config()
/OK3568_Linux_fs/kernel/net/sctp/
H A Ddiag.c130 struct nlmsghdr *nlh; in inet_sctp_diag_fill() local
222 const struct nlmsghdr *nlh; member
252 const struct nlmsghdr *nlh = commp->nlh; in sctp_tsp_dump_one() local
433 const struct nlmsghdr *nlh = cb->nlh; in sctp_diag_dump_one() local
/OK3568_Linux_fs/kernel/tools/lib/bpf/
H A Dnlattr.c81 static inline int nlmsg_len(const struct nlmsghdr *nlh) in nlmsg_len()
158 int libbpf_nla_dump_errormsg(struct nlmsghdr *nlh) in libbpf_nla_dump_errormsg()
/OK3568_Linux_fs/kernel/tools/include/uapi/linux/
H A Dnetlink.h94 #define NLMSG_DATA(nlh) ((void*)(((char*)nlh) + NLMSG_LENGTH(0))) argument
95 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \ argument
97 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ argument
100 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) argument
/OK3568_Linux_fs/kernel/net/decnet/
H A Ddn_fib.c268 const struct nlmsghdr *nlh, int *errp) in dn_fib_create_info()
505 static int dn_fib_rtm_delroute(struct sk_buff *skb, struct nlmsghdr *nlh, in dn_fib_rtm_delroute()
532 static int dn_fib_rtm_newroute(struct sk_buff *skb, struct nlmsghdr *nlh, in dn_fib_rtm_newroute()
563 struct nlmsghdr nlh; in fib_magic() member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dnetlink.h94 #define NLMSG_DATA(nlh) ((void*)(((char*)nlh) + NLMSG_LENGTH(0))) argument
95 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \ argument
97 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ argument
100 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) argument
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dnetlink.h94 #define NLMSG_DATA(nlh) ((void*)(((char*)nlh) + NLMSG_LENGTH(0))) argument
95 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \ argument
97 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ argument
100 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) argument
/OK3568_Linux_fs/kernel/net/netlink/
H A Dgenetlink.c499 struct nlmsghdr *nlh; in genlmsg_put() local
528 struct nlmsghdr *nlh, in genl_family_rcv_msg_attrs_parse()
564 struct nlmsghdr *nlh; member
659 struct nlmsghdr *nlh, in genl_family_rcv_msg_dumpit()
705 struct nlmsghdr *nlh, in genl_family_rcv_msg_doit()
752 struct nlmsghdr *nlh, in genl_family_rcv_msg()
787 static int genl_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, in genl_rcv_msg()
/OK3568_Linux_fs/kernel/include/linux/netfilter/
H A Dnfnetlink.h65 static inline void nfnl_fill_hdr(struct nlmsghdr *nlh, u8 family, u8 version, in nfnl_fill_hdr()
81 struct nlmsghdr *nlh; in nfnl_msg_put() local
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dnetlink.h94 #define NLMSG_DATA(nlh) ((void*)(((char*)nlh) + NLMSG_LENGTH(0))) argument
95 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \ argument
97 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ argument
100 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) argument

1234567