Home
last modified time | relevance | path

Searched refs:transport_offset (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/net/ipv6/
H A Dfou6.c92 int transport_offset = skb_transport_offset(skb); in gue6_err() local
98 if (!pskb_may_pull(skb, transport_offset + len)) in gue6_err()
133 if (!pskb_may_pull(skb, transport_offset + len + optlen)) in gue6_err()
153 skb_set_transport_header(skb, transport_offset); in gue6_err()
H A Dudp.c525 int network_offset, transport_offset; in __udp6_lib_err_encap() local
529 transport_offset = skb_transport_offset(skb); in __udp6_lib_err_encap()
564 skb_set_transport_header(skb, transport_offset); in __udp6_lib_err_encap()
/openbmc/linux/include/trace/events/
H A Dnet.h33 __field( int, transport_offset)
54 __entry->transport_offset = skb_transport_header_was_set(skb) ?
68 __entry->transport_offset, __entry->tx_flags,
/openbmc/linux/net/ipv4/
H A Dfou_core.c1102 int transport_offset = skb_transport_offset(skb); in gue_err() local
1108 if (!pskb_may_pull(skb, transport_offset + len)) in gue_err()
1143 if (!pskb_may_pull(skb, transport_offset + len + optlen)) in gue_err()
1162 skb_set_transport_header(skb, transport_offset); in gue_err()
H A Dudp.c667 int network_offset, transport_offset; in __udp4_lib_err_encap() local
671 transport_offset = skb_transport_offset(skb); in __udp4_lib_err_encap()
704 skb_set_transport_header(skb, transport_offset); in __udp4_lib_err_encap()
/openbmc/linux/drivers/net/usb/
H A Dr8152.c2280 u32 transport_offset = (u32)skb_transport_offset(skb); in r8152_tx_csum() local
2282 if (transport_offset > GTTCPHO_MAX) { in r8152_tx_csum()
2285 transport_offset); in r8152_tx_csum()
2309 opts1 |= transport_offset << GTTCPHO_SHIFT; in r8152_tx_csum()
2312 u32 transport_offset = (u32)skb_transport_offset(skb); in r8152_tx_csum() local
2315 if (transport_offset > TCPHO_MAX) { in r8152_tx_csum()
2318 transport_offset); in r8152_tx_csum()
2346 opts2 |= transport_offset << TCPHO_SHIFT; in r8152_tx_csum()