Home
last modified time | relevance | path

Searched refs:hmackeyid (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/net/ipv6/
Dseg6.c155 u32 hmackeyid; in seg6_genl_sethmac() local
168 hmackeyid = nla_get_u32(info->attrs[SEG6_ATTR_HMACKEYID]); in seg6_genl_sethmac()
172 if (hmackeyid == 0) in seg6_genl_sethmac()
179 hinfo = seg6_hmac_info_lookup(net, hmackeyid); in seg6_genl_sethmac()
182 err = seg6_hmac_info_del(net, hmackeyid); in seg6_genl_sethmac()
198 err = seg6_hmac_info_del(net, hmackeyid); in seg6_genl_sethmac()
214 hinfo->hmackeyid = hmackeyid; in seg6_genl_sethmac()
216 err = seg6_hmac_info_add(net, hmackeyid, hinfo); in seg6_genl_sethmac()
302 if (nla_put_u32(msg, SEG6_ATTR_HMACKEYID, hinfo->hmackeyid) || in __seg6_hmac_fill_info()
Dseg6_hmac.c49 return (hinfo->hmackeyid != *(__u32 *)arg->key); in seg6_hmac_cmpfn()
67 .key_offset = offsetof(struct seg6_hmac_info, hmackeyid),
163 __be32 hmackeyid = cpu_to_be32(hinfo->hmackeyid); in seg6_hmac_compute() local
204 memcpy(off, &hmackeyid, 4); in seg6_hmac_compute()
267 hinfo = seg6_hmac_info_lookup(net, be32_to_cpu(tlv->hmackeyid)); in seg6_hmac_validate_skb()
340 hinfo = seg6_hmac_info_lookup(net, be32_to_cpu(tlv->hmackeyid)); in seg6_push_hmac()
/linux-6.12.1/include/uapi/linux/
Dseg6_hmac.h14 __be32 hmackeyid; member
/linux-6.12.1/include/net/
Dseg6_hmac.h29 u32 hmackeyid; member