#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 */ /linux/net-next.git' title='net-next.git Git repository'/>
summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJohan Hovold <johan@hovoldconsulting.com>2016-08-03 14:09:34 +0200
committerGreg Kroah-Hartman <gregkh@google.com>2016-08-03 15:42:38 +0200
commit54f34e1e4d065ea38f531341018b41c590d71861 (patch)
tree57d81bae2e4610eae8d9ed3dc76a29ef9b69cecc /drivers
parent121bae2bec47a9944049f2583b1d31f479110f0f (diff)
greybus: es2: add define for ARPC CPort requests
Add dedicated define for ARPC CPort requests instead of using the default timeout for USB vendor requests. We still allow responses to take 500 ms to arrive, but note that this adds on top of the 500ms already allowed for a requests to be acknowledged. This should probably be tightened up at some point. Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/greybus/es2.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/staging/greybus/es2.c b/drivers/staging/greybus/es2.c