Searched refs:tcp_hdr (Results 1 - 25 of 76) sorted by relevance
1234
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_parse_tcp_hdr_opt.c | 88 struct tcphdr *tcp_hdr; local 93 tcp_hdr = (struct tcphdr *)(data + tcp_offset); 94 if (tcp_hdr + 1 > data_end) 97 tcp_hdr_opt_len = (tcp_hdr->doff * 4) - sizeof(struct tcphdr);
|
H A D | test_parse_tcp_hdr_opt_dynptr.c | 79 struct tcphdr *tcp_hdr; local 90 tcp_hdr = bpf_dynptr_slice(&ptr, off, buffer, sizeof(buffer)); 91 if (!tcp_hdr) 94 tcp_hdr_opt_len = (tcp_hdr->doff * 4) - sizeof(struct tcphdr);
|
/linux-master/include/net/ |
H A D | ip6_checksum.h | 58 struct tcphdr *th = tcp_hdr(skb); 68 struct tcphdr *th = tcp_hdr(skb);
|
H A D | tcp_ao.h | 153 const struct tcphdr *th = tcp_hdr(skb); \
|
/linux-master/drivers/net/ethernet/sfc/ |
H A D | tx_tso.c | 161 EFX_WARN_ON_ONCE_PARANOID((PTR_DIFF(tcp_hdr(skb), skb->data) + 162 (tcp_hdr(skb)->doff << 2u)) > 179 header_len = st->tcp_off + (tcp_hdr(skb)->doff << 2u); 190 st->seqnum = ntohl(tcp_hdr(skb)->seq); 192 EFX_WARN_ON_ONCE_PARANOID(tcp_hdr(skb)->urg); 193 EFX_WARN_ON_ONCE_PARANOID(tcp_hdr(skb)->syn); 194 EFX_WARN_ON_ONCE_PARANOID(tcp_hdr(skb)->rst); 307 tcp_flags = ((u8 *)tcp_hdr(skb))[TCP_FLAGS_OFFSET] & ~tcp_flags_mask;
|
H A D | tx_common.c | 343 (tcp_hdr(skb)->doff << 2u);
|
/linux-master/net/ipv6/ |
H A D | tcpv6_offload.c | 33 struct tcphdr *th = tcp_hdr(skb); 56 struct tcphdr *th = tcp_hdr(skb);
|
H A D | syncookies.c | 112 const struct tcphdr *th = tcp_hdr(skb); 140 mss = __cookie_v6_check(ipv6_hdr(skb), tcp_hdr(skb)); 170 const struct tcphdr *th = tcp_hdr(skb);
|
H A D | tcp_ipv6.c | 110 tcp_hdr(skb)->dest, 111 tcp_hdr(skb)->source); 754 const struct tcphdr *th = tcp_hdr(skb); 869 const struct tcphdr *th = tcp_hdr(skb); 1011 const struct tcphdr *th = tcp_hdr(skb); 1169 if (tcp_parse_auth_options(tcp_hdr(skb), NULL, &aoh)) 1223 if (tcp_parse_auth_options(tcp_hdr(skb), NULL, &aoh)) 1241 ntohs(tcp_hdr(skb)->source), 1243 ntohs(tcp_hdr(skb)->dest)); 1293 const struct tcphdr *th = tcp_hdr(sk [all...] |
H A D | tcp_ao.c | 57 const struct tcphdr *th = tcp_hdr(skb);
|
/linux-master/net/ipv4/ |
H A D | tcp_offload.c | 42 struct tcphdr *th = tcp_hdr(skb); 71 th = tcp_hdr(skb); 117 th = tcp_hdr(skb); 141 th = tcp_hdr(skb); 222 th2 = tcp_hdr(p); 301 struct tcphdr *th = tcp_hdr(skb); 336 struct tcphdr *th = tcp_hdr(skb);
|
H A D | syncookies.c | 174 const struct tcphdr *th = tcp_hdr(skb); 269 const struct tcphdr *th = tcp_hdr(skb); 366 mss = __cookie_v4_check(ip_hdr(skb), tcp_hdr(skb)); 401 const struct tcphdr *th = tcp_hdr(skb);
|
H A D | tcp_ipv4.c | 101 tcp_hdr(skb)->dest, 102 tcp_hdr(skb)->source); 651 struct tcphdr *th = tcp_hdr(skb); 728 const struct tcphdr *th = tcp_hdr(skb); 779 if (tcp_parse_auth_options(tcp_hdr(skb), &md5_hash_location, &aoh)) 924 const struct tcphdr *th = tcp_hdr(skb); 1033 if (tcp_parse_auth_options(tcp_hdr(skb), NULL, &aoh)) { 1093 if (tcp_parse_auth_options(tcp_hdr(skb), NULL, &aoh)) 1111 ntohs(tcp_hdr(skb)->source), 1113 ntohs(tcp_hdr(sk [all...] |
H A D | tcp_ao.c | 400 const struct tcphdr *th = tcp_hdr(skb); 443 const struct tcphdr *th = tcp_hdr(skb); 607 const struct tcphdr *th = tcp_hdr(skb); 710 const struct tcphdr *th = tcp_hdr(skb); 850 const struct tcphdr *th = tcp_hdr(skb); 888 const struct tcphdr *th = tcp_hdr(skb); 929 const struct tcphdr *th = tcp_hdr(skb); 1154 WRITE_ONCE(ao->risn, tcp_hdr(skb)->seq);
|
H A D | tcp_sigpool.c | 323 const struct tcphdr *tp = tcp_hdr(skb);
|
H A D | tcp_fastopen.c | 268 tp->snd_wnd = ntohs(tcp_hdr(skb)->window);
|
H A D | tcp_input.c | 276 !(tcp_flag_word(tcp_hdr(skb)) & TCP_REMNANT))) { 336 if (tcp_hdr(skb)->cwr) { 3630 u32 nwin = ntohs(tcp_hdr(skb)->window); 3632 if (likely(!tcp_hdr(skb)->syn)) 3699 !tcp_hdr(skb)->syn) 3933 if (tcp_ecn_rcv_ecn_echo(tp, tcp_hdr(skb))) { 4124 const struct tcphdr *th = tcp_hdr(skb); 4384 const struct tcphdr *th = tcp_hdr(skb); 5166 __skb_pull(skb, tcp_hdr(skb)->doff * 4); 6627 const struct tcphdr *th = tcp_hdr(sk [all...] |
/linux-master/net/mptcp/ |
H A D | syncookies.c | 41 struct tcphdr *th = tcp_hdr(skb);
|
/linux-master/net/core/ |
H A D | tso.c | 71 tso->tcp_seq = (tlen != sizeof(struct udphdr)) ? ntohl(tcp_hdr(skb)->seq) : 0;
|
/linux-master/include/linux/ |
H A D | tcp.h | 24 static inline struct tcphdr *tcp_hdr(const struct sk_buff *skb) function 36 return __tcp_hdrlen(tcp_hdr(skb)); 81 return (tcp_hdr(skb)->doff - 5) * 4;
|
/linux-master/net/tls/ |
H A D | tls_device_fallback.c | 175 struct tcphdr *th = tcp_hdr(skb); 243 u32 tcp_seq = ntohl(tcp_hdr(skb)->seq);
|
/linux-master/security/ |
H A D | lsm_audit.c | 58 struct tcphdr *th = tcp_hdr(skb);
|
/linux-master/drivers/net/ethernet/sfc/siena/ |
H A D | tx_common.c | 324 (tcp_hdr(skb)->doff << 2u);
|
/linux-master/net/openvswitch/ |
H A D | flow.c | 725 struct tcphdr *tcp = tcp_hdr(skb); 849 struct tcphdr *tcp = tcp_hdr(skb);
|
/linux-master/drivers/net/ethernet/fungible/funeth/ |
H A D | funeth_tx.c | 119 seq = ntohl(tcp_hdr(skb)->seq); 246 th = tcp_hdr(skb);
|
Completed in 260 milliseconds
1234