Searched refs:tcp_len (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | xdp_synproxy_kern.c | 258 __u16 tcp_len, __be32 *tsval, in tscookie_init() argument 263 .end = (__u8 *)tcp_header + tcp_len, in tscookie_init() 350 __u16 tcp_len; member 401 hdr->tcp_len = hdr->tcp->doff * 4; in tcp_dissect() 402 if (hdr->tcp_len < sizeof(*hdr->tcp)) in tcp_dissect() 532 hdr->tcp_len = hdr->tcp->doff * 4; in tcpv4_gen_synack() 533 hdr->ipv4->tot_len = bpf_htons(sizeof(*hdr->ipv4) + hdr->tcp_len); in tcpv4_gen_synack() 553 hdr->tcp_len = hdr->tcp->doff * 4; in tcpv6_gen_synack() 554 hdr->ipv6->payload_len = bpf_htons(hdr->tcp_len); in tcpv6_gen_synack() 605 value = bpf_csum_diff(0, 0, (void *)hdr->tcp, hdr->tcp_len, 0); in syncookie_handle_syn() [all …]
|
/linux-6.1.9/net/openvswitch/ |
D | flow.c | 213 int tcp_len; in tcphdr_ok() local 218 tcp_len = tcp_hdrlen(skb); in tcphdr_ok() 219 if (unlikely(tcp_len < sizeof(struct tcphdr) || in tcphdr_ok() 220 skb->len < th_ofs + tcp_len)) in tcphdr_ok()
|
/linux-6.1.9/drivers/net/ethernet/neterion/ |
D | s2io.h | 1102 u8 **tcp, u32 *tcp_len, struct lro **lro, struct RxD_t *rxdp, 1108 struct sk_buff *skb, u32 tcp_len);
|
D | s2io.c | 7393 u32 tcp_len = 0; in rx_osm_handler() local 7399 &tcp_len, &lro, in rx_osm_handler() 7406 lro_append_pkt(sp, lro, skb, tcp_len); in rx_osm_handler() 7409 lro_append_pkt(sp, lro, skb, tcp_len); in rx_osm_handler() 8363 u8 **tcp, u32 *tcp_len, struct lro **lro, in s2io_club_tcp_session() argument 8381 *tcp_len = get_l4_pyld_length(ip, tcph); in s2io_club_tcp_session() 8403 *tcp_len)) in s2io_club_tcp_session() 8417 if (verify_l3_l4_lro_capable(NULL, ip, tcph, *tcp_len)) in s2io_club_tcp_session() 8439 initiate_new_session(*lro, buffer, ip, tcph, *tcp_len, in s2io_club_tcp_session() 8446 aggregate_new_rx(*lro, ip, tcph, *tcp_len); in s2io_club_tcp_session() [all …]
|