Server IP : 85.214.239.14 / Your IP : 3.137.171.71 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/2/root/usr/include/linux/tc_act/ |
Upload File : |
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* Copyright (C) 2019 Netronome Systems, Inc. */ #ifndef __LINUX_TC_MPLS_H #define __LINUX_TC_MPLS_H #include <linux/pkt_cls.h> #define TCA_MPLS_ACT_POP 1 #define TCA_MPLS_ACT_PUSH 2 #define TCA_MPLS_ACT_MODIFY 3 #define TCA_MPLS_ACT_DEC_TTL 4 #define TCA_MPLS_ACT_MAC_PUSH 5 struct tc_mpls { tc_gen; /* generic TC action fields. */ int m_action; /* action of type TCA_MPLS_ACT_*. */ }; enum { TCA_MPLS_UNSPEC, TCA_MPLS_TM, /* struct tcf_t; time values associated with action. */ TCA_MPLS_PARMS, /* struct tc_mpls; action type and general TC fields. */ TCA_MPLS_PAD, TCA_MPLS_PROTO, /* be16; eth_type of pushed or next (for pop) header. */ TCA_MPLS_LABEL, /* u32; MPLS label. Lower 20 bits are used. */ TCA_MPLS_TC, /* u8; MPLS TC field. Lower 3 bits are used. */ TCA_MPLS_TTL, /* u8; MPLS TTL field. Must not be 0. */ TCA_MPLS_BOS, /* u8; MPLS BOS field. Either 1 or 0. */ __TCA_MPLS_MAX, }; #define TCA_MPLS_MAX (__TCA_MPLS_MAX - 1) #endif