linux/include/uapi/linux/seg6_local.h

/*
 *  SR-IPv6 implementation
 *
 *  Author:
 *  David Lebrun <[email protected]>
 *
 *
 *  This program is free software; you can redistribute it and/or
 *      modify it under the terms of the GNU General Public License
 *      as published by the Free Software Foundation; either version
 *      2 of the License, or (at your option) any later version.
 */

#ifndef _UAPI_LINUX_SEG6_LOCAL_H
#define _UAPI_LINUX_SEG6_LOCAL_H

#include <linux/seg6.h>

enum {};
#define SEG6_LOCAL_MAX

enum {};

#define SEG6_LOCAL_ACTION_MAX

enum {};

#define SEG6_LOCAL_BPF_PROG_MAX

/* SRv6 Behavior counters are encoded as netlink attributes guaranteeing the
 * correct alignment.
 * Each counter is identified by a different attribute type (i.e.
 * SEG6_LOCAL_CNT_PACKETS).
 *
 * - SEG6_LOCAL_CNT_PACKETS: identifies a counter that counts the number of
 *   packets that have been CORRECTLY processed by an SRv6 Behavior instance
 *   (i.e., packets that generate errors or are dropped are NOT counted).
 *
 * - SEG6_LOCAL_CNT_BYTES: identifies a counter that counts the total amount
 *   of traffic in bytes of all packets that have been CORRECTLY processed by
 *   an SRv6 Behavior instance (i.e., packets that generate errors or are
 *   dropped are NOT counted).
 *
 * - SEG6_LOCAL_CNT_ERRORS: identifies a counter that counts the number of
 *   packets that have NOT been properly processed by an SRv6 Behavior instance
 *   (i.e., packets that generate errors or are dropped).
 */
enum {};

#define SEG6_LOCAL_CNT_MAX

/* SRv6 End* Flavor attributes */
enum {};

#define SEG6_LOCAL_FLV_MAX

/* Designed flavor operations for SRv6 End* Behavior */
enum {};

#define SEG6_LOCAL_FLV_OP_MAX

#endif