Home
last modified time | relevance | path

Searched defs:net (Results 201 – 225 of 867) sorted by relevance

12345678910>>...35

/linux-6.8/include/net/
Dudp.h82 struct net *net, unsigned int num) in udp_hashslot()
207 static inline __be16 udp_flow_src_port(struct net *net, struct sk_buff *skb, in udp_flow_src_port()
248 static inline bool udp_sk_bound_dev_eq(struct net *net, int bound_dev_if, in udp_sk_bound_dev_eq()
395 #define UDP_INC_STATS(net, field, is_udplite) do { \ argument
398 #define __UDP_INC_STATS(net, field, is_udplite) do { \ argument
402 #define __UDP6_INC_STATS(net, field, is_udplite) do { \ argument
406 #define UDP6_INC_STATS(net, field, __lite) do { \ argument
Droute.h131 static inline struct rtable *__ip_route_output_key(struct net *net, in __ip_route_output_key()
142 static inline struct rtable *ip_route_output_key(struct net *net, struct flowi4 *flp) in ip_route_output_key()
147 static inline struct rtable *ip_route_output(struct net *net, __be32 daddr, in ip_route_output()
159 static inline struct rtable *ip_route_output_ports(struct net *net, struct flowi4 *fl4, in ip_route_output_ports()
174 static inline struct rtable *ip_route_output_gre(struct net *net, struct flowi4 *fl4, in ip_route_output_gre()
308 struct net *net = sock_net(sk); in ip_route_connect() local
354 struct net *net = dev_net(dst->dev); in ip4_dst_hoplimit() local
Dinet_hashtables.h255 static inline u32 inet_bhashfn(const struct net *net, const __u16 lport, in inet_bhashfn()
263 const struct net *net, unsigned short port) in inet_bhashfn_portaddr()
315 static inline struct sock *inet_lookup_listener(struct net *net, in inet_lookup_listener()
354 static inline bool inet_match(struct net *net, const struct sock *sk, in inet_match()
399 inet_lookup_established(struct net *net, struct inet_hashinfo *hashinfo, in inet_lookup_established()
408 static inline struct sock *__inet_lookup(struct net *net, in __inet_lookup()
429 static inline struct sock *inet_lookup(struct net *net, in inet_lookup()
448 struct sock *inet_steal_sock(struct net *net, struct sk_buff *skb, int doff, in inet_steal_sock()
495 struct net *net = dev_net(skb_dst(skb)->dev); in __inet_lookup_skb() local
Dip_fib.h291 static inline struct fib_table *fib_get_table(struct net *net, u32 id) in fib_get_table()
305 static inline struct fib_table *fib_new_table(struct net *net, u32 id) in fib_new_table()
310 static inline int fib_lookup(struct net *net, const struct flowi4 *flp, in fib_lookup()
330 static inline bool fib4_has_custom_rules(const struct net *net) in fib4_has_custom_rules()
340 static inline int fib4_rules_dump(struct net *net, struct notifier_block *nb, in fib4_rules_dump()
346 static inline unsigned int fib4_rules_seq_read(struct net *net) in fib4_rules_seq_read()
351 static inline bool fib4_rules_early_flow_dissect(struct net *net, in fib4_rules_early_flow_dissect()
368 static inline int fib_lookup(struct net *net, struct flowi4 *flp, in fib_lookup()
402 static inline bool fib4_has_custom_rules(const struct net *net) in fib4_has_custom_rules()
412 static inline bool fib4_rules_early_flow_dissect(struct net *net, in fib4_rules_early_flow_dissect()
[all …]
/linux-6.8/net/ipv6/netfilter/
Dip6table_mangle.c77 static int ip6table_mangle_table_init(struct net *net) in ip6table_mangle_table_init()
90 static void __net_exit ip6table_mangle_net_pre_exit(struct net *net) in ip6table_mangle_net_pre_exit()
95 static void __net_exit ip6table_mangle_net_exit(struct net *net) in ip6table_mangle_net_exit()
/linux-6.8/net/ipv4/netfilter/
Diptable_mangle.c84 static int iptable_mangle_table_init(struct net *net) in iptable_mangle_table_init()
97 static void __net_exit iptable_mangle_net_pre_exit(struct net *net) in iptable_mangle_net_pre_exit()
102 static void __net_exit iptable_mangle_net_exit(struct net *net) in iptable_mangle_net_exit()
/linux-6.8/net/llc/
Dllc_conn.c458 const struct net *net) in llc_estab_match()
484 const struct net *net) in __llc_lookup_established()
522 const struct net *net) in llc_lookup_established()
535 const struct net *net) in llc_listener_match()
547 const struct net *net) in __llc_lookup_listener()
595 const struct net *net) in llc_lookup_listener()
609 const struct net *net) in __llc_lookup()
930 struct sock *llc_sk_alloc(struct net *net, int family, gfp_t priority, struct proto *prot, int kern) in llc_sk_alloc()
/linux-6.8/net/phonet/
Dsocket.c66 struct sock *pn_find_sock_by_sa(struct net *net, const struct sockaddr_pn *spn) in pn_find_sock_by_sa()
104 void pn_deliver_sock_broadcast(struct net *net, struct sk_buff *skb) in pn_deliver_sock_broadcast()
471 struct net *net = sock_net(sk); in pn_sock_get_port() local
519 struct net *net = seq_file_net(seq); in pn_sock_get_idx() local
539 struct net *net = seq_file_net(seq); in pn_sock_get_next() local
612 struct sock *pn_find_sock_by_res(struct net *net, u8 res) in pn_find_sock_by_res()
694 struct net *net = seq_file_net(seq); in pn_res_get_idx() local
712 struct net *net = seq_file_net(seq); in pn_res_get_next() local
/linux-6.8/net/bridge/
Dbr_ioctl.c21 static int get_bridge_ifindices(struct net *net, int *indices, int num) in get_bridge_ifindices()
87 struct net *net = dev_net(br->dev); in add_del_if() local
339 static int old_deviceless(struct net *net, void __user *data) in old_deviceless()
397 int br_ioctl_stub(struct net *net, struct net_bridge *br, unsigned int cmd, in br_ioctl_stub()
Dbr_input.c27 br_netif_receive_skb(struct net *net, struct sock *sk, struct sk_buff *skb) in br_netif_receive_skb()
74 int br_handle_frame_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in br_handle_frame_finish()
240 static int br_handle_local_finish(struct net *net, struct sock *sk, struct sk_buff *skb) in br_handle_local_finish()
254 struct net *net; in nf_hook_bridge_pre() local
/linux-6.8/drivers/net/usb/
Dpegasus.c458 struct net_device *net; in read_bulk_callback() local
604 struct net_device *net; in write_bulk_callback() local
640 struct net_device *net; in intr_callback() local
693 static void pegasus_tx_timeout(struct net_device *net, unsigned int txqueue) in pegasus_tx_timeout()
702 struct net_device *net) in pegasus_start_xmit()
775 static void set_carrier(struct net_device *net) in set_carrier()
826 static int pegasus_open(struct net_device *net) in pegasus_open()
879 static int pegasus_close(struct net_device *net) in pegasus_close()
1004 static int pegasus_siocdevprivate(struct net_device *net, struct ifreq *rq, in pegasus_siocdevprivate()
1030 static void pegasus_set_multicast(struct net_device *net) in pegasus_set_multicast()
[all …]
Daqc111.c196 static void aqc111_get_drvinfo(struct net_device *net, in aqc111_get_drvinfo()
213 static void aqc111_get_wol(struct net_device *net, in aqc111_get_wol()
226 static int aqc111_set_wol(struct net_device *net, in aqc111_set_wol()
265 static int aqc111_get_link_ksettings(struct net_device *net, in aqc111_get_link_ksettings()
367 static int aqc111_set_link_ksettings(struct net_device *net, in aqc111_set_link_ksettings()
421 static int aqc111_change_mtu(struct net_device *net, int new_mtu) in aqc111_change_mtu()
463 static int aqc111_set_mac_addr(struct net_device *net, void *p) in aqc111_set_mac_addr()
477 static int aqc111_vlan_rx_kill_vid(struct net_device *net, in aqc111_vlan_rx_kill_vid()
503 static int aqc111_vlan_rx_add_vid(struct net_device *net, __be16 proto, u16 vid) in aqc111_vlan_rx_add_vid()
528 static void aqc111_set_rx_mode(struct net_device *net) in aqc111_set_rx_mode()
[all …]
Dasix_common.c458 void asix_set_multicast(struct net_device *net) in asix_set_multicast()
591 void asix_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in asix_get_wol()
610 int asix_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in asix_set_wol()
630 int asix_get_eeprom_len(struct net_device *net) in asix_get_eeprom_len()
635 int asix_get_eeprom(struct net_device *net, struct ethtool_eeprom *eeprom, in asix_get_eeprom()
670 int asix_set_eeprom(struct net_device *net, struct ethtool_eeprom *eeprom, in asix_set_eeprom()
751 void asix_get_drvinfo(struct net_device *net, struct ethtool_drvinfo *info) in asix_get_drvinfo()
759 int asix_set_mac_address(struct net_device *net, void *p) in asix_set_mac_address()
/linux-6.8/net/l2tp/
Dl2tp_core.c123 static inline struct l2tp_net *l2tp_pernet(const struct net *net) in l2tp_pernet()
205 struct l2tp_tunnel *l2tp_tunnel_get(const struct net *net, u32 tunnel_id) in l2tp_tunnel_get()
222 struct l2tp_tunnel *l2tp_tunnel_get_nth(const struct net *net, int nth) in l2tp_tunnel_get_nth()
265 struct l2tp_session *l2tp_session_get(const struct net *net, u32 session_id) in l2tp_session_get()
312 struct l2tp_session *l2tp_session_get_by_ifname(const struct net *net, in l2tp_session_get_by_ifname()
1228 static void l2tp_tunnel_remove(struct net *net, struct l2tp_tunnel *tunnel) in l2tp_tunnel_remove()
1274 static int l2tp_tunnel_sock_create(struct net *net, in l2tp_tunnel_sock_create()
1432 static int l2tp_validate_socket(const struct sock *sk, const struct net *net, in l2tp_validate_socket()
1454 int l2tp_tunnel_register(struct l2tp_tunnel *tunnel, struct net *net, in l2tp_tunnel_register()
1640 static __net_init int l2tp_init_net(struct net *net) in l2tp_init_net()
[all …]
/linux-6.8/net/sunrpc/
Dsvc.c391 int svc_rpcb_setup(struct svc_serv *serv, struct net *net) in svc_rpcb_setup()
405 void svc_rpcb_cleanup(struct svc_serv *serv, struct net *net) in svc_rpcb_cleanup()
429 int svc_bind(struct svc_serv *serv, struct net *net) in svc_bind()
952 static int __svc_rpcb_register4(struct net *net, const u32 program, in __svc_rpcb_register4()
1000 static int __svc_rpcb_register6(struct net *net, const u32 program, in __svc_rpcb_register6()
1044 static int __svc_register(struct net *net, const char *progname, in __svc_register()
1068 int svc_rpcbind_set_version(struct net *net, in svc_rpcbind_set_version()
1080 int svc_generic_rpcbind_set(struct net *net, in svc_generic_rpcbind_set()
1122 int svc_register(const struct svc_serv *serv, struct net *net, in svc_register()
1158 static void __svc_unregister(struct net *net, const u32 program, const u32 version, in __svc_unregister()
[all …]
/linux-6.8/net/smc/
Dsmc_sysctl.h23 static inline int smc_sysctl_net_init(struct net *net) in smc_sysctl_net_init()
31 static inline void smc_sysctl_net_exit(struct net *net) { } in smc_sysctl_net_exit()
/linux-6.8/fs/nfsd/
Didmap.h46 static inline int nfsd_idmap_init(struct net *net) in nfsd_idmap_init()
50 static inline void nfsd_idmap_shutdown(struct net *net) in nfsd_idmap_shutdown()
/linux-6.8/net/netfilter/
Dnft_set_pipapo.c408 bool nft_pipapo_lookup(const struct net *net, const struct nft_set *set, in nft_pipapo_lookup()
515 static struct nft_pipapo_elem *pipapo_get(const struct net *net, in pipapo_get()
605 nft_pipapo_get(const struct net *net, const struct nft_set *set, in nft_pipapo_get()
1198 static int nft_pipapo_insert(const struct net *net, const struct nft_set *set,
1573 static void nft_pipapo_gc_deactivate(struct net *net, struct nft_set *set,
1588 struct net *net = read_pnet(&set->net); local
1729 const struct net *net = read_pnet(&set->net); local
1768 static void nft_pipapo_activate(const struct net *net,
1790 static void *pipapo_deactivate(const struct net *net, const struct nft_set *set,
1813 nft_pipapo_deactivate(const struct net *net, const struct nft_set *set,
[all …]
Dnfnetlink_log.c68 struct net *net; member
95 static struct nfnl_log_net *nfnl_log_pernet(struct net *net) in nfnl_log_pernet()
169 instance_create(struct net *net, u_int16_t group_num, in instance_create()
337 nfulnl_alloc_skb(struct net *net, u32 peer_portid, unsigned int inst_size, in nfulnl_alloc_skb()
684 nfulnl_log_packet(struct net *net, in nfulnl_log_packet()
1029 static struct hlist_node *get_first(struct net *net, struct iter_state *st) in get_first()
1046 static struct hlist_node *get_next(struct net *net, struct iter_state *st, in get_next()
1064 static struct hlist_node *get_idx(struct net *net, struct iter_state *st, in get_idx()
1116 static int __net_init nfnl_log_net_init(struct net *net) in nfnl_log_net_init()
1144 static void __net_exit nfnl_log_net_exit(struct net *net) in nfnl_log_net_exit()
Dxt_recent.c97 static inline struct recent_net *recent_pernet(struct net *net) in recent_pernet()
242 struct net *net = xt_net(par); in recent_mt() local
635 static int __net_init recent_proc_net_init(struct net *net) in recent_proc_net_init()
645 static void __net_exit recent_proc_net_exit(struct net *net) in recent_proc_net_exit()
664 static inline int recent_proc_net_init(struct net *net) in recent_proc_net_init()
669 static inline void recent_proc_net_exit(struct net *net) in recent_proc_net_exit()
674 static int __net_init recent_net_init(struct net *net) in recent_net_init()
682 static void __net_exit recent_net_exit(struct net *net) in recent_net_exit()
/linux-6.8/net/sched/
Dact_api.c675 static int __tcf_generic_walker(struct net *net, struct sk_buff *skb, in __tcf_generic_walker()
688 static int __tcf_idr_search(struct net *net, in __tcf_idr_search()
1390 struct tc_action *tcf_action_init_1(struct net *net, struct tcf_proto *tp, in tcf_action_init_1()
1459 int tcf_action_init(struct net *net, struct tcf_proto *tp, struct nlattr *nla, in tcf_action_init()
1643 tcf_get_notify(struct net *net, u32 portid, struct nlmsghdr *n, in tcf_get_notify()
1662 static struct tc_action *tcf_action_get_1(struct net *net, struct nlattr *nla, in tcf_action_get_1()
1706 static int tca_action_flush(struct net *net, struct nlattr *nla, in tca_action_flush()
1782 static int tcf_action_delete(struct net *net, struct tc_action *actions[]) in tcf_action_delete()
1811 static struct sk_buff *tcf_reoffload_del_notify_msg(struct net *net, in tcf_reoffload_del_notify_msg()
1832 static int tcf_reoffload_del_notify(struct net *net, struct tc_action *action) in tcf_reoffload_del_notify()
[all …]
/linux-6.8/net/mptcp/
Dpm_netlink.c51 static struct pm_nl_pernet *pm_nl_get_pernet(const struct net *net) in pm_nl_get_pernet()
349 struct net *net = sock_net(sk); in mptcp_pm_alloc_anno_list() local
1121 struct net *net = sock_net(sk); in mptcp_pm_nl_subflow_chk_stale() local
1266 static int mptcp_nl_add_subflow_or_signal_addr(struct net *net) in mptcp_nl_add_subflow_or_signal_addr()
1365 struct net *net = sock_net(sk); in mptcp_pm_nl_get_flags_and_ifindex_by_id() local
1411 static int mptcp_nl_remove_subflow_and_signal_addr(struct net *net, in mptcp_nl_remove_subflow_and_signal_addr()
1451 static int mptcp_nl_remove_id_zero_address(struct net *net, in mptcp_nl_remove_id_zero_address()
1578 static void mptcp_nl_remove_addrs_list(struct net *net, in mptcp_nl_remove_addrs_list()
1731 struct net *net = sock_net(msg->sk); in mptcp_pm_nl_get_addr_dumpit() local
1856 static int mptcp_nl_set_flags(struct net *net, in mptcp_nl_set_flags()
[all …]
/linux-6.8/net/ipv6/
Dipcomp6.c47 struct net *net = dev_net(skb->dev); in ipcomp6_err() local
76 struct net *net = xs_net(x); in ipcomp6_tunnel_create() local
113 struct net *net = xs_net(x); in ipcomp6_tunnel_attach() local
/linux-6.8/net/unix/
Dsysctl_net_unix.c25 int __net_init unix_sysctl_register(struct net *net) in unix_sysctl_register()
53 void unix_sysctl_unregister(struct net *net) in unix_sysctl_unregister()
/linux-6.8/include/net/sctp/
Dsctp.h207 #define SCTP_INC_STATS(net, field) SNMP_INC_STATS((net)->sctp.sctp_statistics, field) argument
208 #define __SCTP_INC_STATS(net, field) __SNMP_INC_STATS((net)->sctp.sctp_statistics, field) argument
209 #define SCTP_DEC_STATS(net, field) SNMP_DEC_STATS((net)->sctp.sctp_statistics, field) argument
305 static inline void sctp_dbg_objcnt_init(struct net *net) { return; } in sctp_dbg_objcnt_init()
317 static inline int sctp_sysctl_net_register(struct net *net) { return 0; } in sctp_sysctl_net_register()
318 static inline void sctp_sysctl_net_unregister(struct net *net) { return; } in sctp_sysctl_net_unregister()
496 static inline int sctp_phashfn(struct net *net, __u16 lport) in sctp_phashfn()
502 static inline int sctp_ep_hashfn(struct net *net, __u16 lport) in sctp_ep_hashfn()

12345678910>>...35