Home
last modified time | relevance | path

Searched refs:intrfc (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/net/ipx/
Daf_ipx.c117 struct ipx_interface *intrfc = ipx_sk(sk)->intrfc; in ipx_remove_socket() local
119 if (!intrfc) in ipx_remove_socket()
122 ipxitf_hold(intrfc); in ipx_remove_socket()
123 spin_lock_bh(&intrfc->if_sklist_lock); in ipx_remove_socket()
125 spin_unlock_bh(&intrfc->if_sklist_lock); in ipx_remove_socket()
126 ipxitf_put(intrfc); in ipx_remove_socket()
201 static void ipxitf_insert_socket(struct ipx_interface *intrfc, struct sock *sk) in ipxitf_insert_socket() argument
203 ipxitf_hold(intrfc); in ipxitf_insert_socket()
204 spin_lock_bh(&intrfc->if_sklist_lock); in ipxitf_insert_socket()
205 ipx_sk(sk)->intrfc = intrfc; in ipxitf_insert_socket()
[all …]
Dipx_route.c24 extern int ipxitf_demux_socket(struct ipx_interface *intrfc,
26 extern int ipxitf_demux_socket(struct ipx_interface *intrfc,
48 int ipxrtr_add_route(__be32 network, struct ipx_interface *intrfc, in ipxrtr_add_route() argument
69 if (intrfc == ipx_internal_net) in ipxrtr_add_route()
74 rt->ir_intrfc = intrfc; in ipxrtr_add_route()
90 void ipxrtr_del_routes(struct ipx_interface *intrfc) in ipxrtr_del_routes() argument
96 if (r->ir_intrfc == intrfc) { in ipxrtr_del_routes()
105 struct ipx_interface *intrfc; in ipxrtr_create() local
109 intrfc = ipxitf_find_using_net(rd->ipx_router_network); in ipxrtr_create()
110 if (!intrfc) in ipxrtr_create()
[all …]
Dipx_proc.c159 i = ipxs->intrfc; in ipx_seq_socket_next()
198 ntohl(ipxs->intrfc->if_netnum), in ipx_seq_socket_show()
202 seq_printf(seq, "%08X:%04X ", ntohl(ipxs->intrfc->if_netnum), in ipx_seq_socket_show()
/linux-4.4.14/include/net/
Dipx.h102 struct ipx_interface *intrfc; member
138 const char *ipx_device_name(struct ipx_interface *intrfc);
140 static __inline__ void ipxitf_hold(struct ipx_interface *intrfc) in ipxitf_hold() argument
142 atomic_inc(&intrfc->refcnt); in ipxitf_hold()
145 void ipxitf_down(struct ipx_interface *intrfc);
147 int ipxitf_send(struct ipx_interface *intrfc, struct sk_buff *skb, char *node);
149 int ipxrtr_add_route(__be32 network, struct ipx_interface *intrfc,
151 void ipxrtr_del_routes(struct ipx_interface *intrfc);
158 static __inline__ void ipxitf_put(struct ipx_interface *intrfc) in ipxitf_put() argument
160 if (atomic_dec_and_test(&intrfc->refcnt)) in ipxitf_put()
[all …]