Home
last modified time | relevance | path

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

/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.c522 int network_offset, transport_offset; in __udp6_lib_err_encap() local
526 transport_offset = skb_transport_offset(skb); in __udp6_lib_err_encap()
561 skb_set_transport_header(skb, transport_offset); in __udp6_lib_err_encap()
/linux/include/trace/events/
H A Dnet.h33 __field( int, transport_offset)
54 __entry->transport_offset = skb_transport_header_was_set(skb) ?
62 TP_printk("dev=%s queue_mapping=%u skbaddr=%p vlan_tagged=%d vlan_proto=0x%04x vlan_tci=0x%04x protocol=0x%04x ip_summed=%d len=%u data_len=%u network_offset=%d transport_offset_valid=%d transport_offset=%d tx_flags=%d gso_size=%d gso_segs=%d gso_type=%#x",
68 __entry->transport_offset, __entry->tx_flags,
/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.c666 int network_offset, transport_offset; in __udp4_lib_err_encap() local
670 transport_offset = skb_transport_offset(skb); in __udp4_lib_err_encap()
703 skb_set_transport_header(skb, transport_offset); in __udp4_lib_err_encap()
/linux/drivers/net/usb/
H A Dr8152.c2282 u32 transport_offset = (u32)skb_transport_offset(skb); in r8152_tx_csum() local
2284 if (transport_offset > GTTCPHO_MAX) { in r8152_tx_csum()
2287 transport_offset); in r8152_tx_csum()
2311 opts1 |= transport_offset << GTTCPHO_SHIFT; in r8152_tx_csum()
2314 u32 transport_offset = (u32)skb_transport_offset(skb); in r8152_tx_csum() local
2317 if (transport_offset > TCPHO_MAX) { in r8152_tx_csum()
2320 transport_offset); in r8152_tx_csum()
2348 opts2 |= transport_offset << TCPHO_SHIFT; in r8152_tx_csum()