Home
last modified time | relevance | path

Searched refs:ipv6 (Results 1 – 25 of 66) sorted by relevance

123

/linux-3.4.99/net/ipv6/
DMakefile5 obj-$(CONFIG_IPV6) += ipv6.o
7 ipv6-objs := af_inet6.o anycast.o ip6_output.o ip6_input.o addrconf.o \
13 ipv6-$(CONFIG_SYSCTL) = sysctl_net_ipv6.o
14 ipv6-$(CONFIG_IPV6_MROUTE) += ip6mr.o
16 ipv6-$(CONFIG_XFRM) += xfrm6_policy.o xfrm6_state.o xfrm6_input.o \
18 ipv6-$(CONFIG_NETFILTER) += netfilter.o
19 ipv6-$(CONFIG_IPV6_MULTIPLE_TABLES) += fib6_rules.o
20 ipv6-$(CONFIG_PROC_FS) += proc.o
21 ipv6-$(CONFIG_SYN_COOKIES) += syncookies.o
23 ipv6-objs += $(ipv6-y)
Dip6_fib.c183 hlist_add_head_rcu(&tb->tb6_hlist, &net->ipv6.fib_table_hash[h]); in fib6_link_table()
195 table->tb6_root.leaf = net->ipv6.ip6_null_entry; in fib6_alloc_table()
230 head = &net->ipv6.fib_table_hash[h]; in fib6_get_table()
244 fib6_link_table(net, net->ipv6.fib6_main_tbl); in fib6_tables_init()
245 fib6_link_table(net, net->ipv6.fib6_local_tbl); in fib6_tables_init()
256 return net->ipv6.fib6_main_tbl; in fib6_get_table()
262 return (struct dst_entry *) lookup(net, net->ipv6.fib6_main_tbl, fl6, flags); in fib6_rule_lookup()
267 fib6_link_table(net, net->ipv6.fib6_main_tbl); in fib6_tables_init()
396 head = &net->ipv6.fib_table_hash[h]; in inet6_dump_fib()
707 info->nl_net->ipv6.rt6_stats->fib_rt_entries++; in fib6_add_rt2node()
[all …]
Droute.c400 return net->ipv6.ip6_null_entry; in rt6_device_match()
571 return match ? match : net->ipv6.ip6_null_entry; in rt6_select()
652 if (rt == __net->ipv6.ip6_null_entry) { \
783 net->ipv6.sysctl.ip6_rt_gc_min_interval; in rt6_alloc_cow()
785 net->ipv6.sysctl.ip6_rt_gc_elasticity; in rt6_alloc_cow()
788 net->ipv6.sysctl.ip6_rt_gc_elasticity = 1; in rt6_alloc_cow()
789 net->ipv6.sysctl.ip6_rt_gc_min_interval = 0; in rt6_alloc_cow()
791 ip6_dst_gc(&net->ipv6.ip6_dst_ops); in rt6_alloc_cow()
793 net->ipv6.sysctl.ip6_rt_gc_elasticity = in rt6_alloc_cow()
795 net->ipv6.sysctl.ip6_rt_gc_min_interval = in rt6_alloc_cow()
[all …]
Dfib6_rules.c41 fib_rules_lookup(net->ipv6.fib6_rules_ops, in fib6_rule_lookup()
47 dst_hold(&net->ipv6.ip6_null_entry->dst); in fib6_rule_lookup()
48 return &net->ipv6.ip6_null_entry->dst; in fib6_rule_lookup()
64 rt = net->ipv6.ip6_null_entry; in fib6_rule_action()
68 rt = net->ipv6.ip6_blk_hole_entry; in fib6_rule_action()
71 rt = net->ipv6.ip6_prohibit_entry; in fib6_rule_action()
79 if (rt != net->ipv6.ip6_null_entry) { in fib6_rule_action()
268 net->ipv6.fib6_rules_ops = ops; in fib6_rules_net_init()
271 err = fib_default_rule_add(net->ipv6.fib6_rules_ops, 0, in fib6_rules_net_init()
276 err = fib_default_rule_add(net->ipv6.fib6_rules_ops, in fib6_rules_net_init()
[all …]
Dsysctl_net_ipv6.c46 .data = &init_net.ipv6.sysctl.bindv6only,
95 ipv6_table[2].data = &net->ipv6.sysctl.bindv6only; in ipv6_sysctl_net_init()
97 net->ipv6.sysctl.table = register_net_sysctl_table(net, net_ipv6_ctl_path, in ipv6_sysctl_net_init()
99 if (!net->ipv6.sysctl.table) in ipv6_sysctl_net_init()
121 ipv6_table = net->ipv6.sysctl.table->ctl_table_arg; in ipv6_sysctl_net_exit()
125 unregister_net_sysctl_table(net->ipv6.sysctl.table); in ipv6_sysctl_net_exit()
Dreassembly.c93 return net->ipv6.frags.nqueues; in ip6_frag_nqueues()
98 return atomic_read(&net->ipv6.frags.mem); in ip6_frag_mem()
183 evicted = inet_frag_evictor(&net->ipv6.frags, &ip6_frags); in ip6_evictor()
203 net = container_of(fq->q.net, struct net, ipv6.frags); in ip6_frag_expire()
245 q = inet_frag_find(&net->ipv6.frags, &ip6_frags, &arg, hash); in fq_find()
426 struct net *net = container_of(fq->q.net, struct net, ipv6.frags); in ip6_frag_reasm()
582 if (atomic_read(&net->ipv6.frags.mem) > net->ipv6.frags.high_thresh) in ipv6_frag_rcv()
618 .data = &init_net.ipv6.frags.high_thresh,
625 .data = &init_net.ipv6.frags.low_thresh,
632 .data = &init_net.ipv6.frags.timeout,
[all …]
Dicmp.c79 return net->ipv6.icmp_sk[smp_processor_id()]; in icmpv6_sk()
188 int tmo = net->ipv6.sysctl.icmpv6_time; in icmpv6_xrlim_allow()
814 net->ipv6.icmp_sk = in icmpv6_sk_init()
816 if (net->ipv6.icmp_sk == NULL) in icmpv6_sk_init()
830 net->ipv6.icmp_sk[i] = sk; in icmpv6_sk_init()
850 inet_ctl_sock_destroy(net->ipv6.icmp_sk[j]); in icmpv6_sk_init()
851 kfree(net->ipv6.icmp_sk); in icmpv6_sk_init()
860 inet_ctl_sock_destroy(net->ipv6.icmp_sk[i]); in icmpv6_sk_exit()
862 kfree(net->ipv6.icmp_sk); in icmpv6_sk_exit()
968 .data = &init_net.ipv6.sysctl.icmpv6_time,
[all …]
Dip6mr.c125 list_for_each_entry_rcu(mrt, &net->ipv6.mr6_tables, list)
148 err = fib_rules_lookup(net->ipv6.mr6_rules_ops, in ip6mr_fib_lookup()
236 INIT_LIST_HEAD(&net->ipv6.mr6_tables); in ip6mr_rules_init()
248 net->ipv6.mr6_rules_ops = ops; in ip6mr_rules_init()
263 list_for_each_entry_safe(mrt, next, &net->ipv6.mr6_tables, list) { in ip6mr_rules_exit()
268 fib_rules_unregister(net->ipv6.mr6_rules_ops); in ip6mr_rules_exit()
272 for (mrt = net->ipv6.mrt6; mrt; mrt = NULL)
276 return net->ipv6.mrt6; in ip6mr_get_table()
282 *mrt = net->ipv6.mrt6; in ip6mr_fib_lookup()
288 net->ipv6.mrt6 = ip6mr_new_table(net, RT6_TABLE_DFLT); in ip6mr_rules_init()
[all …]
DKconfig15 For Linux IPv6 development information, see <http://www.linux-ipv6.org>.
20 module will be called ipv6.
38 echo 2 >/proc/sys/net/ipv6/conf/all/use_tempaddr
178 IPv6 Rapid Deployment (6rd; draft-ietf-softwire-ipv6-6rd) builds upon
/linux-3.4.99/net/openvswitch/
Dflow.c138 *key_lenp = SW_FLOW_KEY_OFFSET(ipv6.label); in parse_ipv6hdr()
151 key->ipv6.label = *(__be32 *)nh & htonl(IPV6_FLOWINFO_FLOWLABEL); in parse_ipv6hdr()
152 key->ipv6.addr.src = nh->saddr; in parse_ipv6hdr()
153 key->ipv6.addr.dst = nh->daddr; in parse_ipv6hdr()
510 key->ipv6.tp.src = htons(icmp->icmp6_type); in parse_icmpv6()
511 key->ipv6.tp.dst = htons(icmp->icmp6_code); in parse_icmpv6()
512 key_len = SW_FLOW_KEY_OFFSET(ipv6.tp); in parse_icmpv6()
521 key_len = SW_FLOW_KEY_OFFSET(ipv6.nd); in parse_icmpv6()
534 key->ipv6.nd.target = nd->target; in parse_icmpv6()
535 key_len = SW_FLOW_KEY_OFFSET(ipv6.nd); in parse_icmpv6()
[all …]
/linux-3.4.99/net/ipv6/netfilter/
Dip6table_mangle.c61 dev_net(out)->ipv6.ip6table_mangle); in ip6t_mangle_out()
84 dev_net(out)->ipv6.ip6table_mangle); in ip6table_mangle_hook()
87 dev_net(in)->ipv6.ip6table_mangle); in ip6table_mangle_hook()
98 net->ipv6.ip6table_mangle = in ip6table_mangle_net_init()
101 if (IS_ERR(net->ipv6.ip6table_mangle)) in ip6table_mangle_net_init()
102 return PTR_ERR(net->ipv6.ip6table_mangle); in ip6table_mangle_net_init()
108 ip6t_unregister_table(net, net->ipv6.ip6table_mangle); in ip6table_mangle_net_exit()
Dip6table_security.c46 return ip6t_do_table(skb, hook, in, out, net->ipv6.ip6table_security); in ip6table_security_hook()
58 net->ipv6.ip6table_security = in ip6table_security_net_init()
61 if (IS_ERR(net->ipv6.ip6table_security)) in ip6table_security_net_init()
62 return PTR_ERR(net->ipv6.ip6table_security); in ip6table_security_net_init()
69 ip6t_unregister_table(net, net->ipv6.ip6table_security); in ip6table_security_net_exit()
Dip6table_raw.c28 return ip6t_do_table(skb, hook, in, out, net->ipv6.ip6table_raw); in ip6table_raw_hook()
40 net->ipv6.ip6table_raw = in ip6table_raw_net_init()
43 if (IS_ERR(net->ipv6.ip6table_raw)) in ip6table_raw_net_init()
44 return PTR_ERR(net->ipv6.ip6table_raw); in ip6table_raw_net_init()
50 ip6t_unregister_table(net, net->ipv6.ip6table_raw); in ip6table_raw_net_exit()
Dip6table_filter.c41 return ip6t_do_table(skb, hook, in, out, net->ipv6.ip6table_filter); in ip6table_filter_hook()
61 net->ipv6.ip6table_filter = in ip6table_filter_net_init()
64 if (IS_ERR(net->ipv6.ip6table_filter)) in ip6table_filter_net_init()
65 return PTR_ERR(net->ipv6.ip6table_filter); in ip6table_filter_net_init()
71 ip6t_unregister_table(net, net->ipv6.ip6table_filter); in ip6table_filter_net_exit()
Dip6_tables.c92 const struct ipv6hdr *ipv6 = ipv6_hdr(skb); in ip6_packet_match() local
96 if (FWINV(ipv6_masked_addr_cmp(&ipv6->saddr, &ip6info->smsk, in ip6_packet_match()
98 FWINV(ipv6_masked_addr_cmp(&ipv6->daddr, &ip6info->dmsk, in ip6_packet_match()
166 ip6_checkentry(const struct ip6t_ip6 *ipv6) in ip6_checkentry() argument
168 if (ipv6->flags & ~IP6T_F_MASK) { in ip6_checkentry()
170 ipv6->flags & ~IP6T_F_MASK); in ip6_checkentry()
173 if (ipv6->invflags & ~IP6T_INV_MASK) { in ip6_checkentry()
175 ipv6->invflags & ~IP6T_INV_MASK); in ip6_checkentry()
198 static inline bool unconditional(const struct ip6t_ip6 *ipv6) in unconditional() argument
202 return memcmp(ipv6, &uncond, sizeof(uncond)) == 0; in unconditional()
[all …]
/linux-3.4.99/security/selinux/
Dnetnode.c139 if (ipv6_addr_equal(&node->nsec.addr.ipv6, in sel_netnode_find()
165 idx = sel_netnode_hashfn_ipv6(&node->nsec.addr.ipv6); in sel_netnode_insert()
224 new->nsec.addr.ipv6 = *(struct in6_addr *)addr; in sel_netnode_sid_slow()
/linux-3.4.99/net/core/
Dflow_dissector.c52 ipv6: in skb_flow_dissect()
89 goto ipv6; in skb_flow_dissect()
/linux-3.4.99/include/net/
Dipv6.h164 _DEVINC(net, ipv6, 64, idev, field)
166 _DEVINC(net, ipv6, 64_BH, idev, field)
168 _DEVADD(net, ipv6, 64, idev, field, val)
170 _DEVADD(net, ipv6, 64_BH, idev, field, val)
172 _DEVUPD(net, ipv6, 64, idev, field, val)
174 _DEVUPD(net, ipv6, 64_BH, idev, field, val)
/linux-3.4.99/drivers/scsi/fnic/
Dcq_enet_desc.h100 u8 *ipv6, u8 *ipv4, u8 *ipv4_fragment, u8 *fcs_ok) in cq_enet_rq_desc_dec() argument
160 *ipv6 = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_IPV6) ? 1 : 0; in cq_enet_rq_desc_dec()
/linux-3.4.99/drivers/net/ethernet/cisco/enic/
Dcq_enet_desc.h111 u8 *ipv6, u8 *ipv4, u8 *ipv4_fragment, u8 *fcs_ok) in cq_enet_rq_desc_dec() argument
178 *ipv6 = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_IPV6) ? 1 : 0; in cq_enet_rq_desc_dec()
/linux-3.4.99/Documentation/networking/
Dipv6.txt2 Options for the ipv6 module are supplied as parameters at load time.
9 The available ipv6 module parameters are listed below. If a parameter
/linux-3.4.99/include/linux/netfilter_ipv6/
Dip6_tables.h115 struct ip6t_ip6 ipv6; member
309 struct ip6t_ip6 ipv6; member
/linux-3.4.99/net/sctp/
DMakefile21 sctp-$(subst m,y,$(CONFIG_IPV6)) += ipv6.o
/linux-3.4.99/net/dccp/
DMakefile20 dccp_ipv6-y := ipv6.o
/linux-3.4.99/security/selinux/include/
Dobjsec.h88 struct in6_addr ipv6; /* IPv6 node address */ member

123