Home
last modified time | relevance | path

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

/net/ipv6/
A 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()
A 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
212 memcpy(off, &hmackeyid, 4); in seg6_hmac_compute()
276 hinfo = seg6_hmac_info_lookup(net, be32_to_cpu(tlv->hmackeyid)); in seg6_hmac_validate_skb()
349 hinfo = seg6_hmac_info_lookup(net, be32_to_cpu(tlv->hmackeyid)); in seg6_push_hmac()

Completed in 8 milliseconds