Blame include/uapi/linux/tc_act/tc_vlan.h

Packit Service 3880ab
/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
Packit Service 3880ab
/*
Packit Service 3880ab
 * Copyright (c) 2014 Jiri Pirko <jiri@resnulli.us>
Packit Service 3880ab
 *
Packit Service 3880ab
 * This program is free software; you can redistribute it and/or modify
Packit Service 3880ab
 * it under the terms of the GNU General Public License as published by
Packit Service 3880ab
 * the Free Software Foundation; either version 2 of the License, or
Packit Service 3880ab
 * (at your option) any later version.
Packit Service 3880ab
 */
Packit Service 3880ab
Packit Service 3880ab
#ifndef __LINUX_TC_VLAN_H
Packit Service 3880ab
#define __LINUX_TC_VLAN_H
Packit Service 3880ab
Packit Service 3880ab
#include <linux/pkt_cls.h>
Packit Service 3880ab
Packit Service 3880ab
#define TCA_VLAN_ACT_POP	1
Packit Service 3880ab
#define TCA_VLAN_ACT_PUSH	2
Packit Service 3880ab
#define TCA_VLAN_ACT_MODIFY	3
Packit Service 3880ab
Packit Service 3880ab
struct tc_vlan {
Packit Service 3880ab
	tc_gen;
Packit Service 3880ab
	int v_action;
Packit Service 3880ab
};
Packit Service 3880ab
Packit Service 3880ab
enum {
Packit Service 3880ab
	TCA_VLAN_UNSPEC,
Packit Service 3880ab
	TCA_VLAN_TM,
Packit Service 3880ab
	TCA_VLAN_PARMS,
Packit Service 3880ab
	TCA_VLAN_PUSH_VLAN_ID,
Packit Service 3880ab
	TCA_VLAN_PUSH_VLAN_PROTOCOL,
Packit Service 3880ab
	TCA_VLAN_PAD,
Packit Service 3880ab
	TCA_VLAN_PUSH_VLAN_PRIORITY,
Packit Service 3880ab
	__TCA_VLAN_MAX,
Packit Service 3880ab
};
Packit Service 3880ab
#define TCA_VLAN_MAX (__TCA_VLAN_MAX - 1)
Packit Service 3880ab
Packit Service 3880ab
#endif