Home
last modified time | relevance | path

Searched defs:net (Results 101 – 125 of 967) sorted by relevance

12345678910>>...39

/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/os_dep/linux/
H A Drtw_android.c185 static int rtw_android_pno_setup(struct net_device *net, char *command, int total_len) in rtw_android_pno_setup()
286 int rtw_android_cfg80211_pno_setup(struct net_device *net, in rtw_android_cfg80211_pno_setup()
329 int rtw_android_pno_enable(struct net_device *net, int pno_enable) in rtw_android_pno_enable()
367 int rtw_android_get_rssi(struct net_device *net, char *command, int total_len) in rtw_android_get_rssi()
382 int rtw_android_get_link_speed(struct net_device *net, char *command, int total_len) in rtw_android_get_link_speed()
394 int rtw_android_get_macaddr(struct net_device *net, char *command, int total_len) in rtw_android_get_macaddr()
402 int rtw_android_set_country(struct net_device *net, char *command, int total_len) in rtw_android_set_country()
413 int rtw_android_get_p2p_dev_addr(struct net_device *net, char *command, int total_len) in rtw_android_get_p2p_dev_addr()
424 int rtw_android_set_block_scan(struct net_device *net, char *command, int total_len) in rtw_android_set_block_scan()
436 int rtw_android_set_block(struct net_device *net, char *command, int total_len) in rtw_android_set_block()
[all …]
/OK3568_Linux_fs/kernel/include/linux/sunrpc/
H A Dstats.h47 static inline int rpc_proc_init(struct net *net) in rpc_proc_init()
52 static inline void rpc_proc_exit(struct net *net) in rpc_proc_exit()
73 static inline struct proc_dir_entry *rpc_proc_register(struct net *net, struct rpc_stat *s) { retur… in rpc_proc_register()
74 static inline void rpc_proc_unregister(struct net *net, const char *p) {} in rpc_proc_unregister()
77 static inline struct proc_dir_entry *svc_proc_register(struct net *net, struct svc_stat *s, in svc_proc_register()
79 static inline void svc_proc_unregister(struct net *net, const char *p) {} in svc_proc_unregister()
/OK3568_Linux_fs/kernel/net/ipv6/
H A Dproc.c36 struct net *net = seq->private; in sockstat6_seq_show() local
215 struct net *net = (struct net *)seq->private; in snmp6_seq_show() local
245 struct net *net; in snmp6_register_dev() local
265 struct net *net = dev_net(idev->dev); in snmp6_unregister_dev() local
275 static int __net_init ipv6_proc_init_net(struct net *net) in ipv6_proc_init_net()
297 static void __net_exit ipv6_proc_exit_net(struct net *net) in ipv6_proc_exit_net()
H A Daddrconf.c570 void inet6_netconf_notify_devconf(struct net *net, int event, int type, in inet6_netconf_notify_devconf()
644 struct net *net = sock_net(in_skb->sk); in inet6_netconf_get_devconf() local
708 struct net *net = sock_net(skb->sk); in inet6_netconf_dump_devconf() local
839 static void addrconf_forward_change(struct net *net, __s32 newf) in addrconf_forward_change()
857 struct net *net; in addrconf_fixup_forwarding() local
902 static void addrconf_linkdown_change(struct net *net, __s32 newf) in addrconf_linkdown_change()
925 struct net *net; in addrconf_fixup_linkdown() local
1006 static u32 inet6_addr_hash(const struct net *net, const struct in6_addr *addr) in inet6_addr_hash()
1013 static bool ipv6_chk_same_addr(struct net *net, const struct in6_addr *addr, in ipv6_chk_same_addr()
1057 struct net *net = dev_net(idev->dev); in ipv6_add_addr() local
[all …]
H A Dinet6_hashtables.c26 u32 inet6_ehashfn(const struct net *net, in inet6_ehashfn()
51 struct sock *__inet6_lookup_established(struct net *net, in __inet6_lookup_established()
94 static inline int compute_score(struct sock *sk, struct net *net, in compute_score()
116 static inline struct sock *lookup_reuseport(struct net *net, struct sock *sk, in lookup_reuseport()
134 static struct sock *inet6_lhash2_lookup(struct net *net, in inet6_lhash2_lookup()
162 static inline struct sock *inet6_lookup_run_bpf(struct net *net, in inet6_lookup_run_bpf()
187 struct sock *inet6_lookup_listener(struct net *net, in inet6_lookup_listener()
229 struct sock *inet6_lookup(struct net *net, struct inet_hashinfo *hashinfo, in inet6_lookup()
255 struct net *net = sock_net(sk); in __inet6_check_established() local
/OK3568_Linux_fs/kernel/net/ieee802154/6lowpan/
H A Dreassembly.c63 fq_find(struct net *net, const struct lowpan_802154_cb *cb, in fq_find()
279 struct net *net = dev_net(skb->dev); in lowpan_frag_rcv() local
356 static int __net_init lowpan_frags_ns_sysctl_register(struct net *net) in lowpan_frags_ns_sysctl_register()
395 static void __net_exit lowpan_frags_ns_sysctl_unregister(struct net *net) in lowpan_frags_ns_sysctl_unregister()
422 static inline int lowpan_frags_ns_sysctl_register(struct net *net) in lowpan_frags_ns_sysctl_register()
427 static inline void lowpan_frags_ns_sysctl_unregister(struct net *net) in lowpan_frags_ns_sysctl_unregister()
441 static int __net_init lowpan_frags_init_net(struct net *net) in lowpan_frags_init_net()
462 static void __net_exit lowpan_frags_pre_exit_net(struct net *net) in lowpan_frags_pre_exit_net()
470 static void __net_exit lowpan_frags_exit_net(struct net *net) in lowpan_frags_exit_net()
/OK3568_Linux_fs/kernel/net/netfilter/
H A Dnf_conntrack_proto.c52 struct net *net, in nf_l4proto_log_invalid()
79 struct net *net; in nf_ct_l4proto_log_invalid() local
447 static int nf_ct_netns_do_get(struct net *net, u8 nfproto) in nf_ct_netns_do_get()
532 static void nf_ct_netns_do_put(struct net *net, u8 nfproto) in nf_ct_netns_do_put()
563 static int nf_ct_netns_inet_get(struct net *net) in nf_ct_netns_inet_get()
583 int nf_ct_netns_get(struct net *net, u8 nfproto) in nf_ct_netns_get()
610 void nf_ct_netns_put(struct net *net, uint8_t nfproto) in nf_ct_netns_put()
676 void nf_conntrack_proto_pernet_init(struct net *net) in nf_conntrack_proto_pernet_init()
696 void nf_conntrack_proto_pernet_fini(struct net *net) in nf_conntrack_proto_pernet_fini()
H A Dnft_set_rbtree.c47 static bool __nft_rbtree_lookup(const struct net *net, const struct nft_set *set, in __nft_rbtree_lookup()
110 static bool nft_rbtree_lookup(const struct net *net, const struct nft_set *set, in nft_rbtree_lookup()
129 static bool __nft_rbtree_get(const struct net *net, const struct nft_set *set, in __nft_rbtree_get()
193 static void *nft_rbtree_get(const struct net *net, const struct nft_set *set, in nft_rbtree_get()
217 static int __nft_rbtree_insert(const struct net *net, const struct nft_set *set, in __nft_rbtree_insert()
370 static int nft_rbtree_insert(const struct net *net, const struct nft_set *set, in nft_rbtree_insert()
387 static void nft_rbtree_remove(const struct net *net, in nft_rbtree_remove()
401 static void nft_rbtree_activate(const struct net *net, in nft_rbtree_activate()
411 static bool nft_rbtree_flush(const struct net *net, in nft_rbtree_flush()
424 static void *nft_rbtree_deactivate(const struct net *net, in nft_rbtree_deactivate()
H A Dnft_set_hash.c77 static bool nft_rhash_lookup(const struct net *net, const struct nft_set *set, in nft_rhash_lookup()
95 static void *nft_rhash_get(const struct net *net, const struct nft_set *set, in nft_rhash_get()
160 static int nft_rhash_insert(const struct net *net, const struct nft_set *set, in nft_rhash_insert()
184 static void nft_rhash_activate(const struct net *net, const struct nft_set *set, in nft_rhash_activate()
193 static bool nft_rhash_flush(const struct net *net, in nft_rhash_flush()
206 static void *nft_rhash_deactivate(const struct net *net, in nft_rhash_deactivate()
229 static void nft_rhash_remove(const struct net *net, in nft_rhash_remove()
432 static bool nft_hash_lookup(const struct net *net, const struct nft_set *set, in nft_hash_lookup()
452 static void *nft_hash_get(const struct net *net, const struct nft_set *set, in nft_hash_get()
470 static bool nft_hash_lookup_fast(const struct net *net, in nft_hash_lookup_fast()
[all …]
/OK3568_Linux_fs/kernel/net/ipv4/netfilter/
H A Diptable_filter.c46 static int __net_init iptable_filter_table_init(struct net *net) in iptable_filter_table_init()
67 static int __net_init iptable_filter_net_init(struct net *net) in iptable_filter_net_init()
75 static void __net_exit iptable_filter_net_pre_exit(struct net *net) in iptable_filter_net_pre_exit()
82 static void __net_exit iptable_filter_net_exit(struct net *net) in iptable_filter_net_exit()
/OK3568_Linux_fs/kernel/net/ipv6/netfilter/
H A Dip6table_filter.c47 static int __net_init ip6table_filter_table_init(struct net *net) in ip6table_filter_table_init()
68 static int __net_init ip6table_filter_net_init(struct net *net) in ip6table_filter_net_init()
76 static void __net_exit ip6table_filter_net_pre_exit(struct net *net) in ip6table_filter_net_pre_exit()
83 static void __net_exit ip6table_filter_net_exit(struct net *net) in ip6table_filter_net_exit()
/OK3568_Linux_fs/kernel/net/xfrm/
H A Dxfrm_user.c570 static struct xfrm_state *xfrm_state_construct(struct net *net, in xfrm_state_construct()
674 struct net *net = sock_net(skb->sk); in xfrm_add_sa() local
716 static struct xfrm_state *xfrm_user_state_lookup(struct net *net, in xfrm_user_state_lookup()
753 struct net *net = sock_net(skb->sk); in xfrm_del_sa() local
1015 struct net *net = sock_net(sk); in xfrm_dump_sa_done() local
1024 struct net *net = sock_net(skb->sk); in xfrm_dump_sa() local
1094 static inline int xfrm_nlmsg_multicast(struct net *net, struct sk_buff *skb, in xfrm_nlmsg_multicast()
1128 static int build_spdinfo(struct sk_buff *skb, struct net *net, in build_spdinfo()
1184 struct net *net = sock_net(skb->sk); in xfrm_set_spdinfo() local
1229 struct net *net = sock_net(skb->sk); in xfrm_get_spdinfo() local
[all …]
/OK3568_Linux_fs/kernel/fs/nfs/blocklayout/
H A Drpc_pipefs.c56 struct net *net = server->nfs_client->cl_net; in bl_resolve_deviceid() local
169 struct net *net = sb->s_fs_info; in rpc_pipefs_event() local
207 static struct dentry *nfs4blocklayout_register_net(struct net *net, in nfs4blocklayout_register_net()
221 static void nfs4blocklayout_unregister_net(struct net *net, in nfs4blocklayout_unregister_net()
233 static int nfs4blocklayout_net_init(struct net *net) in nfs4blocklayout_net_init()
252 static void nfs4blocklayout_net_exit(struct net *net) in nfs4blocklayout_net_exit()
/OK3568_Linux_fs/kernel/net/sunrpc/
H A Dstats.c282 do_register(struct net *net, const char *name, void *data, in do_register()
293 rpc_proc_register(struct net *net, struct rpc_stat *statp) in rpc_proc_register()
300 rpc_proc_unregister(struct net *net, const char *name) in rpc_proc_unregister()
310 svc_proc_register(struct net *net, struct svc_stat *statp, const struct proc_ops *proc_ops) in svc_proc_register()
317 svc_proc_unregister(struct net *net, const char *name) in svc_proc_unregister()
326 int rpc_proc_init(struct net *net) in rpc_proc_init()
339 void rpc_proc_exit(struct net *net) in rpc_proc_exit()
/OK3568_Linux_fs/kernel/net/phonet/
H A Dpn_dev.c36 static struct phonet_net *phonet_pernet(struct net *net) in phonet_pernet()
41 struct phonet_device_list *phonet_device_list(struct net *net) in phonet_device_list()
109 struct net_device *phonet_device_get(struct net *net) in phonet_device_get()
207 int phonet_address_lookup(struct net *net, u8 addr) in phonet_address_lookup()
304 static int __net_init phonet_init_net(struct net *net) in phonet_init_net()
318 static void __net_exit phonet_exit_net(struct net *net) in phonet_exit_net()
394 struct net_device *phonet_route_get_rcu(struct net *net, u8 daddr) in phonet_route_get_rcu()
405 struct net_device *phonet_route_output(struct net *net, u8 daddr) in phonet_route_output()
/OK3568_Linux_fs/kernel/net/tipc/
H A Ddiscover.c65 struct net *net; member
80 static void tipc_disc_init_msg(struct net *net, struct sk_buff *skb, in tipc_disc_init_msg()
101 static void tipc_disc_msg_xmit(struct net *net, u32 mtyp, u32 dst, in tipc_disc_msg_xmit()
148 struct net *net = d->net; in tipc_disc_addr_trial_msg() local
192 void tipc_disc_rcv(struct net *net, struct sk_buff *skb, in tipc_disc_rcv()
298 struct net *net = d->net; in tipc_disc_timeout() local
349 int tipc_disc_create(struct net *net, struct tipc_bearer *b, in tipc_disc_create()
400 void tipc_disc_reset(struct net *net, struct tipc_bearer *b) in tipc_disc_reset()
/OK3568_Linux_fs/kernel/fs/proc/
H A Dproc_net.c46 struct net *net; in seq_open_net() local
169 struct net *net; in single_open_net() local
261 struct net *net = NULL; in get_proc_task_net() local
281 struct net *net; in proc_tgid_net_lookup() local
296 struct net *net; in proc_tgid_net_getattr() local
318 struct net *net; in proc_tgid_net_readdir() local
335 static __net_init int proc_net_ns_init(struct net *net) in proc_net_ns_init()
383 static __net_exit void proc_net_ns_exit(struct net *net) in proc_net_ns_exit()
/OK3568_Linux_fs/kernel/fs/afs/
H A Drxrpc.c36 int afs_open_socket(struct afs_net *net) in afs_open_socket()
106 void afs_close_socket(struct afs_net *net) in afs_close_socket()
134 static struct afs_call *afs_alloc_call(struct afs_net *net, in afs_alloc_call()
165 struct afs_net *net = call->net; in afs_put_call() local
226 struct afs_call *afs_alloc_flat_call(struct afs_net *net, in afs_alloc_flat_call()
748 struct afs_net *net = in afs_charge_preallocation() local
795 struct afs_net *net = afs_sock2net(sk); in afs_rx_new_call() local
848 struct afs_net *net = call->net; in afs_send_empty_reply() local
884 struct afs_net *net = call->net; in afs_send_simple_reply() local
923 struct afs_net *net = call->net; in afs_extract_data() local
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/os_dep/linux/
H A Drtw_android.c142 int rtw_android_get_rssi(struct net_device *net, char *command, int total_len) in rtw_android_get_rssi()
157 int rtw_android_get_link_speed(struct net_device *net, char *command, int total_len) in rtw_android_get_link_speed()
169 int rtw_android_get_macaddr(struct net_device *net, char *command, int total_len) in rtw_android_get_macaddr()
177 int rtw_android_set_country(struct net_device *net, char *command, int total_len) in rtw_android_set_country()
188 int rtw_android_get_p2p_dev_addr(struct net_device *net, char *command, int total_len) in rtw_android_get_p2p_dev_addr()
199 int rtw_android_set_block_scan(struct net_device *net, char *command, int total_len) in rtw_android_set_block_scan()
211 int rtw_android_set_block(struct net_device *net, char *command, int total_len) in rtw_android_set_block()
223 int rtw_android_setband(struct net_device *net, char *command, int total_len) in rtw_android_setband()
236 int rtw_android_getband(struct net_device *net, char *command, int total_len) in rtw_android_getband()
247 int rtw_android_set_miracast_mode(struct net_device *net, char *command, int total_len) in rtw_android_set_miracast_mode()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/os_dep/linux/
H A Drtw_android.c142 int rtw_android_get_rssi(struct net_device *net, char *command, int total_len) in rtw_android_get_rssi()
157 int rtw_android_get_link_speed(struct net_device *net, char *command, int total_len) in rtw_android_get_link_speed()
169 int rtw_android_get_macaddr(struct net_device *net, char *command, int total_len) in rtw_android_get_macaddr()
177 int rtw_android_set_country(struct net_device *net, char *command, int total_len) in rtw_android_set_country()
188 int rtw_android_get_p2p_dev_addr(struct net_device *net, char *command, int total_len) in rtw_android_get_p2p_dev_addr()
199 int rtw_android_set_block_scan(struct net_device *net, char *command, int total_len) in rtw_android_set_block_scan()
211 int rtw_android_set_block(struct net_device *net, char *command, int total_len) in rtw_android_set_block()
223 int rtw_android_setband(struct net_device *net, char *command, int total_len) in rtw_android_setband()
236 int rtw_android_getband(struct net_device *net, char *command, int total_len) in rtw_android_getband()
247 int rtw_android_set_miracast_mode(struct net_device *net, char *command, int total_len) in rtw_android_set_miracast_mode()
[all …]
/OK3568_Linux_fs/kernel/net/sctp/
H A Dprotocol.c102 static void sctp_get_local_addr_list(struct net *net) in sctp_get_local_addr_list()
119 static void sctp_free_local_addr_list(struct net *net) in sctp_free_local_addr_list()
132 int sctp_copy_local_addr_list(struct net *net, struct sctp_bind_addr *bp, in sctp_copy_local_addr_list()
354 struct net *net = sock_net(&sp->inet.sk); in sctp_v4_available() local
627 struct net *net = from_timer(net, t, sctp.addr_wq_timer); in sctp_addr_wq_timeout_handler() local
685 static void sctp_free_addr_wq(struct net *net) in sctp_free_addr_wq()
702 static struct sctp_sockaddr_entry *sctp_addr_wq_lookup(struct net *net, in sctp_addr_wq_lookup()
723 void sctp_addr_wq_mgmt(struct net *net, struct sctp_sockaddr_entry *addr, int cmd) in sctp_addr_wq_mgmt()
782 struct net *net = dev_net(ifa->ifa_dev->dev); in sctp_inetaddr_event() local
825 static int sctp_ctl_sock_init(struct net *net) in sctp_ctl_sock_init()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/can/spi/
H A Dhi311x.c146 struct net_device *net; member
174 static void hi3110_clean(struct net_device *net) in hi3110_clean()
366 struct net_device *net) in hi3110_hard_start_xmit()
386 static int hi3110_do_set_mode(struct net_device *net, enum can_mode mode) in hi3110_do_set_mode()
407 static int hi3110_get_berr_counter(const struct net_device *net, in hi3110_get_berr_counter()
451 static int hi3110_do_set_bittiming(struct net_device *net) in hi3110_do_set_bittiming()
476 static int hi3110_setup(struct net_device *net) in hi3110_setup()
539 static int hi3110_stop(struct net_device *net) in hi3110_stop()
578 struct net_device *net = priv->net; in hi3110_tx_work_handler() local
601 struct net_device *net = priv->net; in hi3110_restart_work_handler() local
[all …]
/OK3568_Linux_fs/kernel/net/core/
H A Dfib_rules.c104 static struct fib_rules_ops *lookup_rules_ops(struct net *net, int family) in lookup_rules_ops()
138 struct net *net; in __fib_rules_register() local
164 fib_rules_register(const struct fib_rules_ops *tmpl, struct net *net) in fib_rules_register()
200 struct net *net = ops->fro_net; in fib_rules_unregister() local
361 static int call_fib_rule_notifiers(struct net *net, in call_fib_rule_notifiers()
378 int fib_rules_dump(struct net *net, struct notifier_block *nb, int family, in fib_rules_dump()
400 unsigned int fib_rules_seq_read(struct net *net, int family) in fib_rules_seq_read()
523 struct net *net = sock_net(skb->sk); in fib_nl2rule() local
756 struct net *net = sock_net(skb->sk); in fib_nl_newrule() local
864 struct net *net = sock_net(skb->sk); in fib_nl_delrule() local
[all …]
/OK3568_Linux_fs/kernel/drivers/net/usb/
H A Dsr9800.c295 static void sr_set_multicast(struct net_device *net) in sr_set_multicast()
335 static int sr_mdio_read(struct net_device *net, int phy_id, int loc) in sr_mdio_read()
354 sr_mdio_write(struct net_device *net, int phy_id, int loc, int val) in sr_mdio_write()
399 sr_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in sr_get_wol()
418 sr_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in sr_set_wol()
438 static int sr_get_eeprom_len(struct net_device *net) in sr_get_eeprom_len()
446 static int sr_get_eeprom(struct net_device *net, in sr_get_eeprom()
472 static void sr_get_drvinfo(struct net_device *net, in sr_get_drvinfo()
481 static u32 sr_get_link(struct net_device *net) in sr_get_link()
488 static int sr_ioctl(struct net_device *net, struct ifreq *rq, int cmd) in sr_ioctl()
[all …]
/OK3568_Linux_fs/kernel/include/net/
H A Dipv6.h197 #define IP6_REPLY_MARK(net, mark) \ argument
206 #define _DEVINC(net, statname, mod, idev, field) \ argument
215 #define _DEVINCATOMIC(net, statname, mod, idev, field) \ argument
224 #define _DEVINC_ATOMIC_ATOMIC(net, statname, idev, field) \ argument
232 #define _DEVADD(net, statname, mod, idev, field, val) \ argument
240 #define _DEVUPD(net, statname, mod, idev, field, val) \ argument
250 #define IP6_INC_STATS(net, idev,field) \ argument
252 #define __IP6_INC_STATS(net, idev,field) \ argument
254 #define IP6_ADD_STATS(net, idev,field,val) \ argument
256 #define __IP6_ADD_STATS(net, idev,field,val) \ argument
[all …]

12345678910>>...39