Searched refs:ipv6 (Results 26 - 50 of 718) sorted by relevance

1234567891011>>

/linux-master/net/ipv6/
H A Dfib6_rules.c3 * net/ipv6/fib6_rules.c IPv6 Routing Policy Rules
20 #include <net/ipv6.h>
69 if (net->ipv6.fib6_has_custom_rules) {
79 err = fib_rules_lookup(net->ipv6.fib6_rules_ops,
82 err = fib6_table_lookup(net, net->ipv6.fib6_local_tbl, oif,
84 if (err || res->f6i == net->ipv6.fib6_null_entry)
85 err = fib6_table_lookup(net, net->ipv6.fib6_main_tbl,
96 if (net->ipv6.fib6_has_custom_rules) {
108 fib_rules_lookup(net->ipv6.fib6_rules_ops,
117 net, net->ipv6
[all...]
H A Dip6_fib.c30 #include <net/ipv6.h>
76 list_for_each_entry(w, &(net)->ipv6.fib6_walkers, lh)
80 write_lock_bh(&net->ipv6.fib6_walker_lock);
81 list_add(&w->lh, &net->ipv6.fib6_walkers);
82 write_unlock_bh(&net->ipv6.fib6_walker_lock);
87 write_lock_bh(&net->ipv6.fib6_walker_lock);
89 write_unlock_bh(&net->ipv6.fib6_walker_lock);
94 int new, old = atomic_read(&net->ipv6.fib6_sernum);
98 } while (!atomic_try_cmpxchg(&net->ipv6.fib6_sernum, &old, new));
190 net->ipv6
[all...]
H A Daddrlabel.c10 * YOSHIFUJI Hideaki @ USAGI/WIDE Project <yoshfuji@linux-ipv6.org>
133 hlist_for_each_entry_rcu(p, &net->ipv6.ip6addrlbl_table.head, list) {
213 hlist_for_each_entry_safe(p, n, &net->ipv6.ip6addrlbl_table.head, list) {
234 hlist_add_head_rcu(&newp->list, &net->ipv6.ip6addrlbl_table.head);
237 WRITE_ONCE(net->ipv6.ip6addrlbl_table.seq,
238 net->ipv6.ip6addrlbl_table.seq + 1);
257 spin_lock(&net->ipv6.ip6addrlbl_table.lock);
259 spin_unlock(&net->ipv6.ip6addrlbl_table.lock);
277 hlist_for_each_entry_safe(p, n, &net->ipv6.ip6addrlbl_table.head, list) {
301 spin_lock(&net->ipv6
[all...]
H A Dreassembly.c38 #include <linux/ipv6.h>
51 #include <net/ipv6.h>
99 q = inet_frag_find(net->ipv6.fqdir, &key);
465 table[0].data = &net->ipv6.fqdir->high_thresh;
466 table[0].extra1 = &net->ipv6.fqdir->low_thresh;
467 table[1].data = &net->ipv6.fqdir->low_thresh;
468 table[1].extra2 = &net->ipv6.fqdir->high_thresh;
469 table[2].data = &net->ipv6.fqdir->timeout;
471 hdr = register_net_sysctl_sz(net, "net/ipv6", table,
476 net->ipv6
[all...]
/linux-master/tools/testing/selftests/net/forwarding/
H A Dip6gre_custom_multipath_hash.sh387 sysctl_set net.ipv6.fib_multipath_hash_fields 0x0040
391 sysctl_set net.ipv6.fib_multipath_hash_fields 0x0080
395 sysctl_set net.ipv6.fib_multipath_hash_fields 0x0400
399 sysctl_set net.ipv6.fib_multipath_hash_fields 0x0800
414 sysctl_set net.ipv6.neigh.default.gc_thresh1 1024
415 sysctl_set net.ipv6.neigh.default.gc_thresh2 1024
416 sysctl_set net.ipv6.neigh.default.gc_thresh3 1024
418 sysctl_set net.ipv6.fib_multipath_hash_fields 0x0040
422 sysctl_set net.ipv6.fib_multipath_hash_fields 0x0080
426 sysctl_set net.ipv6
[all...]
H A Drouter_multicast.sh280 tc filter add dev $h2 ingress protocol ipv6 pref 1 handle 122 flower \
282 tc filter add dev $h3 ingress protocol ipv6 pref 1 handle 133 flower \
306 tc filter del dev $h3 ingress protocol ipv6 pref 1 handle 133 flower
307 tc filter del dev $h2 ingress protocol ipv6 pref 1 handle 122 flower
368 tc filter add dev $h1 ingress protocol ipv6 pref 1 handle 1 flower \
370 tc filter add dev $h2 ingress protocol ipv6 pref 1 handle 1 flower \
372 tc filter add dev $h3 ingress protocol ipv6 pref 1 handle 1 flower \
374 tc filter add dev $rp3 ingress protocol ipv6 pref 1 handle 1 flower \
401 tc filter del dev $rp3 ingress protocol ipv6 pref 1 handle 1 flower
402 tc filter del dev $h3 ingress protocol ipv6 pre
[all...]
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_cls_redirect.c15 #include <linux/ipv6.h>
99 offsetofend(struct bpf_sock_tuple, ipv6.dport) -
100 offsetof(struct bpf_sock_tuple, ipv6.sport) - 1,
283 const struct ipv6hdr *ipv6,
296 .next = ipv6->nexthdr,
354 struct ipv6hdr *ipv6 = buf_assign(pkt, sizeof(*ipv6), scratch); local
355 if (ipv6 == NULL) {
359 if (!pkt_skip_ipv6_extension_headers(pkt, ipv6, proto, is_fragment)) {
363 return ipv6;
282 pkt_skip_ipv6_extension_headers(buf_t *pkt, const struct ipv6hdr *ipv6, uint8_t *upper_proto, bool *is_fragment) argument
635 struct ipv6hdr *ipv6 = (struct ipv6hdr *)iph; local
791 const struct ipv6hdr *ipv6 = local
901 struct ipv6hdr *ipv6 = local
[all...]
H A Dtest_cls_redirect_dynptr.c15 #include <linux/ipv6.h>
93 offsetofend(struct bpf_sock_tuple, ipv6.dport) -
94 offsetof(struct bpf_sock_tuple, ipv6.sport) - 1,
188 const struct ipv6hdr *ipv6, uint8_t *upper_proto,
200 .next = ipv6->nexthdr,
244 static int pkt_parse_ipv6(struct bpf_dynptr *dynptr, __u64 *offset, struct ipv6hdr *ipv6, argument
247 if (bpf_dynptr_read(ipv6, sizeof(*ipv6), dynptr, *offset, 0))
250 *offset += sizeof(*ipv6);
252 if (!pkt_skip_ipv6_extension_headers(dynptr, offset, ipv6, prot
187 pkt_skip_ipv6_extension_headers(struct bpf_dynptr *dynptr, __u64 *offset, const struct ipv6hdr *ipv6, uint8_t *upper_proto, bool *is_fragment) argument
525 struct ipv6hdr *ipv6 = (struct ipv6hdr *)iph; local
658 struct ipv6hdr ipv6; local
793 struct ipv6hdr ipv6; local
[all...]
H A Dtest_sk_assign.c12 #include <linux/ipv6.h>
110 tuple_len = ipv4 ? sizeof(tuple->ipv4) : sizeof(tuple->ipv6);
118 dport = ipv4 ? tuple->ipv4.dport : tuple->ipv6.dport;
141 tuple_len = ipv4 ? sizeof(tuple->ipv4) : sizeof(tuple->ipv6);
152 dport = ipv4 ? tuple->ipv4.dport : tuple->ipv6.dport;
/linux-master/net/ipv6/netfilter/
H A Dip6t_REJECT.c28 #include <net/netfilter/ipv6/nf_reject.h>
88 if (!(e->ipv6.flags & IP6T_F_PROTO) ||
89 e->ipv6.proto != IPPROTO_TCP ||
90 (e->ipv6.invflags & XT_INV_PROTO)) {
H A Dip6t_mh.c14 #include <linux/ipv6.h>
15 #include <net/ipv6.h>
H A Dnf_dup_ipv6.c12 #include <net/ipv6.h>
14 #include <net/netfilter/ipv6/nf_dup_ipv6.h>
/linux-master/tools/testing/selftests/drivers/net/mlxsw/
H A Drif_mac_profiles_occ.sh20 sysctl_set net.ipv6.conf.$h1.disable_ipv6 1
21 sysctl_set net.ipv6.conf.$h2.disable_ipv6 1
34 sysctl_restore net.ipv6.conf.$h2.disable_ipv6
35 sysctl_restore net.ipv6.conf.$h1.disable_ipv6
H A Done_armed_router.sh178 tc filter add dev $swp1 ingress protocol ipv6 pref 1 handle 101 flower \
182 tc filter add dev $swp2 egress protocol ipv6 pref 1 handle 101 flower \
186 tc filter add dev $swp2 egress protocol ipv6 pref 2 handle 102 flower \
214 tc filter del dev $swp2 egress protocol ipv6 pref 2 handle 102 flower
215 tc filter del dev $swp2 egress protocol ipv6 pref 1 handle 101 flower
216 tc filter del dev $swp1 ingress protocol ipv6 pref 1 handle 101 flower
231 sysctl_set net.ipv6.conf.all.accept_redirects 0
246 sysctl_restore net.ipv6.conf.all.accept_redirects
/linux-master/include/net/
H A Dtso.h16 bool ipv6; member in struct:tso_t
H A Dioam6.h13 #include <linux/ipv6.h>
51 return net->ipv6.ioam6_data;
H A Dseg6.h13 #include <linux/ipv6.h>
47 return net->ipv6.seg6_data;
/linux-master/drivers/net/ipa/
H A Dipa_table.c145 ipa_table_mem(struct ipa *ipa, bool filter, bool hashed, bool ipv6) argument
149 mem_id = filter ? hashed ? ipv6 ? IPA_MEM_V6_FILTER_HASHED
151 : ipv6 ? IPA_MEM_V6_FILTER
153 : hashed ? ipv6 ? IPA_MEM_V6_ROUTE_HASHED
155 : ipv6 ? IPA_MEM_V6_ROUTE
206 bool hashed, bool ipv6, u16 first, u16 count)
215 mem = ipa_table_mem(ipa, filter, hashed, ipv6);
234 ipa_filter_reset_table(struct ipa *ipa, bool hashed, bool ipv6, bool modem) argument
258 ipa_table_reset_add(trans, true, hashed, ipv6, endpoint_id, 1);
386 static void ipa_table_init_add(struct gsi_trans *trans, bool filter, bool ipv6) argument
205 ipa_table_reset_add(struct gsi_trans *trans, bool filter, bool hashed, bool ipv6, u16 first, u16 count) argument
[all...]
/linux-master/security/selinux/
H A Dnetnode.c29 #include <linux/ipv6.h>
31 #include <net/ipv6.h>
128 if (ipv6_addr_equal(&node->nsec.addr.ipv6,
154 idx = sel_netnode_hashfn_ipv6(&node->nsec.addr.ipv6);
216 new->nsec.addr.ipv6 = *(struct in6_addr *)addr;
/linux-master/tools/testing/selftests/net/
H A Dioam6.sh308 ip netns exec $ioam_node_alpha sysctl -wq net.ipv6.ioam6_id=${ALPHA[0]}
309 ip netns exec $ioam_node_alpha sysctl -wq net.ipv6.ioam6_id_wide=${ALPHA[1]}
310 ip netns exec $ioam_node_alpha sysctl -wq net.ipv6.conf.veth0.ioam6_id=${ALPHA[4]}
311 ip netns exec $ioam_node_alpha sysctl -wq net.ipv6.conf.veth0.ioam6_id_wide=${ALPHA[5]}
316 ip netns exec $ioam_node_beta sysctl -wq net.ipv6.conf.all.forwarding=1
317 ip netns exec $ioam_node_beta sysctl -wq net.ipv6.ioam6_id=${BETA[0]}
318 ip netns exec $ioam_node_beta sysctl -wq net.ipv6.ioam6_id_wide=${BETA[1]}
319 ip netns exec $ioam_node_beta sysctl -wq net.ipv6.conf.veth0.ioam6_enabled=1
320 ip netns exec $ioam_node_beta sysctl -wq net.ipv6.conf.veth0.ioam6_id=${BETA[2]}
321 ip netns exec $ioam_node_beta sysctl -wq net.ipv6
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A Dport_sel.c116 u8 *ipv6;
155 ipv6 = MLX5_ADDR_OF(match_definer_format_31, match_definer_mask,
157 memset(ipv6, 0xff, 16);
158 ipv6 = MLX5_ADDR_OF(match_definer_format_31, match_definer_mask,
160 memset(ipv6, 0xff, 16);
164 ipv6 = MLX5_ADDR_OF(match_definer_format_32, match_definer_mask,
166 memset(ipv6, 0xff, 16);
167 ipv6 = MLX5_ADDR_OF(match_definer_format_32, match_definer_mask,
169 memset(ipv6, 0xff, 16);
202 u8 *ipv6;
112 u8 *ipv6; local
198 u8 *ipv6; local
[all...]
/linux-master/samples/bpf/
H A Dparse_ldabs.c9 #include <linux/ipv6.h>
H A Dparse_simple.c9 #include <linux/ipv6.h>
H A Dtest_cgrp2_tc.sh76 sysctl -q net.ipv6.conf.$HOST_IFC.disable_ipv6=0
77 sysctl -q net.ipv6.conf.$HOST_IFC.accept_dad=0
82 $IP netns exec $NS sysctl -q net.ipv6.conf.$NS_IFC.disable_ipv6=0
83 $IP netns exec $NS sysctl -q net.ipv6.conf.$NS_IFC.accept_dad=0
/linux-master/tools/testing/selftests/net/netfilter/
H A Dnf_conntrack_packetdrill.sh42 elif [ "$ipver" = "ipv6" ];then
55 for v in ipv4 ipv6;do

Completed in 413 milliseconds

1234567891011>>