#ifndef TRAFGEN_L4_H #define TRAFGEN_L4_H enum udp_field { UDP_SPORT, UDP_DPORT, UDP_LEN, UDP_CSUM, }; enum tcp_field { TCP_SPORT, TCP_DPORT, TCP_SEQ, TCP_ACK_SEQ, TCP_DOFF, TCP_CWR, TCP_ECE, TCP_URG, TCP_ACK, TCP_PSH, TCP_RST, TCP_SYN, TCP_FIN, TCP_WINDOW, TCP_CSUM, TCP_URG_PTR, }; enum icmpv4_field { ICMPV4_TYPE, ICMPV4_CODE, ICMPV4_CSUM, ICMPV4_ID, ICMPV4_SEQ, ICMPV4_REDIR_ADDR, ICMPV4_MTU, }; enum icmpv6_field { ICMPV6_TYPE, ICMPV6_CODE, ICMPV6_CSUM, }; extern void protos_l4_init(void); #endif /* TRAFGEN_L4_H */ t repository'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2017-02-01 12:53:59 -0500
committerDavid S. Miller <davem@davemloft.net>2017-02-01 12:53:59 -0500
commit6107dbdb64465848e310b85ebe589236e24a9680 (patch)
tree93e3f203282ea27a332bb640541c5c3e3fd5319f
parent889711a03e0fba427fb85317900e93c74e3be02a (diff)
parent0cf45a3b1e2c47bbcc9e75cbed5c660492e297da (diff)
Merge branch 'sh_eth-fixes-for-MagicPacket-handling'
Niklas Söderlund says: ==================== sh_eth: fixes for MagicPacket handling This series contain two fixes for MagicPacket handling. It's based on top of net-next and is tested on Koelsch. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>