Lines Matching refs:sock
37 struct sock sk;
43 static inline struct pn_sock *pn_sk(struct sock *sk) in pn_sk()
51 struct sock *pn_find_sock_by_sa(struct net *net, const struct sockaddr_pn *sa);
54 void pn_sock_hash(struct sock *sk);
55 void pn_sock_unhash(struct sock *sk);
56 int pn_sock_get_port(struct sock *sk, unsigned short sport);
58 struct sock *pn_find_sock_by_res(struct net *net, u8 res);
59 int pn_sock_bind_res(struct sock *sock, u8 res);
60 int pn_sock_unbind_res(struct sock *sk, u8 res);
61 void pn_sock_unbind_all_res(struct sock *sk);
63 int pn_skb_send(struct sock *sk, struct sk_buff *skb,