diff options
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 83ce2aee65e6..c31022980e18 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -1675,7 +1675,10 @@ struct napi_gro_cb { | |||
1675 | unsigned long age; | 1675 | unsigned long age; |
1676 | 1676 | ||
1677 | /* Used in ipv6_gro_receive() */ | 1677 | /* Used in ipv6_gro_receive() */ |
1678 | int proto; | 1678 | u16 proto; |
1679 | |||
1680 | /* Used in udp_gro_receive */ | ||
1681 | u16 udp_mark; | ||
1679 | 1682 | ||
1680 | /* used to support CHECKSUM_COMPLETE for tunneling protocols */ | 1683 | /* used to support CHECKSUM_COMPLETE for tunneling protocols */ |
1681 | __wsum csum; | 1684 | __wsum csum; |
@@ -1714,6 +1717,11 @@ struct packet_offload { | |||
1714 | struct list_head list; | 1717 | struct list_head list; |
1715 | }; | 1718 | }; |
1716 | 1719 | ||
1720 | struct udp_offload { | ||
1721 | __be16 port; | ||
1722 | struct offload_callbacks callbacks; | ||
1723 | }; | ||
1724 | |||
1717 | /* often modified stats are per cpu, other are shared (netdev->stats) */ | 1725 | /* often modified stats are per cpu, other are shared (netdev->stats) */ |
1718 | struct pcpu_sw_netstats { | 1726 | struct pcpu_sw_netstats { |
1719 | u64 rx_packets; | 1727 | u64 rx_packets; |