act_csum.c (3eb66e91a25497065c5322b1268cbc3953642227) act_csum.c (eddd2cf195d6fb5e4bbc91a0fe4be55110f559ab)
1/*
2 * Checksum updating actions
3 *
4 * Copyright (c) 2010 Gregoire Baron <baronchon@n7mm.org>
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the Free
8 * Software Foundation; either version 2 of the License, or (at your option)

--- 646 unchanged lines hidden (view full) ---

655
656static size_t tcf_csum_get_fill_size(const struct tc_action *act)
657{
658 return nla_total_size(sizeof(struct tc_csum));
659}
660
661static struct tc_action_ops act_csum_ops = {
662 .kind = "csum",
1/*
2 * Checksum updating actions
3 *
4 * Copyright (c) 2010 Gregoire Baron <baronchon@n7mm.org>
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the Free
8 * Software Foundation; either version 2 of the License, or (at your option)

--- 646 unchanged lines hidden (view full) ---

655
656static size_t tcf_csum_get_fill_size(const struct tc_action *act)
657{
658 return nla_total_size(sizeof(struct tc_csum));
659}
660
661static struct tc_action_ops act_csum_ops = {
662 .kind = "csum",
663 .type = TCA_ACT_CSUM,
663 .id = TCA_ID_CSUM,
664 .owner = THIS_MODULE,
665 .act = tcf_csum_act,
666 .dump = tcf_csum_dump,
667 .init = tcf_csum_init,
668 .cleanup = tcf_csum_cleanup,
669 .walk = tcf_csum_walker,
670 .lookup = tcf_csum_search,
671 .get_fill_size = tcf_csum_get_fill_size,

--- 37 unchanged lines hidden ---
664 .owner = THIS_MODULE,
665 .act = tcf_csum_act,
666 .dump = tcf_csum_dump,
667 .init = tcf_csum_init,
668 .cleanup = tcf_csum_cleanup,
669 .walk = tcf_csum_walker,
670 .lookup = tcf_csum_search,
671 .get_fill_size = tcf_csum_get_fill_size,

--- 37 unchanged lines hidden ---