Searched refs:hmackeyid (Results 1 – 4 of 4) sorted by relevance
/linux/net/ipv6/ |
A D | seg6.c | 157 u32 hmackeyid; in seg6_genl_sethmac() local 170 hmackeyid = nla_get_u32(info->attrs[SEG6_ATTR_HMACKEYID]); in seg6_genl_sethmac() 174 if (hmackeyid == 0) in seg6_genl_sethmac() 181 hinfo = seg6_hmac_info_lookup(net, hmackeyid); in seg6_genl_sethmac() 184 err = seg6_hmac_info_del(net, hmackeyid); in seg6_genl_sethmac() 195 err = seg6_hmac_info_del(net, hmackeyid); in seg6_genl_sethmac() 211 hinfo->hmackeyid = hmackeyid; in seg6_genl_sethmac() 213 err = seg6_hmac_info_add(net, hmackeyid, hinfo); in seg6_genl_sethmac() 299 if (nla_put_u32(msg, SEG6_ATTR_HMACKEYID, hinfo->hmackeyid) || in __seg6_hmac_fill_info()
|
A D | seg6_hmac.c | 49 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() 265 hinfo = seg6_hmac_info_lookup(net, be32_to_cpu(tlv->hmackeyid)); in seg6_hmac_validate_skb() 338 hinfo = seg6_hmac_info_lookup(net, be32_to_cpu(tlv->hmackeyid)); in seg6_push_hmac()
|
/linux/include/uapi/linux/ |
A D | seg6_hmac.h | 14 __be32 hmackeyid; member
|
/linux/include/net/ |
A D | seg6_hmac.h | 29 u32 hmackeyid; member
|
Completed in 6 milliseconds