Home
last modified time | relevance | path

Searched defs:net (Results 51 – 75 of 814) sorted by relevance

12345678910>>...33

/linux-5.10/drivers/net/
Dthunderbolt.c231 static int tbnet_login_response(struct tbnet *net, u64 route, u8 sequence, in tbnet_login_response()
248 static int tbnet_login_request(struct tbnet *net, u8 sequence) in tbnet_login_request()
268 static int tbnet_logout_response(struct tbnet *net, u64 route, u8 sequence, in tbnet_logout_response()
282 static int tbnet_logout_request(struct tbnet *net) in tbnet_logout_request()
299 static void start_login(struct tbnet *net) in start_login()
310 static void stop_login(struct tbnet *net) in stop_login()
357 static void tbnet_tear_down(struct tbnet *net, bool send_logout) in tbnet_tear_down()
394 struct tbnet *net = data; in tbnet_handle_packet() local
466 static int tbnet_alloc_rx_buffers(struct tbnet *net, unsigned int nbuffers) in tbnet_alloc_rx_buffers()
512 static struct tbnet_frame *tbnet_get_tx_buffer(struct tbnet *net) in tbnet_get_tx_buffer()
[all …]
Dvrf.c174 static struct vrf_map *netns_vrf_map(struct net *net) in netns_vrf_map()
355 static int vrf_ifindex_lookup_by_table_id(struct net *net, u32 table_id) in vrf_ifindex_lookup_by_table_id()
427 static int vrf_ip6_local_out(struct net *net, struct sock *sk, in vrf_ip6_local_out()
445 struct net *net = dev_net(skb->dev); in vrf_process_v6_outbound() local
506 static int vrf_ip_local_out(struct net *net, struct sock *sk, in vrf_ip_local_out()
525 struct net *net = dev_net(vrf_dev); in vrf_process_v4_outbound() local
636 static int vrf_finish_output6(struct net *net, struct sock *sk, in vrf_finish_output6()
670 static int vrf_output6(struct net *net, struct sock *sk, struct sk_buff *skb) in vrf_output6()
710 static int vrf_output6_direct_finish(struct net *net, struct sock *sk, in vrf_output6_direct_finish()
718 static int vrf_output6_direct(struct net *net, struct sock *sk, in vrf_output6_direct()
[all …]
/linux-5.10/net/ipv6/
Dfib6_rules.c51 int fib6_rules_dump(struct net *net, struct notifier_block *nb, in fib6_rules_dump()
57 unsigned int fib6_rules_seq_read(struct net *net) in fib6_rules_seq_read()
63 int fib6_lookup(struct net *net, int oif, struct flowi6 *fl6, in fib6_lookup()
91 struct dst_entry *fib6_rule_lookup(struct net *net, struct flowi6 *fl6, in fib6_rule_lookup()
132 static int fib6_rule_saddr(struct net *net, struct fib_rule *rule, int flags, in fib6_rule_saddr()
162 struct net *net = rule->fr_net; in fib6_rule_action_alt() local
202 struct net *net = rule->fr_net; in __fib6_rule_action() local
353 struct net *net = sock_net(skb->sk); in fib6_rule_configure() local
389 struct net *net = rule->fr_net; in fib6_rule_delete() local
467 static int __net_init fib6_rules_net_init(struct net *net) in fib6_rules_net_init()
[all …]
Dicmp.c78 static struct sock *icmpv6_sk(struct net *net) in icmpv6_sk()
88 struct net *net = dev_net(skb->dev); in icmpv6_err() local
112 static __inline__ struct sock *icmpv6_xmit_lock(struct net *net) in icmpv6_xmit_lock()
173 static bool icmpv6_mask_allow(struct net *net, int type) in icmpv6_mask_allow()
185 static bool icmpv6_global_allow(struct net *net, int type) in icmpv6_global_allow()
202 struct net *net = sock_net(sk); in icmpv6_xrlim_allow() local
241 struct net *net = sock_net(sk); in icmpv6_rt_has_prefsrc() local
357 static struct dst_entry *icmpv6_route_lookup(struct net *net, in icmpv6_route_lookup()
454 struct net *net; in icmp6_send() local
715 struct net *net = dev_net(skb->dev); in icmpv6_echo_reply() local
[all …]
Dip6_flowlabel.c74 static inline struct ip6_flowlabel *__fl_lookup(struct net *net, __be32 label) in __fl_lookup()
85 static struct ip6_flowlabel *fl_lookup(struct net *net, __be32 label) in fl_lookup()
188 static void __net_exit ip6_fl_purge(struct net *net) in ip6_fl_purge()
213 static struct ip6_flowlabel *fl_intern(struct net *net, in fl_intern()
373 fl_create(struct net *net, struct sock *sk, struct in6_flowlabel_req *freq, in fl_create()
578 struct net *net = sock_net(sk); in ipv6_flowlabel_renew() local
613 struct net *net = sock_net(sk); in ipv6_flowlabel_get() local
757 struct net *net = seq_file_net(seq); in ip6fl_get_first() local
773 struct net *net = seq_file_net(seq); in ip6fl_get_next() local
864 static int __net_init ip6_flowlabel_proc_init(struct net *net) in ip6_flowlabel_proc_init()
[all …]
Daddrlabel.c127 static struct ip6addrlbl_entry *__ipv6_addr_label(struct net *net, in __ipv6_addr_label()
140 u32 ipv6_addr_label(struct net *net, in ipv6_addr_label()
203 static int __ip6addrlbl_add(struct net *net, struct ip6addrlbl_entry *newp, in __ip6addrlbl_add()
242 static int ip6addrlbl_add(struct net *net, in ip6addrlbl_add()
265 static int __ip6addrlbl_del(struct net *net, in __ip6addrlbl_del()
289 static int ip6addrlbl_del(struct net *net, in ip6addrlbl_del()
307 static int __net_init ip6addrlbl_net_init(struct net *net) in ip6addrlbl_net_init()
338 static void __net_exit ip6addrlbl_net_exit(struct net *net) in ip6addrlbl_net_exit()
372 static bool addrlbl_ifindex_exists(struct net *net, int ifindex) in addrlbl_ifindex_exists()
387 struct net *net = sock_net(skb->sk); in ip6addrlbl_newdel() local
[all …]
Danycast.c52 static u32 inet6_acaddr_hash(struct net *net, const struct in6_addr *addr) in inet6_acaddr_hash()
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()
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()
467 bool ipv6_chk_acast_addr_src(struct net *net, struct net_device *dev, in ipv6_chk_acast_addr_src()
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()
[all …]
Droute.c149 struct net *net = dev_net(rt->dst.dev); in rt6_uncached_list_del() local
158 static void rt6_uncached_list_flush_dev(struct net *net, struct net_device *dev) in rt6_uncached_list_flush_dev()
353 struct rt6_info *ip6_dst_alloc(struct net *net, struct net_device *dev, in ip6_dst_alloc()
428 void fib6_select_path(const struct net *net, struct fib6_result *res, in fib6_select_path()
479 static bool __rt6_device_match(struct net *net, const struct fib6_nh *nh, in __rt6_device_match()
501 struct net *net; member
518 static struct fib6_nh *rt6_nh_dev_match(struct net *net, struct nexthop *nh, in rt6_nh_dev_match()
539 static void rt6_device_match(struct net *net, struct fib6_result *res, in rt6_device_match()
875 static void rt6_select(struct net *net, struct fib6_node *fn, int oif, in rt6_select()
942 struct net *net = dev_net(dev); in rt6_route_rcv() local
[all …]
/linux-5.10/fs/lockd/
Dsvc.c108 static void set_grace_period(struct net *net) in set_grace_period()
121 struct net *net = &init_net; in restart_grace() local
139 struct net *net = &init_net; in lockd() local
191 struct net *net, const int family, in create_lockd_listener()
205 static int create_lockd_family(struct svc_serv *serv, struct net *net, in create_lockd_family()
229 static int make_socks(struct svc_serv *serv, struct net *net, in make_socks()
254 static int lockd_up_net(struct svc_serv *serv, struct net *net, in lockd_up_net()
279 static void lockd_down_net(struct svc_serv *serv, struct net *net) in lockd_down_net()
470 int lockd_up(struct net *net, const struct cred *cred) in lockd_up()
511 lockd_down(struct net *net) in lockd_down()
[all …]
/linux-5.10/fs/afs/
Dproc.c91 struct afs_net *net = afs_seq2net(m); in afs_proc_cells_write() local
155 struct afs_net *net; in afs_proc_rootcell_show() local
175 struct afs_net *net = afs_seq2net_single(m); in afs_proc_rootcell_write() local
438 struct afs_net *net = afs_seq2net(m); in afs_proc_sysname_show() local
450 struct afs_net *net = afs_seq2net(m); in afs_proc_sysname_start() local
463 struct afs_net *net = afs_seq2net(m); in afs_proc_sysname_next() local
475 struct afs_net *net = afs_seq2net(m); in afs_proc_sysname_stop() local
494 struct afs_net *net = afs_seq2net(m); in afs_proc_sysname_write() local
583 struct afs_net *net = afs_seq2net_single(m); in afs_proc_stats_show() local
615 struct afs_net *net = cell->net; in afs_proc_cell_setup() local
[all …]
/linux-5.10/include/net/
Dwext.h18 static inline int wext_handle_ioctl(struct net *net, unsigned int cmd, in wext_handle_ioctl()
23 static inline int compat_wext_handle_ioctl(struct net *net, unsigned int cmd, in compat_wext_handle_ioctl()
34 static inline int wext_proc_init(struct net *net) in wext_proc_init()
38 static inline void wext_proc_exit(struct net *net) in wext_proc_exit()
Dip.h282 #define IP_INC_STATS(net, field) SNMP_INC_STATS64((net)->mib.ip_statistics, field) argument
283 #define __IP_INC_STATS(net, field) __SNMP_INC_STATS64((net)->mib.ip_statistics, field) argument
284 #define IP_ADD_STATS(net, field, val) SNMP_ADD_STATS64((net)->mib.ip_statistics, field, val) argument
285 #define __IP_ADD_STATS(net, field, val) __SNMP_ADD_STATS64((net)->mib.ip_statistics, field, val) argument
286 #define IP_UPD_PO_STATS(net, field, val) SNMP_UPD_PO_STATS64((net)->mib.ip_statistics, field, val) argument
287 #define __IP_UPD_PO_STATS(net, field, val) __SNMP_UPD_PO_STATS64((net)->mib.ip_statistics, field, v… argument
288 #define NET_INC_STATS(net, field) SNMP_INC_STATS((net)->mib.net_statistics, field) argument
289 #define __NET_INC_STATS(net, field) __SNMP_INC_STATS((net)->mib.net_statistics, field) argument
290 #define NET_ADD_STATS(net, field, adnd) SNMP_ADD_STATS((net)->mib.net_statistics, field, adnd) argument
291 #define __NET_ADD_STATS(net, field, adnd) __SNMP_ADD_STATS((net)->mib.net_statistics, field, adnd) argument
[all …]
/linux-5.10/net/sctp/
Dinput.c68 static inline int sctp_rcv_checksum(struct net *net, struct sk_buff *skb) in sctp_rcv_checksum()
97 struct net *net = dev_net(skb->dev); in sctp_rcv() local
455 struct net *net = sock_net(sk); in sctp_icmp_proto_unreachable() local
471 struct sock *sctp_err_lookup(struct net *net, int family, struct sk_buff *skb, in sctp_err_lookup()
584 struct net *net = dev_net(skb->dev); in sctp_v4_err() local
722 struct net *net = sock_net(sk); in __sctp_hash_endpoint() local
813 static inline __u32 sctp_hashfn(const struct net *net, __be16 lport, in sctp_hashfn()
829 struct net *net, struct sk_buff *skb, in __sctp_rcv_lookup_endpoint()
870 const struct net *net; member
975 struct net *net, in sctp_addrs_lookup_transport()
[all …]
/linux-5.10/drivers/usb/gadget/function/
Du_ether.c58 struct net_device *net; member
141 static void eth_get_drvinfo(struct net_device *net, struct ethtool_drvinfo *p) in eth_get_drvinfo()
473 struct net_device *net) in eth_start_xmit()
622 static int eth_open(struct net_device *net) in eth_open()
640 static int eth_stop(struct net_device *net) in eth_stop()
752 struct net_device *net; in gether_setup_name() local
818 struct net_device *net; in gether_setup_name_default() local
857 int gether_register_netdev(struct net_device *net) in gether_register_netdev()
895 void gether_set_gadget(struct net_device *net, struct usb_gadget *g) in gether_set_gadget()
905 int gether_set_dev_addr(struct net_device *net, const char *dev_addr) in gether_set_dev_addr()
[all …]
/linux-5.10/net/ipv4/
Dipmr_base.c32 mr_table_alloc(struct net *net, u32 id, in mr_table_alloc()
114 void *mr_vif_seq_idx(struct net *net, struct mr_vif_iter *iter, loff_t pos) in mr_vif_seq_idx()
131 struct net *net = seq_file_net(seq); in mr_vif_seq_next() local
147 void *mr_mfc_seq_idx(struct net *net, in mr_mfc_seq_idx()
176 struct net *net = seq_file_net(seq); in mr_mfc_seq_next() local
345 struct mr_table *(*iter)(struct net *net, in mr_rtm_dumproute()
354 struct net *net = sock_net(skb->sk); in mr_rtm_dumproute() local
387 int mr_dump(struct net *net, struct notifier_block *nb, unsigned short family, in mr_dump()
388 int (*rules_dump)(struct net *net, in mr_dump()
391 struct mr_table *(*mr_iter)(struct net *net, in mr_dump()
/linux-5.10/net/sched/
Dact_ipt.c33 static int ipt_init_target(struct net *net, struct xt_entry_target *t, in ipt_init_target()
64 static void ipt_destroy_target(struct xt_entry_target *t, struct net *net) in ipt_destroy_target()
95 static int __tcf_ipt_init(struct net *net, unsigned int id, struct nlattr *nla, in __tcf_ipt_init()
203 static int tcf_ipt_init(struct net *net, struct nlattr *nla, in tcf_ipt_init()
212 static int tcf_xt_init(struct net *net, struct nlattr *nla, in tcf_xt_init()
318 static int tcf_ipt_walker(struct net *net, struct sk_buff *skb, in tcf_ipt_walker()
328 static int tcf_ipt_search(struct net *net, struct tc_action **a, u32 index) in tcf_ipt_search()
348 static __net_init int ipt_init_net(struct net *net) in ipt_init_net()
367 static int tcf_xt_walker(struct net *net, struct sk_buff *skb, in tcf_xt_walker()
377 static int tcf_xt_search(struct net *net, struct tc_action **a, u32 index) in tcf_xt_search()
[all …]
/linux-5.10/drivers/staging/rtl8188eu/os_dep/
Drtw_android.c76 static int rtw_android_get_rssi(struct net_device *net, char *command, in rtw_android_get_rssi()
93 static int rtw_android_get_link_speed(struct net_device *net, char *command, in rtw_android_get_link_speed()
104 static int rtw_android_get_macaddr(struct net_device *net, char *command, in rtw_android_get_macaddr()
111 static int android_set_cntry(struct net_device *net, char *command, in android_set_cntry()
122 static int android_get_p2p_addr(struct net_device *net, char *command, in android_get_p2p_addr()
130 int rtw_android_priv_cmd(struct net_device *net, struct ifreq *ifr, int cmd) in rtw_android_priv_cmd()
/linux-5.10/net/mptcp/
Dctrl.c23 static struct mptcp_pernet *mptcp_get_pernet(struct net *net) in mptcp_get_pernet()
28 int mptcp_is_enabled(struct net *net) in mptcp_is_enabled()
51 static int mptcp_pernet_new_table(struct net *net, struct mptcp_pernet *pernet) in mptcp_pernet_new_table()
89 static int __net_init mptcp_net_init(struct net *net) in mptcp_net_init()
99 static void __net_exit mptcp_net_exit(struct net *net) in mptcp_net_exit()
/linux-5.10/net/
Dsysctl_net.c45 struct net *net = container_of(head->set, struct net, sysctls); in net_ctl_permissions() local
60 struct net *net = container_of(head->set, struct net, sysctls); in net_ctl_set_ownership() local
79 static int __net_init sysctl_net_init(struct net *net) in sysctl_net_init()
85 static void __net_exit sysctl_net_exit(struct net *net) in sysctl_net_exit()
118 struct ctl_table_header *register_net_sysctl(struct net *net, in register_net_sysctl()
/linux-5.10/net/xfrm/
Dxfrm_state.c34 #define xfrm_state_deref_prot(table, net) \ argument
58 static inline unsigned int xfrm_dst_hash(struct net *net, in xfrm_dst_hash()
67 static inline unsigned int xfrm_src_hash(struct net *net, in xfrm_src_hash()
76 xfrm_spi_hash(struct net *net, const xfrm_address_t *daddr, in xfrm_spi_hash()
120 struct net *net = container_of(work, struct net, xfrm.state_hash_work); in xfrm_hash_resize() local
611 struct xfrm_state *xfrm_state_alloc(struct net *net) in xfrm_state_alloc()
659 struct net *net = xs_net(x); in __xfrm_state_delete() local
704 xfrm_state_flush_secctx_check(struct net *net, u8 proto, bool task_valid) in xfrm_state_flush_secctx_check()
724 xfrm_dev_state_flush_secctx_check(struct net *net, struct net_device *dev, bool task_valid) in xfrm_dev_state_flush_secctx_check()
747 xfrm_state_flush_secctx_check(struct net *net, u8 proto, bool task_valid) in xfrm_state_flush_secctx_check()
[all …]
/linux-5.10/include/net/netfilter/
Dnf_conntrack_ecache.h45 struct net *net = nf_ct_net(ct); in nf_ct_ecache_ext_add() local
108 struct net *net = nf_ct_net(ct); in nf_conntrack_event_cache() local
127 const struct net *net = nf_ct_net(ct); in nf_conntrack_event_report() local
142 const struct net *net = nf_ct_net(ct); in nf_conntrack_event() local
189 static inline void nf_conntrack_ecache_pernet_init(struct net *net) in nf_conntrack_ecache_pernet_init()
193 static inline void nf_conntrack_ecache_pernet_fini(struct net *net) in nf_conntrack_ecache_pernet_fini()
208 static inline void nf_conntrack_ecache_delayed_work(struct net *net) in nf_conntrack_ecache_delayed_work()
218 static inline void nf_conntrack_ecache_work(struct net *net) in nf_conntrack_ecache_work()
/linux-5.10/net/netfilter/
Dxt_addrtype.c33 static u32 match_lookup_rt6(struct net *net, const struct net_device *dev, in match_lookup_rt6()
68 static bool match_type6(struct net *net, const struct net_device *dev, in match_type6()
88 addrtype_mt6(struct net *net, const struct net_device *dev, in addrtype_mt6()
104 static inline bool match_type(struct net *net, const struct net_device *dev, in match_type()
113 struct net *net = xt_net(par); in addrtype_mt_v0() local
131 struct net *net = xt_net(par); in addrtype_mt_v1() local
Dnf_conntrack_core.c123 static bool nf_conntrack_double_lock(struct net *net, unsigned int h1, in nf_conntrack_double_lock()
187 const struct net *net) in hash_conntrack_raw()
210 static u32 __hash_conntrack(const struct net *net, in __hash_conntrack()
217 static u32 hash_conntrack(const struct net *net, in hash_conntrack()
247 struct net *net, in nf_ct_get_tuple()
398 struct net *net, struct nf_conntrack_tuple *tuple) in nf_ct_get_tuplepr()
543 struct nf_conn *nf_ct_tmpl_alloc(struct net *net, in nf_ct_tmpl_alloc()
633 struct net *net = nf_ct_net(ct); in nf_ct_delete_from_lists() local
688 const struct net *net) in nf_ct_key_equal()
731 ____nf_conntrack_find(struct net *net, const struct nf_conntrack_zone *zone, in ____nf_conntrack_find()
[all …]
/linux-5.10/net/openvswitch/
Dconntrack.h40 static inline int ovs_ct_init(struct net *net) { return 0; } in ovs_ct_init()
42 static inline void ovs_ct_exit(struct net *net) { } in ovs_ct_exit()
44 static inline bool ovs_ct_verify(struct net *net, int attr) in ovs_ct_verify()
49 static inline int ovs_ct_copy_action(struct net *net, const struct nlattr *nla, in ovs_ct_copy_action()
62 static inline int ovs_ct_execute(struct net *net, struct sk_buff *skb, in ovs_ct_execute()
/linux-5.10/net/core/
Ddev_ioctl.c22 static int dev_ifname(struct net *net, struct ifreq *ifr) in dev_ifname()
54 int dev_ifconf(struct net *net, struct ifconf *ifc, int size) in dev_ifconf()
104 static int dev_ifsioc_locked(struct net *net, struct ifreq *ifr, unsigned int cmd) in dev_ifsioc_locked()
252 static int dev_ifsioc(struct net *net, struct ifreq *ifr, unsigned int cmd) in dev_ifsioc()
365 void dev_load(struct net *net, const char *name) in dev_load()
400 int dev_ioctl(struct net *net, unsigned int cmd, struct ifreq *ifr, bool *need_copyout) in dev_ioctl()

12345678910>>...33