Searched refs:nlmsghdr (Results 1 – 13 of 13) sorted by relevance
| /include/linux/ |
| A D | sock_diag.h | 12 struct nlmsghdr; 18 int (*dump)(struct sk_buff *skb, struct nlmsghdr *nlh); 20 int (*destroy)(struct sk_buff *skb, struct nlmsghdr *nlh); 28 int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh);
|
| A D | netlink.h | 16 static inline struct nlmsghdr *nlmsg_hdr(const struct sk_buff *skb) in nlmsg_hdr() 18 return (struct nlmsghdr *)skb->data; in nlmsg_hdr() 224 void netlink_ack(struct sk_buff *in_skb, struct nlmsghdr *nlh, int err, 283 const struct nlmsghdr *nlh; 317 struct nlmsghdr * 332 const struct nlmsghdr *nlh, 335 const struct nlmsghdr *nlh, in netlink_dump_start()
|
| A D | rtnetlink.h | 22 u32 group, const struct nlmsghdr *nlh, gfp_t flags); 29 u32 portid, const struct nlmsghdr *nlh); 36 const struct nlmsghdr *nlh); 38 gfp_t flags, u32 portid, const struct nlmsghdr *nlh);
|
| A D | netdevice.h | 1567 int (*ndo_fdb_del_bulk)(struct nlmsghdr *nlh, 1599 struct nlmsghdr *nlh, 1608 struct nlmsghdr *nlh,
|
| /include/uapi/linux/ |
| A D | netlink.h | 52 struct nlmsghdr { struct 100 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 105 (struct nlmsghdr *)(((char *)(nlh)) + \ 107 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ 108 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \ 121 struct nlmsghdr msg;
|
| /include/rdma/ |
| A D | rdma_netlink.h | 18 int (*doit)(struct sk_buff *skb, struct nlmsghdr *nlh, 65 void *ibnl_put_msg(struct sk_buff *skb, struct nlmsghdr **nlh, int seq, 76 int ibnl_put_attr(struct sk_buff *skb, struct nlmsghdr *nlh,
|
| /include/linux/netfilter/ |
| A D | nfnetlink.h | 13 const struct nlmsghdr *nlh; 67 static inline void nfnl_fill_hdr(struct nlmsghdr *nlh, u8 family, u8 version, in nfnl_fill_hdr() 78 static inline struct nlmsghdr *nfnl_msg_put(struct sk_buff *skb, u32 portid, in nfnl_msg_put() 83 struct nlmsghdr *nlh; in nfnl_msg_put()
|
| /include/net/ |
| A D | netlink.h | 494 struct nlmsghdr *nlh; 536 int (*cb)(struct sk_buff *, struct nlmsghdr *, 608 static inline void *nlmsg_data(const struct nlmsghdr *nlh) in nlmsg_data() 617 static inline int nlmsg_len(const struct nlmsghdr *nlh) in nlmsg_len() 667 return (remaining >= (int) sizeof(struct nlmsghdr) && in nlmsg_ok() 668 nlh->nlmsg_len >= sizeof(struct nlmsghdr) && in nlmsg_ok() 680 static inline struct nlmsghdr * 681 nlmsg_next(const struct nlmsghdr *nlh, int *remaining) in nlmsg_next() 944 static inline int nlmsg_report(const struct nlmsghdr *nlh) in nlmsg_report() 955 static inline u32 nlmsg_seq(const struct nlmsghdr *nlh) in nlmsg_seq() [all …]
|
| A D | rtnetlink.h | 9 typedef int (*rtnl_doit_func)(struct sk_buff *, struct nlmsghdr *, 64 static inline int rtnl_msg_family(const struct nlmsghdr *nlh) in rtnl_msg_family() 252 int rtnl_delete_link(struct net_device *dev, u32 portid, const struct nlmsghdr *nlh); 254 u32 portid, const struct nlmsghdr *nlh);
|
| A D | genetlink.h | 135 const struct nlmsghdr * nlhdr; 371 static inline struct nlmsghdr *genlmsg_nlhdr(void *user_hdr) in genlmsg_nlhdr() 373 return (struct nlmsghdr *)((char *)user_hdr - in genlmsg_nlhdr() 387 static inline int genlmsg_parse_deprecated(const struct nlmsghdr *nlh, in genlmsg_parse_deprecated() 406 static inline int genlmsg_parse(const struct nlmsghdr *nlh, in genlmsg_parse() 581 struct nlmsghdr *nlh = (struct nlmsghdr *)((unsigned char *)gnlh - in genlmsg_len()
|
| A D | fib_rules.h | 202 int fib_newrule(struct net *net, struct sk_buff *skb, struct nlmsghdr *nlh, 204 int fib_delrule(struct net *net, struct sk_buff *skb, struct nlmsghdr *nlh,
|
| A D | ip_fib.h | 653 int ip_valid_fib_dump_req(struct net *net, const struct nlmsghdr *nlh,
|
| A D | xfrm.h | 2245 int (*alloc_compat)(struct sk_buff *skb, const struct nlmsghdr *src); 2248 struct nlmsghdr *(*rcv_msg_compat)(const struct nlmsghdr *nlh,
|
Completed in 42 milliseconds