Home
last modified time | relevance | path

Searched refs:noff (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/net/sched/
Dact_nat.c114 int noff; in tcf_nat_act() local
132 noff = skb_network_offset(skb); in tcf_nat_act()
133 if (!pskb_may_pull(skb, sizeof(*iph) + noff)) in tcf_nat_act()
144 if (skb_try_make_writable(skb, sizeof(*iph) + noff)) in tcf_nat_act()
171 if (!pskb_may_pull(skb, ihl + sizeof(*tcph) + noff) || in tcf_nat_act()
172 skb_try_make_writable(skb, ihl + sizeof(*tcph) + noff)) in tcf_nat_act()
184 if (!pskb_may_pull(skb, ihl + sizeof(*udph) + noff) || in tcf_nat_act()
185 skb_try_make_writable(skb, ihl + sizeof(*udph) + noff)) in tcf_nat_act()
201 if (!pskb_may_pull(skb, ihl + sizeof(*icmph) + noff)) in tcf_nat_act()
210 noff)) in tcf_nat_act()
[all …]
/kernel/linux/linux-5.10/kernel/bpf/
Ddispatcher.c108 u32 noff; in bpf_dispatcher_update() local
113 noff = 0; in bpf_dispatcher_update()
116 noff = d->image_off ^ (PAGE_SIZE / 2); in bpf_dispatcher_update()
119 new = d->num_progs ? d->image + noff : NULL; in bpf_dispatcher_update()
129 d->image_off = noff; in bpf_dispatcher_update()
/kernel/linux/linux-5.10/fs/cifs/
Dcifs_dfs_ref.c148 int off, noff; in cifs_compose_mount_options() local
210 noff = strlen(sb_mountdata + off); in cifs_compose_mount_options()
212 noff = tkn_e - (sb_mountdata + off) + 1; in cifs_compose_mount_options()
215 off += noff; in cifs_compose_mount_options()
219 off += noff; in cifs_compose_mount_options()
223 off += noff; in cifs_compose_mount_options()
226 strncat(mountdata, sb_mountdata + off, noff); in cifs_compose_mount_options()
227 off += noff; in cifs_compose_mount_options()
/kernel/linux/linux-5.10/net/ipv4/netfilter/
Dnft_fib_ipv4.c31 int noff = skb_network_offset(pkt->skb); in nft_fib4_eval_type() local
42 iph = skb_header_pointer(pkt->skb, noff, sizeof(_iph), &_iph); in nft_fib4_eval_type()
61 int noff = skb_network_offset(pkt->skb); in nft_fib4_eval() local
92 iph = skb_header_pointer(pkt->skb, noff, sizeof(_iph), &_iph); in nft_fib4_eval()
/kernel/linux/linux-5.10/net/ipv6/netfilter/
Dnft_fib_ipv6.c124 int noff = skb_network_offset(pkt->skb); in nft_fib6_eval_type() local
128 iph = skb_header_pointer(pkt->skb, noff, sizeof(_iph), &_iph); in nft_fib6_eval_type()
153 int noff = skb_network_offset(pkt->skb); in nft_fib6_eval() local
169 iph = skb_header_pointer(pkt->skb, noff, sizeof(_iph), &_iph); in nft_fib6_eval()
/kernel/linux/linux-5.10/drivers/net/bonding/
Dbond_main.c3595 int *noff, int *proto, bool l34) in bond_flow_ip() argument
3601 if (unlikely(!pskb_may_pull(skb, *noff + sizeof(*iph)))) in bond_flow_ip()
3603 iph = (const struct iphdr *)(skb->data + *noff); in bond_flow_ip()
3605 *noff += iph->ihl << 2; in bond_flow_ip()
3609 if (unlikely(!pskb_may_pull(skb, *noff + sizeof(*iph6)))) in bond_flow_ip()
3611 iph6 = (const struct ipv6hdr *)(skb->data + *noff); in bond_flow_ip()
3613 *noff += sizeof(*iph6); in bond_flow_ip()
3620 fk->ports.ports = skb_flow_get_ports(skb, *noff, *proto); in bond_flow_ip()
3630 int noff, proto = -1; in bond_flow_dissect() local
3640 noff = skb_network_offset(skb); in bond_flow_dissect()
[all …]
/kernel/linux/linux-5.10/tools/perf/util/
Dprobe-finder.c1157 Dwarf_Off off, noff; in debuginfo__find_probe_location() local
1190 while (!dwarf_nextcu(dbg->dbg, off, &noff, &cuhl, NULL, NULL, NULL)) { in debuginfo__find_probe_location()
1214 off = noff; in debuginfo__find_probe_location()
1925 Dwarf_Off off = 0, noff; in debuginfo__find_line_range() local
1949 if (dwarf_nextcu(dbg->dbg, off, &noff, &cuhl, in debuginfo__find_line_range()
1973 off = noff; in debuginfo__find_line_range()
/kernel/linux/linux-5.10/net/netfilter/
Dnft_meta.c99 int noff = skb_network_offset(skb); in nft_meta_get_eval_pkttype_lo() local
102 iph = skb_header_pointer(skb, noff, in nft_meta_get_eval_pkttype_lo()