1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _UAPI_LINUX_SEG6_HMAC_H
3 #define _UAPI_LINUX_SEG6_HMAC_H
5 #include <linux/types.h>
6 #include <linux/seg6.h>
8 #define SEG6_HMAC_SECRET_LEN 64
9 #define SEG6_HMAC_FIELD_LEN 32
12 struct sr6_tlv tlvhdr
;
15 __u8 hmac
[SEG6_HMAC_FIELD_LEN
];
19 SEG6_HMAC_ALGO_SHA1
= 1,
20 SEG6_HMAC_ALGO_SHA256
= 2,