Lines Matching refs:sock
24 struct sock sk;
30 static inline struct pn_sock *pn_sk(struct sock *sk)
38 struct sock *pn_find_sock_by_sa(struct net *net, const struct sockaddr_pn *sa);
41 int pn_sock_hash(struct sock *sk);
42 void pn_sock_unhash(struct sock *sk);
43 int pn_sock_get_port(struct sock *sk, unsigned short sport);
45 struct sock *pn_find_sock_by_res(struct net *net, u8 res);
46 int pn_sock_bind_res(struct sock *sock, u8 res);
47 int pn_sock_unbind_res(struct sock *sk, u8 res);
48 void pn_sock_unbind_all_res(struct sock *sk);
50 int pn_skb_send(struct sock *sk, struct sk_buff *skb,