Lines Matching refs:sock
15 #include <net/sock.h>
28 struct sock sk;
34 static inline struct pn_sock *pn_sk(struct sock *sk)
42 struct sock *pn_find_sock_by_sa(struct net *net, const struct sockaddr_pn *sa);
45 int pn_sock_hash(struct sock *sk);
46 void pn_sock_unhash(struct sock *sk);
47 int pn_sock_get_port(struct sock *sk, unsigned short sport);
49 struct sock *pn_find_sock_by_res(struct net *net, u8 res);
50 int pn_sock_bind_res(struct sock *sock, u8 res);
51 int pn_sock_unbind_res(struct sock *sk, u8 res);
52 void pn_sock_unbind_all_res(struct sock *sk);
54 int pn_skb_send(struct sock *sk, struct sk_buff *skb,
112 static inline bool sk_is_phonet(struct sock *sk)
117 static inline int phonet_sk_ioctl(struct sock *sk, unsigned int cmd,