Home
last modified time | relevance | path

Searched refs:tcp_len (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dxdp_synproxy_kern.c273 __u16 tcp_len, __be32 *tsval, in tscookie_init() argument
370 __u16 tcp_len; member
421 hdr->tcp_len = hdr->tcp->doff * 4; in tcp_dissect()
422 if (hdr->tcp_len < sizeof(*hdr->tcp)) in tcp_dissect()
552 hdr->tcp_len = hdr->tcp->doff * 4; in tcpv4_gen_synack()
553 hdr->ipv4->tot_len = bpf_htons(sizeof(*hdr->ipv4) + hdr->tcp_len); in tcpv4_gen_synack()
573 hdr->tcp_len = hdr->tcp->doff * 4; in tcpv6_gen_synack()
574 hdr->ipv6->payload_len = bpf_htons(hdr->tcp_len); in tcpv6_gen_synack()
625 value = bpf_csum_diff(0, 0, (void *)hdr->tcp, hdr->tcp_len, 0); in syncookie_handle_syn()
629 hdr->tcp_len, IPPROTO_TCP, value) != 0) in syncookie_handle_syn()
[all …]
/openbmc/linux/net/openvswitch/
H A Dflow.c216 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()
/openbmc/linux/drivers/net/ethernet/neterion/
H A Ds2io.h1102 u8 **tcp, u32 *tcp_len, struct lro **lro, struct RxD_t *rxdp,
1108 struct sk_buff *skb, u32 tcp_len);
H A Ds2io.c7386 u32 tcp_len = 0; in rx_osm_handler() local
7392 &tcp_len, &lro, in rx_osm_handler()
7399 lro_append_pkt(sp, lro, skb, tcp_len); in rx_osm_handler()
7402 lro_append_pkt(sp, lro, skb, tcp_len); in rx_osm_handler()
8356 u8 **tcp, u32 *tcp_len, struct lro **lro, in s2io_club_tcp_session() argument
8374 *tcp_len = get_l4_pyld_length(ip, tcph); in s2io_club_tcp_session()
8396 *tcp_len)) in s2io_club_tcp_session()
8410 if (verify_l3_l4_lro_capable(NULL, ip, tcph, *tcp_len)) in s2io_club_tcp_session()
8432 initiate_new_session(*lro, buffer, ip, tcph, *tcp_len, in s2io_club_tcp_session()
8439 aggregate_new_rx(*lro, ip, tcph, *tcp_len); in s2io_club_tcp_session()
[all …]