1ca9b0e27SAlexander Duyck /* 2ca9b0e27SAlexander Duyck * Copyright (c) 2008, Intel Corporation. 3ca9b0e27SAlexander Duyck * 4ca9b0e27SAlexander Duyck * This program is free software; you can redistribute it and/or modify it 5ca9b0e27SAlexander Duyck * under the terms and conditions of the GNU General Public License, 6ca9b0e27SAlexander Duyck * version 2, as published by the Free Software Foundation. 7ca9b0e27SAlexander Duyck * 8ca9b0e27SAlexander Duyck * This program is distributed in the hope it will be useful, but WITHOUT 9ca9b0e27SAlexander Duyck * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 10ca9b0e27SAlexander Duyck * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 11ca9b0e27SAlexander Duyck * more details. 12ca9b0e27SAlexander Duyck * 13ca9b0e27SAlexander Duyck * You should have received a copy of the GNU General Public License along with 14ca9b0e27SAlexander Duyck * this program; if not, write to the Free Software Foundation, Inc., 59 Temple 15ca9b0e27SAlexander Duyck * Place - Suite 330, Boston, MA 02111-1307 USA. 16ca9b0e27SAlexander Duyck * 17ca9b0e27SAlexander Duyck * Author: Alexander Duyck <alexander.h.duyck@intel.com> 18ca9b0e27SAlexander Duyck */ 19ca9b0e27SAlexander Duyck 20ca9b0e27SAlexander Duyck #ifndef __NET_TC_SKBEDIT_H 21ca9b0e27SAlexander Duyck #define __NET_TC_SKBEDIT_H 22ca9b0e27SAlexander Duyck 23ca9b0e27SAlexander Duyck #include <net/act_api.h> 24ca9b0e27SAlexander Duyck 25ca9b0e27SAlexander Duyck struct tcf_skbedit { 26ca9b0e27SAlexander Duyck struct tcf_common common; 27ca9b0e27SAlexander Duyck u32 flags; 28ca9b0e27SAlexander Duyck u32 priority; 29*1c55d62eSjamal u32 mark; 30ca9b0e27SAlexander Duyck u16 queue_mapping; 31*1c55d62eSjamal /* XXX: 16-bit pad here? */ 32ca9b0e27SAlexander Duyck }; 33ca9b0e27SAlexander Duyck #define to_skbedit(pc) \ 34ca9b0e27SAlexander Duyck container_of(pc, struct tcf_skbedit, common) 35ca9b0e27SAlexander Duyck 36ca9b0e27SAlexander Duyck #endif /* __NET_TC_SKBEDIT_H */ 37