/kernel/linux/linux-5.10/include/net/ |
H A D | netlink.h | 508 struct nlattr *nla_find(const struct nlattr *head, int len, int attrtype); 514 struct nlattr *__nla_reserve(struct sk_buff *skb, int attrtype, int attrlen); 515 struct nlattr *__nla_reserve_64bit(struct sk_buff *skb, int attrtype, 518 struct nlattr *nla_reserve(struct sk_buff *skb, int attrtype, int attrlen); 519 struct nlattr *nla_reserve_64bit(struct sk_buff *skb, int attrtype, 522 void __nla_put(struct sk_buff *skb, int attrtype, int attrlen, 524 void __nla_put_64bit(struct sk_buff *skb, int attrtype, int attrlen, 527 int nla_put(struct sk_buff *skb, int attrtype, int attrlen, const void *data); 528 int nla_put_64bit(struct sk_buff *skb, int attrtype, int attrlen, 800 * @attrtype 804 nlmsg_find_attr(const struct nlmsghdr *nlh, int hdrlen, int attrtype) nlmsg_find_attr() argument 1187 nla_find_nested(const struct nlattr *nla, int attrtype) nla_find_nested() argument 1241 nla_put_u8(struct sk_buff *skb, int attrtype, u8 value) nla_put_u8() argument 1255 nla_put_u16(struct sk_buff *skb, int attrtype, u16 value) nla_put_u16() argument 1268 nla_put_be16(struct sk_buff *skb, int attrtype, __be16 value) nla_put_be16() argument 1281 nla_put_net16(struct sk_buff *skb, int attrtype, __be16 value) nla_put_net16() argument 1294 nla_put_le16(struct sk_buff *skb, int attrtype, __le16 value) nla_put_le16() argument 1307 nla_put_u32(struct sk_buff *skb, int attrtype, u32 value) nla_put_u32() argument 1320 nla_put_be32(struct sk_buff *skb, int attrtype, __be32 value) nla_put_be32() argument 1333 nla_put_net32(struct sk_buff *skb, int attrtype, __be32 value) nla_put_net32() argument 1346 nla_put_le32(struct sk_buff *skb, int attrtype, __le32 value) nla_put_le32() argument 1360 nla_put_u64_64bit(struct sk_buff *skb, int attrtype, u64 value, int padattr) nla_put_u64_64bit() argument 1375 nla_put_be64(struct sk_buff *skb, int attrtype, __be64 value, int padattr) nla_put_be64() argument 1390 nla_put_net64(struct sk_buff *skb, int attrtype, __be64 value, int padattr) nla_put_net64() argument 1406 nla_put_le64(struct sk_buff *skb, int attrtype, __le64 value, int padattr) nla_put_le64() argument 1420 nla_put_s8(struct sk_buff *skb, int attrtype, s8 value) nla_put_s8() argument 1433 nla_put_s16(struct sk_buff *skb, int attrtype, s16 value) nla_put_s16() argument 1446 nla_put_s32(struct sk_buff *skb, int attrtype, s32 value) nla_put_s32() argument 1460 nla_put_s64(struct sk_buff *skb, int attrtype, s64 value, int padattr) nla_put_s64() argument 1474 nla_put_string(struct sk_buff *skb, int attrtype, const char *str) nla_put_string() argument 1485 nla_put_flag(struct sk_buff *skb, int attrtype) nla_put_flag() argument 1497 nla_put_msecs(struct sk_buff *skb, int attrtype, unsigned long njiffies, int padattr) nla_put_msecs() argument 1512 nla_put_in_addr(struct sk_buff *skb, int attrtype, __be32 addr) nla_put_in_addr() argument 1527 nla_put_in6_addr(struct sk_buff *skb, int attrtype, const struct in6_addr *addr) nla_put_in6_addr() argument 1540 nla_put_bitfield32(struct sk_buff *skb, int attrtype, __u32 value, __u32 selector) nla_put_bitfield32() argument 1762 nla_nest_start_noflag(struct sk_buff *skb, int attrtype) nla_nest_start_noflag() argument 1783 nla_nest_start(struct sk_buff *skb, int attrtype) nla_nest_start() argument [all...] |
H A D | ife.h | 14 void *ife_tlv_meta_decode(void *skbdata, const void *ifehdr_end, u16 *attrtype, 16 int ife_tlv_meta_encode(void *skbdata, u16 attrtype, u16 dlen, 33 static inline void *ife_tlv_meta_decode(void *skbdata, u16 *attrtype, u16 *dlen, in ife_tlv_meta_decode() argument 39 static inline int ife_tlv_meta_encode(void *skbdata, u16 attrtype, u16 dlen, in ife_tlv_meta_encode() argument
|
/kernel/linux/linux-6.6/include/net/ |
H A D | netlink.h | 520 struct nlattr *nla_find(const struct nlattr *head, int len, int attrtype); 526 struct nlattr *__nla_reserve(struct sk_buff *skb, int attrtype, int attrlen); 527 struct nlattr *__nla_reserve_64bit(struct sk_buff *skb, int attrtype, 530 struct nlattr *nla_reserve(struct sk_buff *skb, int attrtype, int attrlen); 531 struct nlattr *nla_reserve_64bit(struct sk_buff *skb, int attrtype, 534 void __nla_put(struct sk_buff *skb, int attrtype, int attrlen, 536 void __nla_put_64bit(struct sk_buff *skb, int attrtype, int attrlen, 539 int nla_put(struct sk_buff *skb, int attrtype, int attrlen, const void *data); 540 int nla_put_64bit(struct sk_buff *skb, int attrtype, int attrlen, 815 * @attrtype 819 nlmsg_find_attr(const struct nlmsghdr *nlh, int hdrlen, int attrtype) nlmsg_find_attr() argument 1233 nla_find_nested(const struct nlattr *nla, int attrtype) nla_find_nested() argument 1287 nla_put_u8(struct sk_buff *skb, int attrtype, u8 value) nla_put_u8() argument 1301 nla_put_u16(struct sk_buff *skb, int attrtype, u16 value) nla_put_u16() argument 1314 nla_put_be16(struct sk_buff *skb, int attrtype, __be16 value) nla_put_be16() argument 1327 nla_put_net16(struct sk_buff *skb, int attrtype, __be16 value) nla_put_net16() argument 1340 nla_put_le16(struct sk_buff *skb, int attrtype, __le16 value) nla_put_le16() argument 1353 nla_put_u32(struct sk_buff *skb, int attrtype, u32 value) nla_put_u32() argument 1366 nla_put_be32(struct sk_buff *skb, int attrtype, __be32 value) nla_put_be32() argument 1379 nla_put_net32(struct sk_buff *skb, int attrtype, __be32 value) nla_put_net32() argument 1392 nla_put_le32(struct sk_buff *skb, int attrtype, __le32 value) nla_put_le32() argument 1406 nla_put_u64_64bit(struct sk_buff *skb, int attrtype, u64 value, int padattr) nla_put_u64_64bit() argument 1421 nla_put_be64(struct sk_buff *skb, int attrtype, __be64 value, int padattr) nla_put_be64() argument 1436 nla_put_net64(struct sk_buff *skb, int attrtype, __be64 value, int padattr) nla_put_net64() argument 1452 nla_put_le64(struct sk_buff *skb, int attrtype, __le64 value, int padattr) nla_put_le64() argument 1466 nla_put_s8(struct sk_buff *skb, int attrtype, s8 value) nla_put_s8() argument 1479 nla_put_s16(struct sk_buff *skb, int attrtype, s16 value) nla_put_s16() argument 1492 nla_put_s32(struct sk_buff *skb, int attrtype, s32 value) nla_put_s32() argument 1506 nla_put_s64(struct sk_buff *skb, int attrtype, s64 value, int padattr) nla_put_s64() argument 1520 nla_put_string(struct sk_buff *skb, int attrtype, const char *str) nla_put_string() argument 1531 nla_put_flag(struct sk_buff *skb, int attrtype) nla_put_flag() argument 1543 nla_put_msecs(struct sk_buff *skb, int attrtype, unsigned long njiffies, int padattr) nla_put_msecs() argument 1558 nla_put_in_addr(struct sk_buff *skb, int attrtype, __be32 addr) nla_put_in_addr() argument 1573 nla_put_in6_addr(struct sk_buff *skb, int attrtype, const struct in6_addr *addr) nla_put_in6_addr() argument 1586 nla_put_bitfield32(struct sk_buff *skb, int attrtype, __u32 value, __u32 selector) nla_put_bitfield32() argument 1808 nla_nest_start_noflag(struct sk_buff *skb, int attrtype) nla_nest_start_noflag() argument 1829 nla_nest_start(struct sk_buff *skb, int attrtype) nla_nest_start() argument [all...] |
H A D | ife.h | 14 void *ife_tlv_meta_decode(void *skbdata, const void *ifehdr_end, u16 *attrtype, 16 int ife_tlv_meta_encode(void *skbdata, u16 attrtype, u16 dlen, 33 static inline void *ife_tlv_meta_decode(void *skbdata, u16 *attrtype, u16 *dlen, in ife_tlv_meta_decode() argument 39 static inline int ife_tlv_meta_encode(void *skbdata, u16 attrtype, u16 dlen, in ife_tlv_meta_encode() argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/rocker/ |
H A D | rocker_tlv.h | 136 int attrtype, int attrlen, const void *data); 139 rocker_tlv_put_u8(struct rocker_desc_info *desc_info, int attrtype, u8 value) in rocker_tlv_put_u8() argument 143 return rocker_tlv_put(desc_info, attrtype, sizeof(u8), &tmp); in rocker_tlv_put_u8() 147 rocker_tlv_put_u16(struct rocker_desc_info *desc_info, int attrtype, u16 value) in rocker_tlv_put_u16() argument 151 return rocker_tlv_put(desc_info, attrtype, sizeof(u16), &tmp); in rocker_tlv_put_u16() 155 rocker_tlv_put_be16(struct rocker_desc_info *desc_info, int attrtype, __be16 value) in rocker_tlv_put_be16() argument 159 return rocker_tlv_put(desc_info, attrtype, sizeof(__be16), &tmp); in rocker_tlv_put_be16() 163 rocker_tlv_put_u32(struct rocker_desc_info *desc_info, int attrtype, u32 value) in rocker_tlv_put_u32() argument 167 return rocker_tlv_put(desc_info, attrtype, sizeof(u32), &tmp); in rocker_tlv_put_u32() 171 rocker_tlv_put_be32(struct rocker_desc_info *desc_info, int attrtype, __be3 argument 179 rocker_tlv_put_u64(struct rocker_desc_info *desc_info, int attrtype, u64 value) rocker_tlv_put_u64() argument 187 rocker_tlv_nest_start(struct rocker_desc_info *desc_info, int attrtype) rocker_tlv_nest_start() argument [all...] |
H A D | rocker_tlv.c | 33 int attrtype, int attrlen, const void *data) in rocker_tlv_put() 44 tlv->type = attrtype; in rocker_tlv_put() 32 rocker_tlv_put(struct rocker_desc_info *desc_info, int attrtype, int attrlen, const void *data) rocker_tlv_put() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/rocker/ |
H A D | rocker_tlv.h | 136 int attrtype, int attrlen, const void *data); 139 rocker_tlv_put_u8(struct rocker_desc_info *desc_info, int attrtype, u8 value) in rocker_tlv_put_u8() argument 143 return rocker_tlv_put(desc_info, attrtype, sizeof(u8), &tmp); in rocker_tlv_put_u8() 147 rocker_tlv_put_u16(struct rocker_desc_info *desc_info, int attrtype, u16 value) in rocker_tlv_put_u16() argument 151 return rocker_tlv_put(desc_info, attrtype, sizeof(u16), &tmp); in rocker_tlv_put_u16() 155 rocker_tlv_put_be16(struct rocker_desc_info *desc_info, int attrtype, __be16 value) in rocker_tlv_put_be16() argument 159 return rocker_tlv_put(desc_info, attrtype, sizeof(__be16), &tmp); in rocker_tlv_put_be16() 163 rocker_tlv_put_u32(struct rocker_desc_info *desc_info, int attrtype, u32 value) in rocker_tlv_put_u32() argument 167 return rocker_tlv_put(desc_info, attrtype, sizeof(u32), &tmp); in rocker_tlv_put_u32() 171 rocker_tlv_put_be32(struct rocker_desc_info *desc_info, int attrtype, __be3 argument 179 rocker_tlv_put_u64(struct rocker_desc_info *desc_info, int attrtype, u64 value) rocker_tlv_put_u64() argument 187 rocker_tlv_nest_start(struct rocker_desc_info *desc_info, int attrtype) rocker_tlv_nest_start() argument [all...] |
H A D | rocker_tlv.c | 33 int attrtype, int attrlen, const void *data) in rocker_tlv_put() 44 tlv->type = attrtype; in rocker_tlv_put() 32 rocker_tlv_put(struct rocker_desc_info *desc_info, int attrtype, int attrlen, const void *data) rocker_tlv_put() argument
|
/kernel/linux/linux-5.10/lib/ |
H A D | nlattr.c | 697 * @attrtype: type of attribute to look for 701 struct nlattr *nla_find(const struct nlattr *head, int len, int attrtype) in nla_find() argument 707 if (nla_type(nla) == attrtype) in nla_find() 837 * @attrtype: attribute type 846 struct nlattr *__nla_reserve(struct sk_buff *skb, int attrtype, int attrlen) in __nla_reserve() argument 851 nla->nla_type = attrtype; in __nla_reserve() 863 * @attrtype: attribute type 874 struct nlattr *__nla_reserve_64bit(struct sk_buff *skb, int attrtype, in __nla_reserve_64bit() argument 879 return __nla_reserve(skb, attrtype, attrlen); in __nla_reserve_64bit() 902 * @attrtype 911 nla_reserve(struct sk_buff *skb, int attrtype, int attrlen) nla_reserve() argument 934 nla_reserve_64bit(struct sk_buff *skb, int attrtype, int attrlen, int padattr) nla_reserve_64bit() argument 979 __nla_put(struct sk_buff *skb, int attrtype, int attrlen, const void *data) __nla_put() argument 1000 __nla_put_64bit(struct sk_buff *skb, int attrtype, int attrlen, const void *data, int padattr) __nla_put_64bit() argument 1038 nla_put(struct sk_buff *skb, int attrtype, int attrlen, const void *data) nla_put() argument 1059 nla_put_64bit(struct sk_buff *skb, int attrtype, int attrlen, const void *data, int padattr) nla_put_64bit() argument [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | nlattr.c | 719 * @attrtype: type of attribute to look for 723 struct nlattr *nla_find(const struct nlattr *head, int len, int attrtype) in nla_find() argument 729 if (nla_type(nla) == attrtype) in nla_find() 871 * @attrtype: attribute type 880 struct nlattr *__nla_reserve(struct sk_buff *skb, int attrtype, int attrlen) in __nla_reserve() argument 885 nla->nla_type = attrtype; in __nla_reserve() 897 * @attrtype: attribute type 908 struct nlattr *__nla_reserve_64bit(struct sk_buff *skb, int attrtype, in __nla_reserve_64bit() argument 913 return __nla_reserve(skb, attrtype, attrlen); in __nla_reserve_64bit() 936 * @attrtype 945 nla_reserve(struct sk_buff *skb, int attrtype, int attrlen) nla_reserve() argument 968 nla_reserve_64bit(struct sk_buff *skb, int attrtype, int attrlen, int padattr) nla_reserve_64bit() argument 1013 __nla_put(struct sk_buff *skb, int attrtype, int attrlen, const void *data) __nla_put() argument 1034 __nla_put_64bit(struct sk_buff *skb, int attrtype, int attrlen, const void *data, int padattr) __nla_put_64bit() argument 1072 nla_put(struct sk_buff *skb, int attrtype, int attrlen, const void *data) nla_put() argument 1093 nla_put_64bit(struct sk_buff *skb, int attrtype, int attrlen, const void *data, int padattr) nla_put_64bit() argument [all...] |
/third_party/openssl/crypto/x509/ |
H A D | x509_att.c | 263 int X509_ATTRIBUTE_set1_data(X509_ATTRIBUTE *attr, int attrtype, in X509_ATTRIBUTE_set1_data() argument 271 if (attrtype & MBSTRING_FLAG) { in X509_ATTRIBUTE_set1_data() 272 stmp = ASN1_STRING_set_by_NID(NULL, data, len, attrtype, in X509_ATTRIBUTE_set1_data() 280 if ((stmp = ASN1_STRING_type_new(attrtype)) == NULL) in X509_ATTRIBUTE_set1_data() 284 atype = attrtype; in X509_ATTRIBUTE_set1_data() 291 if (attrtype == 0) { in X509_ATTRIBUTE_set1_data() 297 if ((len == -1) && !(attrtype & MBSTRING_FLAG)) { in X509_ATTRIBUTE_set1_data() 298 if (!ASN1_TYPE_set1(ttmp, attrtype, data)) in X509_ATTRIBUTE_set1_data()
|
/kernel/linux/linux-5.10/net/ife/ |
H A D | ife.c | 127 void *ife_tlv_meta_decode(void *skbdata, const void *ifehdr_end, u16 *attrtype, in ife_tlv_meta_decode() argument 137 *attrtype = ntohs(tlv->type); in ife_tlv_meta_decode() 159 int ife_tlv_meta_encode(void *skbdata, u16 attrtype, u16 dlen, const void *dval) in ife_tlv_meta_encode() argument 164 u32 htlv = attrtype << 16 | (dlen + NLA_HDRLEN); in ife_tlv_meta_encode()
|
/kernel/linux/linux-6.6/net/ife/ |
H A D | ife.c | 127 void *ife_tlv_meta_decode(void *skbdata, const void *ifehdr_end, u16 *attrtype, in ife_tlv_meta_decode() argument 137 *attrtype = ntohs(tlv->type); in ife_tlv_meta_decode() 159 int ife_tlv_meta_encode(void *skbdata, u16 attrtype, u16 dlen, const void *dval) in ife_tlv_meta_encode() argument 164 u32 htlv = attrtype << 16 | (dlen + NLA_HDRLEN); in ife_tlv_meta_encode()
|
/third_party/node/deps/openssl/openssl/crypto/x509/ |
H A D | x509_att.c | 332 int X509_ATTRIBUTE_set1_data(X509_ATTRIBUTE *attr, int attrtype, in X509_ATTRIBUTE_set1_data() argument 340 if (attrtype & MBSTRING_FLAG) { in X509_ATTRIBUTE_set1_data() 341 stmp = ASN1_STRING_set_by_NID(NULL, data, len, attrtype, in X509_ATTRIBUTE_set1_data() 349 if ((stmp = ASN1_STRING_type_new(attrtype)) == NULL) in X509_ATTRIBUTE_set1_data() 353 atype = attrtype; in X509_ATTRIBUTE_set1_data() 360 if (attrtype == 0) { in X509_ATTRIBUTE_set1_data() 366 if ((len == -1) && !(attrtype & MBSTRING_FLAG)) { in X509_ATTRIBUTE_set1_data() 367 if (!ASN1_TYPE_set1(ttmp, attrtype, data)) in X509_ATTRIBUTE_set1_data()
|
/kernel/linux/linux-5.10/net/802/ |
H A D | garp.c | 275 static int garp_pdu_append_msg(struct garp_applicant *app, u8 attrtype) in garp_pdu_append_msg() argument 282 gm->attrtype = attrtype; in garp_pdu_append_msg() 283 garp_cb(app->pdu)->cur_type = attrtype; in garp_pdu_append_msg() 439 u8 attrtype) in garp_pdu_parse_attr() 457 if (attrtype > app->app->maxattr) in garp_pdu_parse_attr() 484 attr = garp_attr_lookup(app, ga->data, dlen, attrtype); in garp_pdu_parse_attr() 498 if (gm->attrtype == 0) in garp_pdu_parse_msg() 503 if (garp_pdu_parse_attr(app, skb, gm->attrtype) < 0) in garp_pdu_parse_msg() 438 garp_pdu_parse_attr(struct garp_applicant *app, struct sk_buff *skb, u8 attrtype) garp_pdu_parse_attr() argument
|
/kernel/linux/linux-6.6/net/802/ |
H A D | garp.c | 275 static int garp_pdu_append_msg(struct garp_applicant *app, u8 attrtype) in garp_pdu_append_msg() argument 282 gm->attrtype = attrtype; in garp_pdu_append_msg() 283 garp_cb(app->pdu)->cur_type = attrtype; in garp_pdu_append_msg() 439 u8 attrtype) in garp_pdu_parse_attr() 457 if (attrtype > app->app->maxattr) in garp_pdu_parse_attr() 484 attr = garp_attr_lookup(app, ga->data, dlen, attrtype); in garp_pdu_parse_attr() 498 if (gm->attrtype == 0) in garp_pdu_parse_msg() 503 if (garp_pdu_parse_attr(app, skb, gm->attrtype) < 0) in garp_pdu_parse_msg() 438 garp_pdu_parse_attr(struct garp_applicant *app, struct sk_buff *skb, u8 attrtype) garp_pdu_parse_attr() argument
|
/kernel/linux/linux-6.6/net/devlink/ |
H A D | health.c | 14 int attrtype; member 674 int attrtype) in devlink_fmsg_nest_common() 682 item->attrtype = attrtype; in devlink_fmsg_nest_common() 732 item->attrtype = DEVLINK_ATTR_FMSG_OBJ_NAME; in devlink_fmsg_put_name() 845 item->attrtype = DEVLINK_ATTR_FMSG_OBJ_VALUE_DATA; in devlink_fmsg_put_value() 1063 int attrtype = DEVLINK_ATTR_FMSG_OBJ_VALUE_DATA; in devlink_fmsg_item_fill_data() local 1071 return nla_put_u8(skb, attrtype, tmp); in devlink_fmsg_item_fill_data() 1073 return nla_put_u8(skb, attrtype, *(u8 *)msg->value); in devlink_fmsg_item_fill_data() 1075 return nla_put_u32(skb, attrtype, *(u3 in devlink_fmsg_item_fill_data() 673 devlink_fmsg_nest_common(struct devlink_fmsg *fmsg, int attrtype) devlink_fmsg_nest_common() argument [all...] |
/kernel/linux/linux-5.10/drivers/block/drbd/ |
H A D | drbd_nla.c | 44 struct nlattr *drbd_nla_find_nested(int maxtype, struct nlattr *nla, int attrtype) in drbd_nla_find_nested() argument 55 return nla_find_nested(nla, attrtype); in drbd_nla_find_nested()
|
/kernel/linux/linux-5.10/net/ethtool/ |
H A D | bitset.h | 16 int ethnl_put_bitset(struct sk_buff *skb, int attrtype, 20 int ethnl_put_bitset32(struct sk_buff *skb, int attrtype, const u32 *val,
|
H A D | bitset.c | 219 * @attrtype: attribute type for the bitset nest 232 int ethnl_put_bitset32(struct sk_buff *skb, int attrtype, const u32 *val, in ethnl_put_bitset32() argument 239 nest = nla_nest_start(skb, attrtype); in ethnl_put_bitset32() 734 int ethnl_put_bitset(struct sk_buff *skb, int attrtype, in ethnl_put_bitset() argument 762 ret = ethnl_put_bitset32(skb, attrtype, val32, mask32, nbits, names, in ethnl_put_bitset() 816 int ethnl_put_bitset(struct sk_buff *skb, int attrtype, in ethnl_put_bitset() argument 821 return ethnl_put_bitset32(skb, attrtype, (const u32 *)val, in ethnl_put_bitset()
|
/kernel/linux/linux-6.6/drivers/block/drbd/ |
H A D | drbd_nla.c | 44 struct nlattr *drbd_nla_find_nested(int maxtype, struct nlattr *nla, int attrtype) in drbd_nla_find_nested() argument 55 return nla_find_nested(nla, attrtype); in drbd_nla_find_nested()
|
/kernel/linux/linux-6.6/net/ethtool/ |
H A D | bitset.h | 16 int ethnl_put_bitset(struct sk_buff *skb, int attrtype, 20 int ethnl_put_bitset32(struct sk_buff *skb, int attrtype, const u32 *val,
|
H A D | bitset.c | 219 * @attrtype: attribute type for the bitset nest 232 int ethnl_put_bitset32(struct sk_buff *skb, int attrtype, const u32 *val, in ethnl_put_bitset32() argument 239 nest = nla_nest_start(skb, attrtype); in ethnl_put_bitset32() 734 int ethnl_put_bitset(struct sk_buff *skb, int attrtype, in ethnl_put_bitset() argument 762 ret = ethnl_put_bitset32(skb, attrtype, val32, mask32, nbits, names, in ethnl_put_bitset() 816 int ethnl_put_bitset(struct sk_buff *skb, int attrtype, in ethnl_put_bitset() argument 821 return ethnl_put_bitset32(skb, attrtype, (const u32 *)val, in ethnl_put_bitset()
|
/kernel/linux/linux-5.10/net/core/ |
H A D | sock_diag.c | 61 int sock_diag_put_meminfo(struct sock *sk, struct sk_buff *skb, int attrtype) in sock_diag_put_meminfo() argument 67 return nla_put(skb, attrtype, sizeof(mem), &mem); in sock_diag_put_meminfo() 72 struct sk_buff *skb, int attrtype) in sock_diag_put_filterinfo() 81 nla_reserve(skb, attrtype, 0); in sock_diag_put_filterinfo() 96 attr = nla_reserve(skb, attrtype, flen); in sock_diag_put_filterinfo() 71 sock_diag_put_filterinfo(bool may_report_filterinfo, struct sock *sk, struct sk_buff *skb, int attrtype) sock_diag_put_filterinfo() argument
|
/kernel/linux/linux-6.6/net/core/ |
H A D | sock_diag.c | 65 int sock_diag_put_meminfo(struct sock *sk, struct sk_buff *skb, int attrtype) in sock_diag_put_meminfo() argument 71 return nla_put(skb, attrtype, sizeof(mem), &mem); in sock_diag_put_meminfo() 76 struct sk_buff *skb, int attrtype) in sock_diag_put_filterinfo() 85 nla_reserve(skb, attrtype, 0); in sock_diag_put_filterinfo() 100 attr = nla_reserve(skb, attrtype, flen); in sock_diag_put_filterinfo() 75 sock_diag_put_filterinfo(bool may_report_filterinfo, struct sock *sk, struct sk_buff *skb, int attrtype) sock_diag_put_filterinfo() argument
|