Home
last modified time | relevance | path

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

/Linux-v5.4/net/ipv6/
Dseg6.c88 u32 hmackeyid; in seg6_genl_sethmac() local
101 hmackeyid = nla_get_u32(info->attrs[SEG6_ATTR_HMACKEYID]); in seg6_genl_sethmac()
105 if (hmackeyid == 0) in seg6_genl_sethmac()
112 hinfo = seg6_hmac_info_lookup(net, hmackeyid); in seg6_genl_sethmac()
118 err = seg6_hmac_info_del(net, hmackeyid); in seg6_genl_sethmac()
129 err = seg6_hmac_info_del(net, hmackeyid); in seg6_genl_sethmac()
145 hinfo->hmackeyid = hmackeyid; in seg6_genl_sethmac()
147 err = seg6_hmac_info_add(net, hmackeyid, hinfo); in seg6_genl_sethmac()
233 if (nla_put_u32(msg, SEG6_ATTR_HMACKEYID, hinfo->hmackeyid) || in __seg6_hmac_fill_info()
Dseg6_hmac.c51 return (hinfo->hmackeyid != *(__u32 *)arg->key); in seg6_hmac_cmpfn()
69 .key_offset = offsetof(struct seg6_hmac_info, hmackeyid),
165 __be32 hmackeyid = cpu_to_be32(hinfo->hmackeyid); in seg6_hmac_compute() local
206 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-v5.4/include/uapi/linux/
Dseg6_hmac.h14 __be32 hmackeyid; member
/Linux-v5.4/include/net/
Dseg6_hmac.h29 u32 hmackeyid; member