Home
last modified time | relevance | path

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

/Linux-v4.19/net/ipv6/
Dseg6.c93 u32 hmackeyid; in seg6_genl_sethmac() local
106 hmackeyid = nla_get_u32(info->attrs[SEG6_ATTR_HMACKEYID]); in seg6_genl_sethmac()
110 if (hmackeyid == 0) in seg6_genl_sethmac()
117 hinfo = seg6_hmac_info_lookup(net, hmackeyid); in seg6_genl_sethmac()
123 err = seg6_hmac_info_del(net, hmackeyid); in seg6_genl_sethmac()
134 err = seg6_hmac_info_del(net, hmackeyid); in seg6_genl_sethmac()
150 hinfo->hmackeyid = hmackeyid; in seg6_genl_sethmac()
152 err = seg6_hmac_info_add(net, hmackeyid, hinfo); in seg6_genl_sethmac()
240 if (nla_put_u32(msg, SEG6_ATTR_HMACKEYID, hinfo->hmackeyid) || in __seg6_hmac_fill_info()
Dseg6_hmac.c56 return (hinfo->hmackeyid != *(__u32 *)arg->key); in seg6_hmac_cmpfn()
74 .key_offset = offsetof(struct seg6_hmac_info, hmackeyid),
170 __be32 hmackeyid = cpu_to_be32(hinfo->hmackeyid); in seg6_hmac_compute() local
211 memcpy(off, &hmackeyid, 4); in seg6_hmac_compute()
272 hinfo = seg6_hmac_info_lookup(net, be32_to_cpu(tlv->hmackeyid)); in seg6_hmac_validate_skb()
345 hinfo = seg6_hmac_info_lookup(net, be32_to_cpu(tlv->hmackeyid)); in seg6_push_hmac()
/Linux-v4.19/include/uapi/linux/
Dseg6_hmac.h14 __be32 hmackeyid; member
/Linux-v4.19/include/net/
Dseg6_hmac.h34 u32 hmackeyid; member