/linux-4.19.296/include/net/ |
D | netlink.h | 253 struct nlattr *nla_find(const struct nlattr *head, int len, int attrtype); 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, 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, 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, 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, 411 int hdrlen, int attrtype) in nlmsg_find_attr() argument [all …]
|
D | ife.h | 15 void *ife_tlv_meta_decode(void *skbdata, const void *ifehdr_end, u16 *attrtype, 17 int ife_tlv_meta_encode(void *skbdata, u16 attrtype, u16 dlen, 34 static inline void *ife_tlv_meta_decode(void *skbdata, u16 *attrtype, u16 *dlen, in ife_tlv_meta_decode() argument 40 static inline int ife_tlv_meta_encode(void *skbdata, u16 attrtype, u16 dlen, in ife_tlv_meta_encode() argument
|
D | garp.h | 15 u8 attrtype; member
|
D | mrp.h | 12 u8 attrtype; member
|
/linux-4.19.296/lib/ |
D | nlattr.c | 284 struct nlattr *nla_find(const struct nlattr *head, int len, int attrtype) in nla_find() argument 290 if (nla_type(nla) == attrtype) in nla_find() 429 struct nlattr *__nla_reserve(struct sk_buff *skb, int attrtype, int attrlen) in __nla_reserve() argument 434 nla->nla_type = attrtype; in __nla_reserve() 457 struct nlattr *__nla_reserve_64bit(struct sk_buff *skb, int attrtype, in __nla_reserve_64bit() argument 463 return __nla_reserve(skb, attrtype, attrlen); in __nla_reserve_64bit() 495 struct nlattr *nla_reserve(struct sk_buff *skb, int attrtype, int attrlen) in nla_reserve() argument 500 return __nla_reserve(skb, attrtype, attrlen); in nla_reserve() 518 struct nlattr *nla_reserve_64bit(struct sk_buff *skb, int attrtype, int attrlen, in nla_reserve_64bit() argument 530 return __nla_reserve_64bit(skb, attrtype, attrlen, padattr); in nla_reserve_64bit() [all …]
|
/linux-4.19.296/include/linux/ |
D | sock_diag.h | 34 struct sk_buff *skb, int attrtype);
|
D | genl_magic_struct.h | 66 static inline int nla_put_u64_0pad(struct sk_buff *skb, int attrtype, u64 value) in nla_put_u64_0pad() argument 68 return nla_put_64bit(skb, attrtype, sizeof(u64), &value, 0); in nla_put_u64_0pad()
|
/linux-4.19.296/fs/btrfs/ |
D | send.c | 615 #define TLV_PUT(sctx, attrtype, data, attrlen) \ argument 617 ret = tlv_put(sctx, attrtype, data, attrlen); \ 622 #define TLV_PUT_INT(sctx, attrtype, bits, value) \ argument 624 ret = tlv_put_u##bits(sctx, attrtype, value); \ 629 #define TLV_PUT_U8(sctx, attrtype, data) TLV_PUT_INT(sctx, attrtype, 8, data) argument 630 #define TLV_PUT_U16(sctx, attrtype, data) TLV_PUT_INT(sctx, attrtype, 16, data) argument 631 #define TLV_PUT_U32(sctx, attrtype, data) TLV_PUT_INT(sctx, attrtype, 32, data) argument 632 #define TLV_PUT_U64(sctx, attrtype, data) TLV_PUT_INT(sctx, attrtype, 64, data) argument 633 #define TLV_PUT_STRING(sctx, attrtype, str, len) \ argument 635 ret = tlv_put_string(sctx, attrtype, str, len); \ [all …]
|