Lines Matching refs:sk_buff

240 int netlink_rcv_skb(struct sk_buff *skb,
241 int (*cb)(struct sk_buff *, struct nlmsghdr *,
243 int nlmsg_notify(struct sock *sk, struct sk_buff *skb, u32 portid,
259 struct nlattr *__nla_reserve(struct sk_buff *skb, int attrtype, int attrlen);
260 struct nlattr *__nla_reserve_64bit(struct sk_buff *skb, int attrtype,
262 void *__nla_reserve_nohdr(struct sk_buff *skb, int attrlen);
263 struct nlattr *nla_reserve(struct sk_buff *skb, int attrtype, int attrlen);
264 struct nlattr *nla_reserve_64bit(struct sk_buff *skb, int attrtype,
266 void *nla_reserve_nohdr(struct sk_buff *skb, int attrlen);
267 void __nla_put(struct sk_buff *skb, int attrtype, int attrlen,
269 void __nla_put_64bit(struct sk_buff *skb, int attrtype, int attrlen,
271 void __nla_put_nohdr(struct sk_buff *skb, int attrlen, const void *data);
272 int nla_put(struct sk_buff *skb, int attrtype, int attrlen, const void *data);
273 int nla_put_64bit(struct sk_buff *skb, int attrtype, int attrlen,
275 int nla_put_nohdr(struct sk_buff *skb, int attrlen, const void *data);
276 int nla_append(struct sk_buff *skb, int attrlen, const void *data);
472 static inline struct nlmsghdr *nlmsg_put(struct sk_buff *skb, u32 portid, u32 seq, in nlmsg_put()
492 static inline struct nlmsghdr *nlmsg_put_answer(struct sk_buff *skb, in nlmsg_put_answer()
509 static inline struct sk_buff *nlmsg_new(size_t payload, gfp_t flags) in nlmsg_new()
523 static inline void nlmsg_end(struct sk_buff *skb, struct nlmsghdr *nlh) in nlmsg_end()
534 static inline void *nlmsg_get_pos(struct sk_buff *skb) in nlmsg_get_pos()
546 static inline void nlmsg_trim(struct sk_buff *skb, const void *mark) in nlmsg_trim()
562 static inline void nlmsg_cancel(struct sk_buff *skb, struct nlmsghdr *nlh) in nlmsg_cancel()
571 static inline void nlmsg_free(struct sk_buff *skb) in nlmsg_free()
584 static inline int nlmsg_multicast(struct sock *sk, struct sk_buff *skb, in nlmsg_multicast()
604 static inline int nlmsg_unicast(struct sock *sk, struct sk_buff *skb, u32 portid) in nlmsg_unicast()
775 static inline int nla_put_u8(struct sk_buff *skb, int attrtype, u8 value) in nla_put_u8()
789 static inline int nla_put_u16(struct sk_buff *skb, int attrtype, u16 value) in nla_put_u16()
802 static inline int nla_put_be16(struct sk_buff *skb, int attrtype, __be16 value) in nla_put_be16()
815 static inline int nla_put_net16(struct sk_buff *skb, int attrtype, __be16 value) in nla_put_net16()
828 static inline int nla_put_le16(struct sk_buff *skb, int attrtype, __le16 value) in nla_put_le16()
841 static inline int nla_put_u32(struct sk_buff *skb, int attrtype, u32 value) in nla_put_u32()
854 static inline int nla_put_be32(struct sk_buff *skb, int attrtype, __be32 value) in nla_put_be32()
867 static inline int nla_put_net32(struct sk_buff *skb, int attrtype, __be32 value) in nla_put_net32()
880 static inline int nla_put_le32(struct sk_buff *skb, int attrtype, __le32 value) in nla_put_le32()
894 static inline int nla_put_u64_64bit(struct sk_buff *skb, int attrtype, in nla_put_u64_64bit()
909 static inline int nla_put_be64(struct sk_buff *skb, int attrtype, __be64 value, in nla_put_be64()
924 static inline int nla_put_net64(struct sk_buff *skb, int attrtype, __be64 value, in nla_put_net64()
940 static inline int nla_put_le64(struct sk_buff *skb, int attrtype, __le64 value, in nla_put_le64()
954 static inline int nla_put_s8(struct sk_buff *skb, int attrtype, s8 value) in nla_put_s8()
967 static inline int nla_put_s16(struct sk_buff *skb, int attrtype, s16 value) in nla_put_s16()
980 static inline int nla_put_s32(struct sk_buff *skb, int attrtype, s32 value) in nla_put_s32()
994 static inline int nla_put_s64(struct sk_buff *skb, int attrtype, s64 value, in nla_put_s64()
1008 static inline int nla_put_string(struct sk_buff *skb, int attrtype, in nla_put_string()
1019 static inline int nla_put_flag(struct sk_buff *skb, int attrtype) in nla_put_flag()
1031 static inline int nla_put_msecs(struct sk_buff *skb, int attrtype, in nla_put_msecs()
1046 static inline int nla_put_in_addr(struct sk_buff *skb, int attrtype, in nla_put_in_addr()
1061 static inline int nla_put_in6_addr(struct sk_buff *skb, int attrtype, in nla_put_in6_addr()
1277 static inline struct nlattr *nla_nest_start(struct sk_buff *skb, int attrtype) in nla_nest_start()
1297 static inline int nla_nest_end(struct sk_buff *skb, struct nlattr *start) in nla_nest_end()
1311 static inline void nla_nest_cancel(struct sk_buff *skb, struct nlattr *start) in nla_nest_cancel()
1344 static inline bool nla_need_padding_for_64bit(struct sk_buff *skb) in nla_need_padding_for_64bit()
1370 static inline int nla_align_64bit(struct sk_buff *skb, int padattr) in nla_align_64bit()