act_skbedit.c (3eb66e91a25497065c5322b1268cbc3953642227) | act_skbedit.c (eddd2cf195d6fb5e4bbc91a0fe4be55110f559ab) |
---|---|
1/* 2 * Copyright (c) 2008, Intel Corporation. 3 * 4 * This program is free software; you can redistribute it and/or modify it 5 * under the terms and conditions of the GNU General Public License, 6 * version 2, as published by the Free Software Foundation. 7 * 8 * This program is distributed in the hope it will be useful, but WITHOUT --- 291 unchanged lines hidden (view full) --- 300{ 301 struct tc_action_net *tn = net_generic(net, skbedit_net_id); 302 303 return tcf_idr_search(tn, a, index); 304} 305 306static struct tc_action_ops act_skbedit_ops = { 307 .kind = "skbedit", | 1/* 2 * Copyright (c) 2008, Intel Corporation. 3 * 4 * This program is free software; you can redistribute it and/or modify it 5 * under the terms and conditions of the GNU General Public License, 6 * version 2, as published by the Free Software Foundation. 7 * 8 * This program is distributed in the hope it will be useful, but WITHOUT --- 291 unchanged lines hidden (view full) --- 300{ 301 struct tc_action_net *tn = net_generic(net, skbedit_net_id); 302 303 return tcf_idr_search(tn, a, index); 304} 305 306static struct tc_action_ops act_skbedit_ops = { 307 .kind = "skbedit", |
308 .type = TCA_ACT_SKBEDIT, | 308 .id = TCA_ID_SKBEDIT, |
309 .owner = THIS_MODULE, 310 .act = tcf_skbedit_act, 311 .dump = tcf_skbedit_dump, 312 .init = tcf_skbedit_init, 313 .cleanup = tcf_skbedit_cleanup, 314 .walk = tcf_skbedit_walker, 315 .lookup = tcf_skbedit_search, 316 .size = sizeof(struct tcf_skbedit), --- 37 unchanged lines hidden --- | 309 .owner = THIS_MODULE, 310 .act = tcf_skbedit_act, 311 .dump = tcf_skbedit_dump, 312 .init = tcf_skbedit_init, 313 .cleanup = tcf_skbedit_cleanup, 314 .walk = tcf_skbedit_walker, 315 .lookup = tcf_skbedit_search, 316 .size = sizeof(struct tcf_skbedit), --- 37 unchanged lines hidden --- |