Home
last modified time | relevance | path

Searched refs:nlmsghdr (Results 1 – 13 of 13) sorted by relevance

/include/linux/
A Dsock_diag.h12 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 Dnetlink.h16 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 Drtnetlink.h22 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 Dnetdevice.h1567 int (*ndo_fdb_del_bulk)(struct nlmsghdr *nlh,
1599 struct nlmsghdr *nlh,
1608 struct nlmsghdr *nlh,
/include/uapi/linux/
A Dnetlink.h52 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 Drdma_netlink.h18 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 Dnfnetlink.h13 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 Dnetlink.h494 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 Drtnetlink.h9 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 Dgenetlink.h135 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 Dfib_rules.h202 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 Dip_fib.h653 int ip_valid_fib_dump_req(struct net *net, const struct nlmsghdr *nlh,
A Dxfrm.h2245 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