Searched refs:transport_hdr (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/tools/testing/selftests/bpf/progs/ |
D | xdpwall.c | 191 parse_tcp(struct pkt_info *info, void *transport_hdr, void *data_end) in parse_tcp() argument 193 struct tcphdr *tcp = transport_hdr; in parse_tcp() 206 parse_udp(struct pkt_info *info, void *transport_hdr, void *data_end) in parse_udp() argument 208 struct udphdr *udp = transport_hdr; in parse_udp() 234 filter_transport_hdr(void *transport_hdr, void *data_end, in filter_transport_hdr() argument 238 if (!parse_tcp(info, transport_hdr, data_end)) in filter_transport_hdr() 246 if (!parse_udp(info, transport_hdr, data_end)) in filter_transport_hdr() 324 void *transport_hdr; in edgewall() local 348 transport_hdr = get_transport_hdr(info.trans_hdr_offset, data, in edgewall() 350 if (!transport_hdr) in edgewall() [all …]
|
/linux-6.6.21/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_main.c | 800 u8 *transport_hdr; in fm10k_tx_csum() local 819 transport_hdr = skb_inner_transport_header(skb); in fm10k_tx_csum() 823 transport_hdr = skb_transport_header(skb); in fm10k_tx_csum() 832 if (likely((transport_hdr - network_hdr.raw) == in fm10k_tx_csum()
|
/linux-6.6.21/drivers/net/ethernet/wangxun/libwx/ |
D | wx_lib.c | 1350 } transport_hdr; in wx_tx_csum() local 1354 transport_hdr.raw = skb_inner_transport_header(skb); in wx_tx_csum() 1396 transport_hdr.raw = skb_transport_header(skb); in wx_tx_csum() 1403 vlan_macip_lens |= (transport_hdr.raw - network_hdr.raw) >> 1; in wx_tx_csum() 1407 vlan_macip_lens |= (transport_hdr.raw - network_hdr.raw) >> 1; in wx_tx_csum() 1416 mss_l4len_idx = (transport_hdr.tcphdr->doff * 4) << in wx_tx_csum()
|