Home
last modified time | relevance | path

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

1234

/linux-6.3-rc2/arch/alpha/lib/
A Dcsum_partial_copy.c181 unsigned long doff, in csum_partial_cfu_src_aligned() argument
195 insql(word, doff, second_dest); in csum_partial_cfu_src_aligned()
212 insql(word, doff, second_dest); in csum_partial_cfu_src_aligned()
213 len += doff; in csum_partial_cfu_src_aligned()
222 doff = len; in csum_partial_cfu_src_aligned()
271 len += doff; in csum_partial_cfu_unaligned()
283 mskql(word, len-doff, word); in csum_partial_cfu_unaligned()
305 mskql(word, len-doff, word); in csum_partial_cfu_unaligned()
309 insql(word, doff, word); in csum_partial_cfu_unaligned()
322 if (!doff) { in __csum_and_copy()
[all …]
/linux-6.3-rc2/net/ipv6/
A Dinet6_hashtables.c115 struct sk_buff *skb, int doff, in lookup_reuseport() argument
126 reuse_sk = reuseport_select_sock(sk, phash, skb, doff); in lookup_reuseport()
134 struct sk_buff *skb, int doff, in inet6_lhash2_lookup() argument
146 result = lookup_reuseport(net, sk, skb, doff, in inet6_lhash2_lookup()
161 struct sk_buff *skb, int doff, in inet6_lookup_run_bpf() argument
186 struct sk_buff *skb, int doff, in inet6_lookup_listener() argument
197 result = inet6_lookup_run_bpf(net, hashinfo, skb, doff, in inet6_lookup_listener()
206 result = inet6_lhash2_lookup(net, ilb2, skb, doff, in inet6_lookup_listener()
216 result = inet6_lhash2_lookup(net, ilb2, skb, doff, in inet6_lookup_listener()
227 struct sk_buff *skb, int doff, in inet6_lookup() argument
[all …]
/linux-6.3-rc2/include/net/
A Dinet6_hashtables.h53 struct sk_buff *skb, int doff,
62 struct sk_buff *skb, int doff, in __inet6_lookup() argument
77 return inet6_lookup_listener(net, hashinfo, skb, doff, saddr, sport, in __inet6_lookup()
82 struct sk_buff *skb, int doff, in __inet6_lookup_skb() argument
94 doff, &ipv6_hdr(skb)->saddr, sport, in __inet6_lookup_skb()
100 struct sk_buff *skb, int doff,
A Dinet_hashtables.h314 struct sk_buff *skb, int doff,
322 struct sk_buff *skb, int doff, in inet_lookup_listener() argument
326 return __inet_lookup_listener(net, hashinfo, skb, doff, saddr, sport, in inet_lookup_listener()
394 struct sk_buff *skb, int doff, in __inet_lookup() argument
409 return __inet_lookup_listener(net, hashinfo, skb, doff, saddr, in __inet_lookup()
415 struct sk_buff *skb, int doff, in inet_lookup() argument
423 sk = __inet_lookup(net, hashinfo, skb, doff, saddr, sport, daddr, in inet_lookup()
433 int doff, in __inet_lookup_skb() argument
446 doff, iph->saddr, sport, in __inet_lookup_skb()
/linux-6.3-rc2/drivers/net/slip/
A Dslhc.c268 if (th->doff < sizeof(struct tcphdr) / 4) in slhc_compress()
270 hlen = nlen + th->doff * 4; in slhc_compress()
357 || th->doff != cs->cs_tcp.doff in slhc_compress()
359 || (th->doff > 5 && memcmp(th+1,cs->cs_tcpopt,((th->doff)-5)*4) != 0)){ in slhc_compress()
480 if (th->doff > 5) in slhc_compress()
547 hdrlen = ip->ihl * 4 + thp->doff * 4; in slhc_uncompress()
631 if (thp->doff > 5) { in slhc_uncompress()
632 memcpy(cp, cs->cs_tcpopt, ((thp->doff) - 5) * 4); in slhc_uncompress()
633 cp += ((thp->doff) - 5) * 4; in slhc_uncompress()
683 if (cs->cs_tcp.doff > 5) in slhc_remember()
[all …]
/linux-6.3-rc2/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
127 doff = tproto == IPPROTO_TCP ? in nf_sk_lookup_slow_v6()
139 return nf_socket_get_sock_v6(net, data_skb, doff, tproto, saddr, daddr, in nf_sk_lookup_slow_v6()
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Dflow_dissector.c119 .tcp.doff = 5,
140 .tcp.doff = 5,
163 .tcp.doff = 5,
186 .tcp.doff = 5,
210 .tcp.doff = 5,
237 .tcp.doff = 5,
259 .tcp.doff = 5,
286 .tcp.doff = 5,
309 .tcp.doff = 5,
332 .tcp.doff = 5,
[all …]
A Dkfree_skb.c45 if (CHECK(pkt_v6->tcp.doff != 5, "check_tcp", in on_sample()
46 "tcp.doff %x\n", pkt_v6->tcp.doff)) in on_sample()
/linux-6.3-rc2/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()
/linux-6.3-rc2/drivers/dma/
A Dfsl-edma-common.c372 edma_writew(edma, (s16)tcd->doff, &regs->tcd[ch].doff); in fsl_edma_set_tcd_regs()
411 tcd->doff = cpu_to_le16(doff); in fsl_edma_fill_tcd()
466 u16 soff, doff, iter; in fsl_edma_prep_dma_cyclic() local
507 doff = 0; in fsl_edma_prep_dma_cyclic()
512 doff = fsl_chan->cfg.src_addr_width; in fsl_edma_prep_dma_cyclic()
517 iter, doff, last_sg, true, false, true); in fsl_edma_prep_dma_cyclic()
534 u16 soff, doff, iter; in fsl_edma_prep_slave_sg() local
566 doff = 0; in fsl_edma_prep_slave_sg()
571 doff = fsl_chan->cfg.src_addr_width; in fsl_edma_prep_slave_sg()
579 nbytes, 0, iter, iter, doff, last_sg, in fsl_edma_prep_slave_sg()
[all …]
A Dmpc512x_dma.c153 u32 doff:16; /* Signed destination address offset */ member
636 tcd->doff = 32; in mpc_dma_prep_memcpy()
642 tcd->doff = 16; in mpc_dma_prep_memcpy()
647 tcd->doff = 4; in mpc_dma_prep_memcpy()
652 tcd->doff = 2; in mpc_dma_prep_memcpy()
657 tcd->doff = 1; in mpc_dma_prep_memcpy()
749 tcd->doff = mchan->dwidth; in mpc_dma_prep_slave_sg()
758 tcd->doff = 0; in mpc_dma_prep_slave_sg()
/linux-6.3-rc2/net/netfilter/
A Dxt_tcpmss.c41 if (th->doff*4 < sizeof(*th)) in tcpmss_mt()
44 optlen = th->doff*4 - sizeof(*th); in tcpmss_mt()
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_tcpudp.c108 if (th->doff * 4 < sizeof(_tcph)) { in tcp_mt()
113 th->doff*4 - sizeof(_tcph), in tcp_mt()
A Dxt_TCPMSS.c97 tcp_hdrlen = tcph->doff * 4; in tcpmss_mangle_packet()
189 tcph->doff += TCPOLEN_MSS/4; in tcpmss_mangle_packet()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
A Dgf100.c98 read_div(struct gf100_clk *clk, int doff, u32 dsrc, u32 dctl) in read_div() argument
101 u32 ssrc = nvkm_rd32(device, dsrc + (doff * 4)); in read_div()
112 sclk = read_vco(clk, dsrc + (doff * 4)); in read_div()
115 if (doff <= 2) { in read_div()
116 sctl = nvkm_rd32(device, dctl + (doff * 4)); in read_div()
A Dgk104.c106 read_div(struct gk104_clk *clk, int doff, u32 dsrc, u32 dctl) in read_div() argument
109 u32 ssrc = nvkm_rd32(device, dsrc + (doff * 4)); in read_div()
110 u32 sctl = nvkm_rd32(device, dctl + (doff * 4)); in read_div()
121 u32 sclk = read_vco(clk, dsrc + (doff * 4)); in read_div()
126 return read_vco(clk, dsrc + (doff * 4)); in read_div()
/linux-6.3-rc2/net/ipv4/
A Dinet_hashtables.c336 struct sk_buff *skb, int doff, in lookup_reuseport() argument
345 reuse_sk = reuseport_select_sock(sk, phash, skb, doff); in lookup_reuseport()
360 struct sk_buff *skb, int doff, in inet_lhash2_lookup() argument
372 result = lookup_reuseport(net, sk, skb, doff, in inet_lhash2_lookup()
387 struct sk_buff *skb, int doff, in inet_lookup_run_bpf() argument
402 reuse_sk = lookup_reuseport(net, sk, skb, doff, saddr, sport, daddr, hnum); in inet_lookup_run_bpf()
410 struct sk_buff *skb, int doff, in __inet_lookup_listener() argument
421 result = inet_lookup_run_bpf(net, hashinfo, skb, doff, in __inet_lookup_listener()
430 result = inet_lhash2_lookup(net, ilb2, skb, doff, in __inet_lookup_listener()
440 result = inet_lhash2_lookup(net, ilb2, skb, doff, in __inet_lookup_listener()
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dxdp_synproxy_kern.c401 hdr->tcp_len = hdr->tcp->doff * 4; in tcp_dissect()
501 tcp_header->doff = 5; /* doff is part of tcp_flag_word. */ in tcp_gen_synack()
510 tcp_header->doff += tcp_mkoptions(tcp_options, tsopt, mss, wscale); in tcp_gen_synack()
532 hdr->tcp_len = hdr->tcp->doff * 4; in tcpv4_gen_synack()
553 hdr->tcp_len = hdr->tcp->doff * 4; in tcpv6_gen_synack()
695 new_pkt_size = sizeof(*hdr->eth) + ip_len + hdr->tcp->doff * 4; in syncookie_handle_syn()
791 hdr->tcp_len = hdr->tcp->doff * 4; in syncookie_part2()
A Dtest_select_reuseport_kern.c120 if ((th->doff << 2) + sizeof(*cmd) > data_check.len) in _select_by_skb_data()
122 if (bpf_skb_load_bytes(reuse_md, th->doff << 2, &cmd_copy, in _select_by_skb_data()
/linux-6.3-rc2/include/linux/
A Dtcp.h31 return th->doff * 4; in __tcp_hdrlen()
46 return inner_tcp_hdr(skb)->doff * 4; in inner_tcp_hdrlen()
81 return (tcp_hdr(skb)->doff - 5) * 4; in tcp_optlen()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/engine/disp/
A Dnv50.c244 const u32 doff = nv50_ior_base(dac); in nv50_dac_clock() local
246 nvkm_mask(device, 0x614280 + doff, 0x07070707, 0x00000000); in nv50_dac_clock()
253 const u32 doff = nv50_ior_base(dac); in nv50_dac_sense() local
257 nvkm_wr32(device, 0x61a00c + doff, 0x00100000 | loadval); in nv50_dac_sense()
260 loadval = nvkm_mask(device, 0x61a00c + doff, 0xffffffff, 0x00000000); in nv50_dac_sense()
270 nv50_dac_power_wait(struct nvkm_device *device, const u32 doff) in nv50_dac_power_wait() argument
273 if (!(nvkm_rd32(device, 0x61a004 + doff) & 0x80000000)) in nv50_dac_power_wait()
282 const u32 doff = nv50_ior_base(dac); in nv50_dac_power() local
290 nv50_dac_power_wait(device, doff); in nv50_dac_power()
291 nvkm_mask(device, 0x61a004 + doff, field, state); in nv50_dac_power()
[all …]
/linux-6.3-rc2/include/uapi/linux/
A Dtcp.h32 doff:4, member
42 __u16 doff:4, member
/linux-6.3-rc2/tools/include/uapi/linux/
A Dtcp.h32 doff:4, member
42 __u16 doff:4, member
/linux-6.3-rc2/include/net/netfilter/
A Dnf_synproxy.h45 bool synproxy_parse_options(const struct sk_buff *skb, unsigned int doff,

Completed in 39 milliseconds

1234