Home
last modified time | relevance | path

Searched refs:doff (Results 1 – 25 of 39) sorted by relevance

12

/net/ipv6/
A Dinet6_hashtables.c130 struct sk_buff *skb, int doff, in inet6_lookup_reuseport() argument
143 reuse_sk = reuseport_select_sock(sk, phash, skb, doff); in inet6_lookup_reuseport()
152 struct sk_buff *skb, int doff, in inet6_lhash2_lookup() argument
164 result = inet6_lookup_reuseport(net, sk, skb, doff, in inet6_lhash2_lookup()
179 struct sk_buff *skb, int doff, in inet6_lookup_run_sk_lookup() argument
194 reuse_sk = inet6_lookup_reuseport(net, sk, skb, doff, in inet6_lookup_run_sk_lookup()
204 struct sk_buff *skb, int doff, in inet6_lookup_listener() argument
216 result = inet6_lookup_run_sk_lookup(net, IPPROTO_TCP, skb, doff, in inet6_lookup_listener()
226 result = inet6_lhash2_lookup(net, ilb2, skb, doff, in inet6_lookup_listener()
236 result = inet6_lhash2_lookup(net, ilb2, skb, doff, in inet6_lookup_listener()
[all …]
A Dtcp_ipv6.c730 if (tcp_v6_md5_hash_headers(&hp, daddr, saddr, th, th->doff << 2)) in tcp_v6_md5_hash_hdr()
774 if (tcp_sigpool_hash_skb_data(&hp, skb, th->doff << 2)) in tcp_v6_md5_hash_skb()
911 t1->doff = tot_len / 4; in tcp_v6_send_response()
1103 (th->doff << 2); in tcp_v6_send_reset()
1741 skb->len - th->doff*4);
1778 if (unlikely(th->doff < sizeof(struct tcphdr) / 4)) {
1782 if (!pskb_may_pull(skb, th->doff*4))
2028 if (th->doff < sizeof(struct tcphdr) / 4)
A Dtcpv6_offload.c174 if (skb_pagelen(skb) - th->doff * 4 == skb_shinfo(skb)->gso_size) in tcp6_gso_segment()
/net/ipv6/netfilter/
A Dnf_socket_ipv6.c78 nf_socket_get_sock_v6(struct net *net, struct sk_buff *skb, int doff, in nf_socket_get_sock_v6() argument
87 skb, doff, saddr, sport, daddr, dport, in nf_socket_get_sock_v6()
104 int doff = 0; in nf_sk_lookup_slow_v6() local
131 doff = tproto == IPPROTO_TCP ? in nf_sk_lookup_slow_v6()
162 return nf_socket_get_sock_v6(net, data_skb, doff, tproto, saddr, daddr, in nf_sk_lookup_slow_v6()
A Dnf_reject_ipv6.c230 tcph->doff = sizeof(struct tcphdr)/4; in nf_reject_ip6_tcphdr_put()
238 otcplen - (oth->doff<<2)); in nf_reject_ip6_tcphdr_put()
/net/ipv4/netfilter/
A Dnf_socket_ipv4.c66 nf_socket_get_sock_v4(struct net *net, struct sk_buff *skb, const int doff, in nf_socket_get_sock_v4() argument
75 skb, doff, saddr, sport, daddr, dport, in nf_socket_get_sock_v4()
96 int doff = 0; in nf_sk_lookup_slow_v4() local
114 doff = iph->protocol == IPPROTO_TCP ? in nf_sk_lookup_slow_v4()
146 return nf_socket_get_sock_v4(net, data_skb, doff, protocol, saddr, in nf_sk_lookup_slow_v4()
A Dnf_reject_ipv4.c203 tcph->doff = sizeof(struct tcphdr) / 4; in nf_reject_ip_tcphdr_put()
210 (oth->doff << 2)); in nf_reject_ip_tcphdr_put()
/net/rxrpc/
A Dtxbuf.c23 size_t total, doff, jsize = sizeof(struct rxrpc_jumbo_header); in rxrpc_alloc_data_txbuf() local
33 doff = round_up(jsize, data_align); in rxrpc_alloc_data_txbuf()
34 total = doff + data_size; in rxrpc_alloc_data_txbuf()
54 txb->data = buf + doff; in rxrpc_alloc_data_txbuf()
/net/netfilter/
A Dnf_synproxy_core.c31 int length = (th->doff * 4) - sizeof(*th); in synproxy_parse_options()
37 ptr = skb_header_pointer(skb, doff + sizeof(*th), length, buf); in synproxy_parse_options()
197 optend = protoff + th->doff * 4; in synproxy_tstamp_adjust()
477 nth->doff = tcp_hdr_size / 4; in synproxy_send_client_synack()
523 nth->doff = tcp_hdr_size / 4; in synproxy_send_server_syn()
563 nth->doff = tcp_hdr_size / 4; in synproxy_send_server_ack()
601 nth->doff = tcp_hdr_size / 4; in synproxy_send_client_ack()
890 nth->doff = tcp_hdr_size / 4; in synproxy_send_client_synack_ipv6()
937 nth->doff = tcp_hdr_size / 4; in synproxy_send_server_syn_ipv6()
977 nth->doff = tcp_hdr_size / 4; in synproxy_send_server_ack_ipv6()
[all …]
A Dxt_tcpmss.c41 if (th->doff*4 < sizeof(*th)) in tcpmss_mt()
44 optlen = th->doff*4 - sizeof(*th); in tcpmss_mt()
A Dxt_tcpudp.c111 if (th->doff * 4 < sizeof(_tcph)) { in tcp_mt()
116 th->doff*4 - sizeof(_tcph), in tcp_mt()
A Dnfnetlink_osf.c184 if (tcp->doff * 4 > sizeof(struct tcphdr)) { in nf_osf_hdr_ctx_init()
185 ctx->optsize = tcp->doff * 4 - sizeof(struct tcphdr); in nf_osf_hdr_ctx_init()
A Dnf_conntrack_proto_tcp.c320 return (seq + len - dataoff - tcph->doff*4 in segment_seq_plus_len()
340 int length = (tcph->doff*4) - sizeof(struct tcphdr); in tcp_options()
396 int length = (tcph->doff*4) - sizeof(struct tcphdr); in tcp_sack()
811 if (th->doff*4 < sizeof(struct tcphdr) || tcplen < th->doff*4) { in tcp_error()
A Dxt_TCPOPTSTRIP.c48 tcp_hdrlen = tcph->doff * 4; in tcpoptstrip_mangle_packet()
A Dnf_conntrack_sane.c88 dataoff = protoff + th->doff * 4; in help()
A Dnf_nat_helper.c109 mangle_contents(skb, protoff + tcph->doff*4, in __nf_nat_mangle_tcp_packet()
A Dnf_conntrack_pptp.c526 nexthdr_off += tcph->doff * 4; in conntrack_pptp_help()
527 datalen = tcplen - tcph->doff * 4; in conntrack_pptp_help()
A Dnf_conntrack_irc.c141 dataoff = protoff + th->doff*4; in help()
A Dnf_conntrack_seqadj.c127 optend = protoff + tcph->doff * 4; in nf_ct_sack_adjust()
/net/ipv4/
A Dinet_hashtables.c353 struct sk_buff *skb, int doff, in inet_lookup_reuseport() argument
364 reuse_sk = reuseport_select_sock(sk, phash, skb, doff); in inet_lookup_reuseport()
380 struct sk_buff *skb, int doff, in inet_lhash2_lookup() argument
392 result = inet_lookup_reuseport(net, sk, skb, doff, in inet_lhash2_lookup()
407 struct sk_buff *skb, int doff, in inet_lookup_run_sk_lookup() argument
420 reuse_sk = inet_lookup_reuseport(net, sk, skb, doff, saddr, sport, daddr, hnum, in inet_lookup_run_sk_lookup()
429 struct sk_buff *skb, int doff, in __inet_lookup_listener() argument
441 result = inet_lookup_run_sk_lookup(net, IPPROTO_TCP, skb, doff, in __inet_lookup_listener()
451 result = inet_lhash2_lookup(net, ilb2, skb, doff, in __inet_lookup_listener()
461 result = inet_lhash2_lookup(net, ilb2, skb, doff, in __inet_lookup_listener()
A Dtcp_offload.c110 if (skb_pagelen(skb) - th->doff * 4 == skb_shinfo(skb)->gso_size) in tcp4_gso_segment()
149 thlen = th->doff * 4; in tcp_gso_segment()
296 thlen = th->doff * 4; in tcp_gro_pull_header()
315 unsigned int thlen = th->doff * 4; in tcp_gro_receive()
A Dtcp_ipv4.c709 reply->doff = arg->iov[0].iov_len / 4; in tcp_v4_ao_sign_reset()
785 skb->len - (th->doff << 2)); in tcp_v4_send_reset()
857 rep.th.doff = arg.iov[0].iov_len / 4; in tcp_v4_send_reset()
871 rep.th.doff = arg.iov[0].iov_len / 4; in tcp_v4_send_reset()
970 rep.th.doff = arg.iov[0].iov_len / 4; in tcp_v4_send_ack()
985 rep.th.doff = arg.iov[0].iov_len/4; in tcp_v4_send_ack()
1001 rep.th.doff = arg.iov[0].iov_len / 4; in tcp_v4_send_ack()
2055 hdrlen = th->doff * 4;
2072 thtail->doff != th->doff ||
2182 skb->len - th->doff * 4);
[all …]
A Dtcp_minisocks.c111 if (th->doff > (sizeof(*th) >> 2) && ts_recent_stamp) { in tcp_timewait_state_process()
677 if (th->doff > (sizeof(struct tcphdr)>>2)) { in tcp_check_req()
/net/netfilter/ipvs/
A Dip_vs_ftp.c70 if ((th->doff << 2) < sizeof(struct tcphdr)) in ip_vs_ftp_data_ptr()
73 return (char *)th + (th->doff << 2); in ip_vs_ftp_data_ptr()
/net/core/
A Dflow_dissector.c1932 const u8 *doff; in __skb_get_poff() local
1935 doff = __skb_header_pointer(skb, poff + 12, sizeof(_doff), in __skb_get_poff()
1937 if (!doff) in __skb_get_poff()
1940 poff += max_t(u32, sizeof(struct tcphdr), (*doff & 0xF0) >> 2); in __skb_get_poff()

Completed in 53 milliseconds

12