Searched refs:tcp_len (Results 1 – 4 of 4) sorted by relevance
/linux-6.14.4/tools/testing/selftests/bpf/progs/ |
D | xdp_synproxy_kern.c | 275 __u16 tcp_len, __be32 *tsval, in tscookie_init() argument 372 __u16 tcp_len; member 423 hdr->tcp_len = hdr->tcp->doff * 4; in tcp_dissect() 424 if (hdr->tcp_len < sizeof(*hdr->tcp)) in tcp_dissect() 554 hdr->tcp_len = hdr->tcp->doff * 4; in tcpv4_gen_synack() 555 hdr->ipv4->tot_len = bpf_htons(sizeof(*hdr->ipv4) + hdr->tcp_len); in tcpv4_gen_synack() 575 hdr->tcp_len = hdr->tcp->doff * 4; in tcpv6_gen_synack() 576 hdr->ipv6->payload_len = bpf_htons(hdr->tcp_len); in tcpv6_gen_synack() 627 value = bpf_csum_diff(0, 0, (void *)hdr->tcp, hdr->tcp_len, 0); in syncookie_handle_syn() 631 hdr->tcp_len, IPPROTO_TCP, value) != 0) in syncookie_handle_syn() [all …]
|
/linux-6.14.4/net/openvswitch/ |
D | flow.c | 216 int tcp_len; in tcphdr_ok() local 221 tcp_len = tcp_hdrlen(skb); in tcphdr_ok() 222 if (unlikely(tcp_len < sizeof(struct tcphdr) || in tcphdr_ok() 223 skb->len < th_ofs + tcp_len)) in tcphdr_ok()
|
/linux-6.14.4/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 | 7387 u32 tcp_len = 0; in rx_osm_handler() local 7393 &tcp_len, &lro, in rx_osm_handler() 7400 lro_append_pkt(sp, lro, skb, tcp_len); in rx_osm_handler() 7403 lro_append_pkt(sp, lro, skb, tcp_len); in rx_osm_handler() 8357 u8 **tcp, u32 *tcp_len, struct lro **lro, in s2io_club_tcp_session() argument 8375 *tcp_len = get_l4_pyld_length(ip, tcph); in s2io_club_tcp_session() 8397 *tcp_len)) in s2io_club_tcp_session() 8411 if (verify_l3_l4_lro_capable(NULL, ip, tcph, *tcp_len)) in s2io_club_tcp_session() 8433 initiate_new_session(*lro, buffer, ip, tcph, *tcp_len, in s2io_club_tcp_session() 8440 aggregate_new_rx(*lro, ip, tcph, *tcp_len); in s2io_club_tcp_session() [all …]
|