Lines Matching refs:sock

72 #include <net/sock.h>
150 struct sock sk;
175 static inline struct isotp_sock *isotp_sk(const struct sock *sk)
195 struct sock *sk = &so->sk;
212 static int isotp_send_fc(struct sock *sk, int ae, u8 flowstatus)
277 static void isotp_rcv_skb(struct sk_buff *skb, struct sock *sk)
363 struct sock *sk = &so->sk;
442 static int isotp_rcv_sf(struct sock *sk, struct canfd_frame *cf, int pcilen,
475 static int isotp_rcv_ff(struct sock *sk, struct canfd_frame *cf, int ae)
548 static int isotp_rcv_cf(struct sock *sk, struct canfd_frame *cf, int ae,
644 struct sock *sk = (struct sock *)data;
761 struct sock *sk = &so->sk;
853 struct sock *sk = (struct sock *)data;
899 struct sock *sk = &so->sk;
935 static int isotp_sendmsg(struct socket *sock, struct msghdr *msg, size_t size)
937 struct sock *sk = sock->sk;
1126 static int isotp_recvmsg(struct socket *sock, struct msghdr *msg, size_t size,
1129 struct sock *sk = sock->sk;
1170 static int isotp_release(struct socket *sock)
1172 struct sock *sk = sock->sk;
1237 sock->sk = NULL;
1245 static int isotp_bind(struct socket *sock, struct sockaddr *uaddr, int len)
1248 struct sock *sk = sock->sk;
1353 static int isotp_getname(struct socket *sock, struct sockaddr *uaddr, int peer)
1356 struct sock *sk = sock->sk;
1371 static int isotp_setsockopt_locked(struct socket *sock, int level, int optname,
1374 struct sock *sk = sock->sk;
1469 static int isotp_setsockopt(struct socket *sock, int level, int optname,
1473 struct sock *sk = sock->sk;
1480 ret = isotp_setsockopt_locked(sock, level, optname, optval, optlen);
1485 static int isotp_getsockopt(struct socket *sock, int level, int optname,
1488 struct sock *sk = sock->sk;
1540 struct sock *sk = &so->sk;
1603 static int isotp_init(struct sock *sk)
1652 static __poll_t isotp_poll(struct file *file, struct socket *sock, poll_table *wait)
1654 struct sock *sk = sock->sk;
1657 __poll_t mask = datagram_poll(file, sock, wait);
1667 static int isotp_sock_no_ioctlcmd(struct socket *sock, unsigned int cmd,