Home
last modified time | relevance | path

Searched refs:net (Results 151 – 175 of 3510) sorted by relevance

12345678910>>...141

/openbmc/linux/net/ipv6/netfilter/
H A Dip6table_filter.c36 static int ip6table_filter_table_init(struct net *net) in ip6table_filter_table_init() argument
48 err = ip6t_register_table(net, &packet_filter, repl, filter_ops); in ip6table_filter_table_init()
53 static int __net_init ip6table_filter_net_init(struct net *net) in ip6table_filter_net_init() argument
56 return ip6table_filter_table_init(net); in ip6table_filter_net_init()
61 static void __net_exit ip6table_filter_net_pre_exit(struct net *net) in ip6table_filter_net_pre_exit() argument
63 ip6t_unregister_table_pre_exit(net, "filter"); in ip6table_filter_net_pre_exit()
66 static void __net_exit ip6table_filter_net_exit(struct net *net) in ip6table_filter_net_exit() argument
68 ip6t_unregister_table_exit(net, "filter"); in ip6table_filter_net_exit()
/openbmc/openbmc/meta-ibm/recipes-phosphor/ipmi/phosphor-ipmi-net/
H A Dfirst-boot-disable-ipmi-net.service3 After=phosphor-ipmi-net@eth0.service
4 After=phosphor-ipmi-net@eth1.service
5 After=phosphor-ipmi-net@eth0.socket
6 After=phosphor-ipmi-net@eth1.socket
8 ConditionPathExists=!/var/lib/ipmi-net-disable-one-time
12 phosphor-ipmi-net@eth0.socket \
13 phosphor-ipmi-net@eth0.service \
14 phosphor-ipmi-net@eth1.socket \
15 phosphor-ipmi-net@eth1.service
16 ExecStart=/bin/touch /var/lib/ipmi-net-disable-one-time
[all …]
/openbmc/linux/tools/testing/selftests/net/hsr/
H A Dhsr_ping.sh179 ip -net "$ns3" link set ns3eth1 up
238 ip -net "$ns1" link set ns1eth1 up
239 ip -net "$ns1" link set ns1eth2 up
240 ip -net "$ns1" link set hsr1 up
242 ip -net "$ns2" link set ns2eth1 up
243 ip -net "$ns2" link set ns2eth2 up
244 ip -net "$ns2" link set hsr2 up
246 ip -net "$ns3" link set ns3eth1 up
248 ip -net "$ns3" link set hsr3 up
261 ip -net $i link set lo up
[all …]
/openbmc/linux/tools/testing/selftests/net/mptcp/
H A Dsimult_flows.sh69 ip -net $i link set lo up
78 ip -net "$ns1" addr add 10.0.1.1/24 dev ns1eth1
80 ip -net "$ns1" link set ns1eth1 up mtu 1500
81 ip -net "$ns1" route add default via 10.0.1.2
84 ip -net "$ns1" addr add 10.0.2.1/24 dev ns1eth2
86 ip -net "$ns1" link set ns1eth2 up mtu 1500
95 ip -net "$ns2" link set ns2eth1 up mtu 1500
99 ip -net "$ns2" link set ns2eth2 up mtu 1500
103 ip -net "$ns2" link set ns2eth3 up mtu 1500
109 ip -net "$ns3" link set ns3eth1 up mtu 1500
[all …]
/openbmc/linux/net/ipv6/
H A Danycast.c52 static u32 inet6_acaddr_hash(struct net *net, const struct in6_addr *addr) in inet6_acaddr_hash() argument
69 struct net *net = sock_net(sk); in ipv6_sock_ac_join() local
160 struct net *net = sock_net(sk); in ipv6_sock_ac_drop() local
191 struct net *net = sock_net(sk); in __ipv6_sock_ac_close() local
224 static void ipv6_add_acaddr_hash(struct net *net, struct ifacaddr6 *aca) in ipv6_add_acaddr_hash() argument
288 struct net *net; in __ipv6_dev_ac_inc() local
436 bool ipv6_chk_acast_addr(struct net *net, struct net_device *dev, in ipv6_chk_acast_addr() argument
467 bool ipv6_chk_acast_addr_src(struct net *net, struct net_device *dev, in ipv6_chk_acast_addr_src() argument
489 struct net *net = seq_file_net(seq); in ac6_get_first() local
585 int __net_init ac6_proc_init(struct net *net) in ac6_proc_init() argument
[all …]
H A Doutput_core.c14 static u32 __ipv6_select_ident(struct net *net, in __ipv6_select_ident() argument
29 __be32 ipv6_proxy_select_ident(struct net *net, struct sk_buff *skb) in ipv6_proxy_select_ident() argument
42 id = __ipv6_select_ident(net, &addrs[1], &addrs[0]); in ipv6_proxy_select_ident()
47 __be32 ipv6_select_ident(struct net *net, in ipv6_select_ident() argument
53 id = __ipv6_select_ident(net, daddr, saddr); in ipv6_select_ident()
124 int __ip6_local_out(struct net *net, struct sock *sk, struct sk_buff *skb) in __ip6_local_out() argument
144 net, sk, skb, NULL, skb_dst(skb)->dev, in __ip6_local_out()
149 int ip6_local_out(struct net *net, struct sock *sk, struct sk_buff *skb) in ip6_local_out() argument
153 err = __ip6_local_out(net, sk, skb); in ip6_local_out()
155 err = dst_output(net, sk, skb); in ip6_local_out()
/openbmc/linux/include/net/netfilter/
H A Dnf_conntrack_expect.h63 static inline struct net *nf_ct_exp_net(struct nf_conntrack_expect *exp) in nf_ct_exp_net()
84 int nf_conntrack_expect_pernet_init(struct net *net);
85 void nf_conntrack_expect_pernet_fini(struct net *net);
91 __nf_ct_expect_find(struct net *net,
96 nf_ct_expect_find_get(struct net *net,
101 nf_ct_find_expectation(struct net *net,
117 void nf_ct_expect_iterate_net(struct net *net,
H A Dbr_netfilter.h25 int br_nf_hook_thresh(unsigned int hook, struct net *net, struct sock *sk,
28 int (*okfn)(struct net *, struct sock *,
41 int br_nf_pre_routing_finish_bridge(struct net *net, struct sock *sk, struct sk_buff *skb);
56 const struct net *net);
59 int br_validate_ipv6(struct net *net, struct sk_buff *skb);
64 static inline int br_validate_ipv6(struct net *net, struct sk_buff *skb) in br_validate_ipv6() argument
H A Dnf_tables_core.h97 bool nft_rhash_lookup(const struct net *net, const struct nft_set *set,
99 bool nft_rbtree_lookup(const struct net *net, const struct nft_set *set,
101 bool nft_bitmap_lookup(const struct net *net, const struct nft_set *set,
103 bool nft_hash_lookup_fast(const struct net *net,
106 bool nft_hash_lookup(const struct net *net, const struct nft_set *set,
108 bool nft_set_do_lookup(const struct net *net, const struct nft_set *set,
112 nft_set_do_lookup(const struct net *net, const struct nft_set *set, in nft_set_do_lookup() argument
115 return set->ops->lookup(net, set, key, ext); in nft_set_do_lookup()
120 bool nft_pipapo_lookup(const struct net *net, const struct nft_set *set,
123 bool nft_pipapo_avx2_lookup(const struct net *net, const struct nft_set *set,
/openbmc/u-boot/lib/efi_selftest/
H A Defi_selftest_snp.c161 ret = net->transmit(net, 0, sizeof(struct dhcp), &p, NULL, NULL, 0); in send_dhcp_discover()
208 net = NULL; in setup()
215 if (!net->mode) { in setup()
227 if (!net->wait_for_packet) { in setup()
234 ret = net->start(net); in setup()
242 ret = net->initialize(net, 0, 0); in setup()
277 if (!net || !timer) { in execute()
326 net->receive(net, NULL, &buffer_size, &buffer, in execute()
402 if (net) { in teardown()
406 ret = net->stop(net); in teardown()
[all …]
/openbmc/linux/net/mctp/
H A Droute.c175 struct net *net = sock_net(&msk->sk); in mctp_key_add() local
327 struct net *net = dev_net(skb->dev); in mctp_route_input() local
606 struct net *net = sock_net(&msk->sk); in mctp_alloc_local_tag() local
677 struct net *net = sock_net(&msk->sk); in mctp_lookup_prealloc_tag() local
993 struct net *net = dev_net(mdev->dev); in mctp_route_add() local
1042 struct net *net = dev_net(mdev->dev); in mctp_route_remove() local
1082 struct net *net = dev_net(mdev->dev); in mctp_route_remove_dev() local
1101 struct net *net = dev_net(dev); in mctp_pkttype_receive() local
1144 cb->net = READ_ONCE(mdev->net); in mctp_pkttype_receive()
1189 struct net *net = sock_net(skb->sk); in mctp_route_nlparse() local
[all …]
/openbmc/linux/net/8021q/
H A Dvlanproc.c92 void vlan_proc_cleanup(struct net *net) in vlan_proc_cleanup() argument
100 remove_proc_entry(name_root, net->proc_net); in vlan_proc_cleanup()
111 int __net_init vlan_proc_init(struct net *net) in vlan_proc_init() argument
115 vn->proc_vlan_dir = proc_net_mkdir(net, name_root, net->proc_net); in vlan_proc_init()
128 vlan_proc_cleanup(net); in vlan_proc_init()
171 struct net *net = seq_file_net(seq); in vlan_seq_start() local
178 for_each_netdev_rcu(net, dev) { in vlan_seq_start()
192 struct net *net = seq_file_net(seq); in vlan_seq_next() local
198 dev = net_device_entry(&net->dev_base_head); in vlan_seq_next()
200 for_each_netdev_continue_rcu(net, dev) { in vlan_seq_next()
[all …]
/openbmc/linux/Documentation/driver-api/80211/
H A Dcfg80211.rst5 .. kernel-doc:: include/net/cfg80211.h
11 .. kernel-doc:: include/net/cfg80211.h
14 .. kernel-doc:: include/net/cfg80211.h
45 .. kernel-doc:: include/net/cfg80211.h
48 .. kernel-doc:: include/net/cfg80211.h
99 .. kernel-doc:: include/net/cfg80211.h
102 .. kernel-doc:: include/net/cfg80211.h
118 .. kernel-doc:: include/net/cfg80211.h
121 .. kernel-doc:: include/net/cfg80211.h
134 .. kernel-doc:: include/net/cfg80211.h
[all …]
/openbmc/linux/net/netfilter/
H A Dnfnetlink_cttimeout.c64 static struct nfct_timeout_pernet *nfct_timeout_pernet(struct net *net) in nfct_timeout_pernet() argument
72 struct net *net, const struct nlattr *attr) in ctnl_timeout_parse_policy() argument
142 info->net, in cttimeout_new_timeout()
230 struct net *net = sock_net(skb->sk); in ctnl_timeout_dump() local
312 static int ctnl_timeout_try_del(struct net *net, struct ctnl_timeout *timeout) in ctnl_timeout_try_del() argument
394 cttimeout_default_fill_info(struct net *net, struct sk_buff *skb, u32 portid, in cttimeout_default_fill_info() argument
512 static struct nf_ct_timeout *ctnl_timeout_find_get(struct net *net, in ctnl_timeout_find_get() argument
584 static int __net_init cttimeout_net_init(struct net *net) in cttimeout_net_init() argument
594 static void __net_exit cttimeout_net_pre_exit(struct net *net) in cttimeout_net_pre_exit() argument
607 static void __net_exit cttimeout_net_exit(struct net *net) in cttimeout_net_exit() argument
[all …]
H A Dnfnetlink.c91 static struct nfnl_net *nfnl_pernet(struct net *net) in nfnl_pernet() argument
168 int nfnetlink_has_listeners(struct net *net, unsigned int group) in nfnetlink_has_listeners() argument
176 int nfnetlink_send(struct sk_buff *skb, struct net *net, u32 portid, in nfnetlink_send() argument
219 struct net *net = sock_net(skb->sk); in nfnetlink_rcv_msg() local
262 .net = net, in nfnetlink_rcv_msg()
375 struct net *net = sock_net(skb->sk); in nfnetlink_rcv_batch() local
499 .net = net, in nfnetlink_rcv_batch()
700 static int nfnetlink_bind(struct net *net, int group) in nfnetlink_bind() argument
720 static void nfnetlink_unbind(struct net *net, int group) in nfnetlink_unbind() argument
758 static int __net_init nfnetlink_net_init(struct net *net) in nfnetlink_net_init() argument
[all …]
/openbmc/linux/include/net/
H A Dicmp.h29 #define ICMP_INC_STATS(net, field) SNMP_INC_STATS((net)->mib.icmp_statistics, field) argument
30 #define __ICMP_INC_STATS(net, field) __SNMP_INC_STATS((net)->mib.icmp_statistics, field) argument
31 #define ICMPMSGOUT_INC_STATS(net, field) SNMP_INC_STATS_ATOMIC_LONG((net)->mib.icmpmsg_statistics, … argument
32 #define ICMPMSGIN_INC_STATS(net, field) SNMP_INC_STATS_ATOMIC_LONG((net)->mib.icmpmsg_statistics, … argument
37 struct net;
59 void icmp_out_count(struct net *net, unsigned char type);
/openbmc/linux/net/ipv4/
H A Ddevinet.c650 struct net *net = sock_net(skb->sk); in inet_rtm_deladdr() local
949 struct net *net = sock_net(skb->sk); in inet_rtm_newaddr() local
1331 struct net *net = dev_net(dev); in inet_select_addr() local
1780 struct net *net; in inet_valid_dump_ifaddr_req() local
1853 struct net *net = sock_net(skb->sk); in inet_dump_ifaddr() local
1854 struct net *tgt_net = net; in inet_dump_ifaddr()
1938 struct net *net; in rtmsg_ifa() local
2266 struct net *net = sock_net(skb->sk); in inet_netconf_dump_devconf() local
2420 struct net *net = ctl->extra2; in devinet_conf_proc() local
2469 struct net *net = ctl->extra2; in devinet_sysctl_forward() local
[all …]
H A Dnexthop.c229 .net = net, in call_nexthop_notifiers()
332 .net = net, in __call_nexthop_res_bucket_notifiers()
394 .net = net, in call_nexthop_res_table_notifiers()
430 .net = net, in call_nexthop_notifier()
557 res_table->net = net; in nexthop_res_table_alloc()
2401 struct net *net = dev_net(dev); in nexthop_flush_dev() local
2622 nh->net = net; in nexthop_create()
2691 nh->net = net; in nexthop_add()
2955 struct net *net = sock_net(skb->sk); in rtm_new_nexthop() local
3555 struct net *net = dev_net(dev); in nexthop_sync_mtu() local
[all …]
/openbmc/linux/net/tipc/
H A Dmonitor.c95 struct net *net; member
195 static struct tipc_peer *get_self(struct net *net, int bearer_id) in get_self() argument
422 void tipc_mon_peer_up(struct net *net, u32 addr, int bearer_id) in tipc_mon_peer_up() argument
441 void tipc_mon_peer_down(struct net *net, u32 addr, int bearer_id) in tipc_mon_peer_down() argument
566 void tipc_mon_prep(struct net *net, void *data, int *dlen, in tipc_mon_prep() argument
599 void tipc_mon_get_state(struct net *net, u32 addr, in tipc_mon_get_state() argument
647 int tipc_mon_create(struct net *net, int bearer_id) in tipc_mon_create() argument
668 mon->net = net; in tipc_mon_create()
682 void tipc_mon_delete(struct net *net, int bearer_id) in tipc_mon_delete() argument
709 void tipc_mon_reinit_self(struct net *net) in tipc_mon_reinit_self() argument
[all …]
/openbmc/linux/tools/testing/selftests/netfilter/
H A Dconntrack_sctp_collision.sh29 ip net add $CLIENT_NS
30 ip net add $SERVER_NS
31 ip net add $ROUTER_NS
43 ip net exec $ROUTER_NS sysctl -wq net.ipv4.ip_forward=1
59 ip net exec $ROUTER_NS iptables -A INPUT -p sctp -j DROP
63 ip net exec $CLIENT_NS sysctl -wq net.sctp.association_max_retrans=3
69 ip net del "$CLIENT_NS"
70 ip net del "$SERVER_NS"
71 ip net del "$ROUTER_NS"
75 ip net exec $SERVER_NS ./sctp_collision server \
[all …]
/openbmc/linux/drivers/net/usb/
H A Dnet1080.c140 netdev_dbg(dev->net, "registers:\n");
183 netif_dbg(dev, link, dev->net, in nc_dump_usbctl()
226 netif_dbg(dev, link, dev->net, in nc_dump_status()
334 netif_dbg(dev, rx_err, dev->net, in nc_ensure_sync()
352 dev->net->mtu); in net1080_rx_fixup()
353 dev->net->stats.rx_frame_errors++; in net1080_rx_fixup()
362 dev->net->stats.rx_frame_errors++; in net1080_rx_fixup()
367 dev->net->stats.rx_frame_errors++; in net1080_rx_fixup()
392 dev->net->stats.rx_frame_errors++; in net1080_rx_fixup()
399 dev->net->stats.rx_fifo_errors++; in net1080_rx_fixup()
[all …]
/openbmc/linux/include/linux/
H A Dseq_file_net.h8 struct net;
9 extern struct net init_net;
13 struct net *net; member
18 static inline struct net *seq_file_net(struct seq_file *seq) in seq_file_net()
21 return ((struct seq_net_private *)seq->private)->net; in seq_file_net()
31 static inline struct net *seq_file_single_net(struct seq_file *seq) in seq_file_single_net()
34 return (struct net *)seq->private; in seq_file_single_net()
/openbmc/linux/fs/afs/
H A Ddynroot.c134 ret = dns_query(net->net, "afsdb", name, len, "srv=1", in afs_probe_cell_name()
200 if (!net->ws_cell) in afs_lookup_atcell()
208 down_read(&net->cells_lock); in afs_lookup_atcell()
209 cell = net->ws_cell; in afs_lookup_atcell()
214 up_read(&net->cells_lock); in afs_lookup_atcell()
350 mutex_lock(&net->proc_cells_lock); in afs_dynroot_populate()
352 net->dynroot_sb = sb; in afs_dynroot_populate()
365 net->dynroot_sb = NULL; in afs_dynroot_populate()
379 mutex_lock(&net->proc_cells_lock); in afs_dynroot_depopulate()
380 if (net->dynroot_sb == sb) in afs_dynroot_depopulate()
[all …]
/openbmc/linux/net/rds/
H A Dtcp.c316 int rds_tcp_laddr_check(struct net *net, const struct in6_addr *addr, in rds_tcp_laddr_check() argument
493 struct net *net = sock_net(sk); in rds_tcp_tune() local
538 struct net *net = sock_net(sk); in rds_tcp_accept_work() local
544 static __net_init int rds_tcp_init_net(struct net *net) in rds_tcp_init_net() argument
601 if (net != &init_net) in rds_tcp_init_net()
606 static void rds_tcp_kill_sock(struct net *net) in rds_tcp_kill_sock() argument
619 if (net != c_net) in rds_tcp_kill_sock()
633 static void __net_exit rds_tcp_exit_net(struct net *net) in rds_tcp_exit_net() argument
653 void *rds_tcp_listen_sock_def_readable(struct net *net) in rds_tcp_listen_sock_def_readable() argument
669 static void rds_tcp_sysctl_reset(struct net *net) in rds_tcp_sysctl_reset() argument
[all …]
/openbmc/linux/net/l3mdev/
H A Dl3mdev.c77 struct net *net, u32 table_id) in l3mdev_ifindex_lookup_by_table_id() argument
96 ifindex = lookup(net, table_id); in l3mdev_ifindex_lookup_by_table_id()
144 int l3mdev_master_upper_ifindex_by_index_rcu(struct net *net, int ifindex) in l3mdev_master_upper_ifindex_by_index_rcu() argument
148 dev = dev_get_by_index_rcu(net, ifindex); in l3mdev_master_upper_ifindex_by_index_rcu()
189 u32 l3mdev_fib_table_by_index(struct net *net, int ifindex) in l3mdev_fib_table_by_index() argument
199 dev = dev_get_by_index_rcu(net, ifindex); in l3mdev_fib_table_by_index()
218 struct dst_entry *l3mdev_link_scope_lookup(struct net *net, in l3mdev_link_scope_lookup() argument
247 int l3mdev_fib_rule_match(struct net *net, struct flowi *fl, in l3mdev_fib_rule_match() argument
271 void l3mdev_update_flow(struct net *net, struct flowi *fl) in l3mdev_update_flow() argument
278 dev = dev_get_by_index_rcu(net, fl->flowi_oif); in l3mdev_update_flow()
[all …]

12345678910>>...141