Searched refs:pppox_sock (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/include/linux/
H A Dif_pppox.h48 struct pppox_sock { struct
49 /* struct sock must be the first member of pppox_sock */
52 struct pppox_sock *next; /* for hash table */
64 static inline struct pppox_sock *pppox_sk(struct sock *sk) pppox_sk()
66 return (struct pppox_sock *)sk; pppox_sk()
69 static inline struct sock *sk_pppox(struct pppox_sock *po) sk_pppox()
/linux-4.4.14/drivers/net/ppp/
H A Dpppoe.c108 struct pppox_sock *hash_table[PPPOE_HASH_SIZE];
166 static struct pppox_sock *__get_item(struct pppoe_net *pn, __be16 sid, __get_item()
170 struct pppox_sock *ret; __get_item()
184 static int __set_item(struct pppoe_net *pn, struct pppox_sock *po) __set_item()
187 struct pppox_sock *ret; __set_item()
208 struct pppox_sock *ret, **src; __delete_item()
230 static inline struct pppox_sock *get_item(struct pppoe_net *pn, __be16 sid, get_item()
233 struct pppox_sock *po; get_item()
244 static inline struct pppox_sock *get_item_by_addr(struct net *net, get_item_by_addr()
249 struct pppox_sock *pppox_sock = NULL; get_item_by_addr() local
258 pppox_sock = get_item(pn, sp->sa_addr.pppoe.sid, get_item_by_addr()
262 return pppox_sock; get_item_by_addr()
288 struct pppox_sock *po = pn->hash_table[i]; pppoe_flush_dev()
374 struct pppox_sock *po = pppox_sk(sk); pppoe_rcv_core()
375 struct pppox_sock *relay_po; pppoe_rcv_core()
424 struct pppox_sock *po; pppoe_rcv()
464 struct pppox_sock *po = container_of(work, struct pppox_sock, pppoe_unbind_sock_work()
489 struct pppox_sock *po; pppoe_disc_rcv()
546 .obj_size = sizeof(struct pppox_sock),
582 struct pppox_sock *po; pppoe_release()
632 struct pppox_sock *po = pppox_sk(sk); pppoe_connect()
756 struct pppox_sock *po = pppox_sk(sk); pppoe_ioctl()
801 struct pppox_sock *relay_po; pppoe_ioctl()
857 struct pppox_sock *po = pppox_sk(sk); pppoe_sendmsg()
929 struct pppox_sock *po = pppox_sk(sk); __pppoe_xmit()
1028 struct pppox_sock *po; pppoe_seq_show()
1045 static inline struct pppox_sock *pppoe_get_idx(struct pppoe_net *pn, loff_t pos) pppoe_get_idx()
1047 struct pppox_sock *po; pppoe_get_idx()
1076 struct pppox_sock *po; pppoe_seq_next()
H A Dpptp.c48 static struct pppox_sock __rcu **callid_sock;
91 static struct pppox_sock *lookup_chan(u16 call_id, __be32 s_addr) lookup_chan()
93 struct pppox_sock *sock; lookup_chan()
112 struct pppox_sock *sock; lookup_chan_dst()
132 static int add_chan(struct pppox_sock *sock, add_chan()
162 static void del_chan(struct pppox_sock *sock) del_chan()
174 struct pppox_sock *po = pppox_sk(sk); pptp_xmit()
299 struct pppox_sock *po = pppox_sk(sk); pptp_rcv_core()
383 struct pppox_sock *po; pptp_rcv()
421 struct pppox_sock *po = pppox_sk(sk); pptp_bind()
454 struct pppox_sock *po = pppox_sk(sk); pptp_connect()
544 struct pppox_sock *po; pptp_release()
587 struct pppox_sock *po; pptp_create()
621 struct pppox_sock *po = pppox_sk(sk); pptp_ppp_ioctl()
656 .obj_size = sizeof(struct pppox_sock),
H A Dpppox.c74 struct pppox_sock *po = pppox_sk(sk); pppox_ioctl()
/linux-4.4.14/net/l2tp/
H A Dl2tp_ppp.c232 struct pppox_sock *po; pppol2tp_recv()
529 .obj_size = sizeof(struct pppox_sock),
579 struct pppox_sock *po = pppox_sk(ps->sock); pppol2tp_show()
593 struct pppox_sock *po = pppox_sk(sk); pppol2tp_connect()
1309 struct pppox_sock *po = pppox_sk(ssk); pppol2tp_session_setsockopt()
1646 struct pppox_sock *po = pppox_sk(ps->sock); pppol2tp_seq_session_show()

Completed in 394 milliseconds