| tag | line | file | source code |
| sock | 114 | drivers/net/de600.c | static unsigned long de600_rspace(struct sock *sk); |
| sock | 807 | drivers/net/de600.c | de600_rspace(struct sock *sk) |
| sock | 30 | fs/ncpfs/sock.c | static int _recvfrom(struct socket *sock, unsigned char *ubuf, |
| sock | 48 | fs/ncpfs/sock.c | return sock->ops->recvmsg(sock, &msg, size, noblock, flags, addr_len); |
| sock | 51 | fs/ncpfs/sock.c | static int _sendto(struct socket *sock, const void *buff, |
| sock | 68 | fs/ncpfs/sock.c | return sock->ops->sendmsg(sock, &msg, len, nonblock, flags); |
| sock | 73 | fs/ncpfs/sock.c | ncp_wdog_data_ready(struct sock *sk, int len) |
| sock | 75 | fs/ncpfs/sock.c | struct socket *sock = sk->socket; |
| sock | 88 | fs/ncpfs/sock.c | result = _recvfrom(sock, (void *)packet_buf, 2, 1, 0, |
| sock | 113 | fs/ncpfs/sock.c | result = _sendto(sock, (void *)packet_buf, 2, 1, 0, |
| sock | 126 | fs/ncpfs/sock.c | struct socket *sock; |
| sock | 127 | fs/ncpfs/sock.c | struct sock *sk; |
| sock | 139 | fs/ncpfs/sock.c | sock = &(inode->u.socket_i); |
| sock | 141 | fs/ncpfs/sock.c | if (sock->type != SOCK_DGRAM) |
| sock | 148 | fs/ncpfs/sock.c | sk = (struct sock *)(sock->data); |
| sock | 178 | fs/ncpfs/sock.c | struct socket *sock; |
| sock | 179 | fs/ncpfs/sock.c | struct sock *sk; |
| sock | 191 | fs/ncpfs/sock.c | sock = &(inode->u.socket_i); |
| sock | 193 | fs/ncpfs/sock.c | if (sock->type != SOCK_DGRAM) |
| sock | 199 | fs/ncpfs/sock.c | sk = (struct sock *)(sock->data); |
| sock | 232 | fs/ncpfs/sock.c | ncp_msg_data_ready(struct sock *sk, int len) |
| sock | 234 | fs/ncpfs/sock.c | struct socket *sock = sk->socket; |
| sock | 247 | fs/ncpfs/sock.c | result = _recvfrom(sock, (void *)packet_buf, 2, 1, 0, |
| sock | 271 | fs/ncpfs/sock.c | struct socket *sock; |
| sock | 272 | fs/ncpfs/sock.c | struct sock *sk; |
| sock | 283 | fs/ncpfs/sock.c | sock = &(inode->u.socket_i); |
| sock | 285 | fs/ncpfs/sock.c | if (sock->type != SOCK_DGRAM) |
| sock | 291 | fs/ncpfs/sock.c | sk = (struct sock *)(sock->data); |
| sock | 322 | fs/ncpfs/sock.c | struct socket *sock; |
| sock | 348 | fs/ncpfs/sock.c | sock = &inode->u.socket_i; |
| sock | 349 | fs/ncpfs/sock.c | if (!sock) |
| sock | 391 | fs/ncpfs/sock.c | result = _sendto(sock, (void *) start, size, 0, 0, |
| sock | 458 | fs/ncpfs/sock.c | result = _recvfrom(sock, (void *)&reply, |
| sock | 485 | fs/ncpfs/sock.c | _recvfrom(sock, (void *)&reply, sizeof(reply), 1, 0, |
| sock | 513 | fs/ncpfs/sock.c | _recvfrom(sock, (void *)&reply, sizeof(reply), 1, 0, NULL, |
| sock | 523 | fs/ncpfs/sock.c | result = _recvfrom(sock, (void *)start, server->packet_size, |
| sock | 169 | fs/nfs/inode.c | struct socket *sock; |
| sock | 174 | fs/nfs/inode.c | sock = &((filp->f_inode)->u.socket_i); |
| sock | 177 | fs/nfs/inode.c | sock->ops->getname(sock, &(server->toaddr), &dummylen, 1) ; |
| sock | 500 | fs/nfs/nfsroot.c | static int root_open_udp_sock(int *fd, struct socket **sock) |
| sock | 509 | fs/nfs/nfsroot.c | *sock = &inode->u.socket_i; |
| sock | 521 | fs/nfs/nfsroot.c | static int root_connect_udp_sock(struct socket *sock, u32 addr, u16 port) |
| sock | 529 | fs/nfs/nfsroot.c | result = sock->ops->connect(sock, (struct sockaddr *) &sa, sizeof(sa), 0); |
| sock | 541 | fs/nfs/nfsroot.c | static int root_bind_udp_sock(struct socket *sock, u32 addr, u16 port) |
| sock | 549 | fs/nfs/nfsroot.c | result = sock->ops->bind(sock, (struct sockaddr *) &sa, sizeof(sa)); |
| sock | 561 | fs/nfs/nfsroot.c | static inline int root_send_udp(struct socket *sock, void *buf, int size) |
| sock | 576 | fs/nfs/nfsroot.c | result = sock->ops->sendmsg(sock, &msg, size, 0, 0); |
| sock | 585 | fs/nfs/nfsroot.c | static inline int root_recv_udp(struct socket *sock, void *buf, int size) |
| sock | 601 | fs/nfs/nfsroot.c | result = sock->ops->recvmsg(sock, &msg, size, O_NONBLOCK, 0, &msg.msg_namelen); |
| sock | 716 | fs/nfs/nfsroot.c | ((struct sock *) bootp_xmit_sock->data) -> broadcast = 1; |
| sock | 717 | fs/nfs/nfsroot.c | ((struct sock *) bootp_xmit_sock->data) -> reuse = 1; |
| sock | 718 | fs/nfs/nfsroot.c | ((struct sock *) bootp_recv_sock->data) -> reuse = 1; |
| sock | 1508 | fs/nfs/nfsroot.c | struct socket *sock; |
| sock | 1526 | fs/nfs/nfsroot.c | sock = &((nfs_file->f_inode)->u.socket_i); |
| sock | 1529 | fs/nfs/nfsroot.c | sock->ops->getname(sock, &(s.toaddr), &dummylen, 1); |
| sock | 109 | fs/nfs/rpcsock.c | struct socket *sock = rsock->sock; |
| sock | 122 | fs/nfs/rpcsock.c | result = sock->ops->sendmsg(sock, &msg, len, 0, 0); |
| sock | 135 | fs/nfs/rpcsock.c | struct socket *sock = rsock->sock; |
| sock | 149 | fs/nfs/rpcsock.c | result = sock->ops->recvmsg(sock, &msg, len, 1, flags, &alen); |
| sock | 529 | fs/nfs/rpcsock.c | struct socket *sock; |
| sock | 530 | fs/nfs/rpcsock.c | struct sock *sk; |
| sock | 535 | fs/nfs/rpcsock.c | sock = &file->f_inode->u.socket_i; |
| sock | 536 | fs/nfs/rpcsock.c | if (sock->type != SOCK_DGRAM || sock->ops->family != AF_INET) { |
| sock | 540 | fs/nfs/rpcsock.c | sk = (struct sock *) sock->data; |
| sock | 546 | fs/nfs/rpcsock.c | rsock->sock = sock; |
| sock | 176 | fs/read_write.c | struct socket *sock; |
| sock | 178 | fs/read_write.c | sock = &inode->u.socket_i; |
| sock | 179 | fs/read_write.c | if (!sock->ops) |
| sock | 189 | fs/read_write.c | if (!sock->ops->recvmsg) |
| sock | 191 | fs/read_write.c | return sock->ops->recvmsg(sock, &msg, size, |
| sock | 194 | fs/read_write.c | if (!sock->ops->sendmsg) |
| sock | 196 | fs/read_write.c | return sock->ops->sendmsg(sock, &msg, size, |
| sock | 27 | fs/smbfs/sock.c | static int _recvfrom(struct socket *sock, unsigned char *ubuf, int size, int noblock, unsigned flags, |
| sock | 44 | fs/smbfs/sock.c | return sock->ops->recvmsg(sock, &msg, size, noblock, flags, addr_len); |
| sock | 47 | fs/smbfs/sock.c | static int _send(struct socket *sock, const void *buff, int len, int nonblock, unsigned flags) { |
| sock | 60 | fs/smbfs/sock.c | return sock->ops->sendmsg(sock, &msg, len, nonblock, flags); |
| sock | 64 | fs/smbfs/sock.c | smb_data_callback(struct sock *sk,int len) |
| sock | 66 | fs/smbfs/sock.c | struct socket *sock = sk->socket; |
| sock | 77 | fs/smbfs/sock.c | result = _recvfrom(sock, (void *)peek_buf, 1, 1, |
| sock | 83 | fs/smbfs/sock.c | result = _recvfrom(sock, (void *)peek_buf, |
| sock | 92 | fs/smbfs/sock.c | result = _recvfrom(sock, (void *)peek_buf, |
| sock | 111 | fs/smbfs/sock.c | struct socket *sock; |
| sock | 112 | fs/smbfs/sock.c | struct sock *sk; |
| sock | 124 | fs/smbfs/sock.c | sock = &(inode->u.socket_i); |
| sock | 126 | fs/smbfs/sock.c | if (sock->type != SOCK_STREAM) { |
| sock | 132 | fs/smbfs/sock.c | sk = (struct sock *)(sock->data); |
| sock | 159 | fs/smbfs/sock.c | struct socket *sock; |
| sock | 160 | fs/smbfs/sock.c | struct sock *sk; |
| sock | 172 | fs/smbfs/sock.c | sock = &(inode->u.socket_i); |
| sock | 174 | fs/smbfs/sock.c | if (sock->type != SOCK_STREAM) { |
| sock | 179 | fs/smbfs/sock.c | sk = (struct sock *)(sock->data); |
| sock | 213 | fs/smbfs/sock.c | smb_receive_raw(struct socket *sock, unsigned char *target, |
| sock | 227 | fs/smbfs/sock.c | result = _recvfrom(sock, (void *)peek_buf, 4, 0, |
| sock | 273 | fs/smbfs/sock.c | result = _recvfrom(sock, |
| sock | 294 | fs/smbfs/sock.c | smb_receive(struct smb_server *server, struct socket *sock) |
| sock | 298 | fs/smbfs/sock.c | result = smb_receive_raw(sock, server->packet, |
| sock | 324 | fs/smbfs/sock.c | smb_receive_trans2(struct smb_server *server, struct socket *sock, |
| sock | 337 | fs/smbfs/sock.c | if ((result = smb_receive(server, sock)) < 0) { |
| sock | 412 | fs/smbfs/sock.c | if ((result = smb_receive(server, sock)) < 0) { |
| sock | 451 | fs/smbfs/sock.c | struct socket *sock = server_sock(server); |
| sock | 454 | fs/smbfs/sock.c | if (sock == NULL) |
| sock | 457 | fs/smbfs/sock.c | result = sock->ops->release(sock, NULL); |
| sock | 463 | fs/smbfs/sock.c | sock->state = SS_UNCONNECTED; |
| sock | 465 | fs/smbfs/sock.c | result = sock->ops->create(sock, 0); |
| sock | 473 | fs/smbfs/sock.c | struct socket *sock = server_sock(server); |
| sock | 474 | fs/smbfs/sock.c | if (sock == NULL) |
| sock | 476 | fs/smbfs/sock.c | if (sock->state != SS_UNCONNECTED) { |
| sock | 478 | fs/smbfs/sock.c | sock->state); |
| sock | 480 | fs/smbfs/sock.c | return sock->ops->connect(sock, (struct sockaddr *)&(server->m.addr), |
| sock | 498 | fs/smbfs/sock.c | struct socket *sock = server_sock(server); |
| sock | 501 | fs/smbfs/sock.c | if ((sock == NULL) || (buffer == NULL)) { |
| sock | 524 | fs/smbfs/sock.c | result = _send(sock, (void *)buffer, len, 0, 0); |
| sock | 529 | fs/smbfs/sock.c | result = smb_receive(server, sock); |
| sock | 566 | fs/smbfs/sock.c | struct socket *sock = server_sock(server); |
| sock | 569 | fs/smbfs/sock.c | if ((sock == NULL) || (buffer == NULL)) { |
| sock | 592 | fs/smbfs/sock.c | result = _send(sock, (void *)buffer, len, 0, 0); |
| sock | 597 | fs/smbfs/sock.c | result = smb_receive_trans2(server, sock, |
| sock | 632 | fs/smbfs/sock.c | struct socket *sock = server_sock(server); |
| sock | 635 | fs/smbfs/sock.c | if ((sock == NULL) || (buffer == NULL)) { |
| sock | 661 | fs/smbfs/sock.c | (unsigned int)buffer, (unsigned int)sock); |
| sock | 663 | fs/smbfs/sock.c | result = _send(sock, (void *)buffer, len, 0, 0); |
| sock | 673 | fs/smbfs/sock.c | result = smb_receive_raw(sock, target, max_len, 0); |
| sock | 707 | fs/smbfs/sock.c | struct socket *sock = server_sock(server); |
| sock | 710 | fs/smbfs/sock.c | if ((sock == NULL) || (buffer == NULL)) { |
| sock | 731 | fs/smbfs/sock.c | result = _send(sock, (void *)nb_header, 4, 0, 0); |
| sock | 735 | fs/smbfs/sock.c | result = _send(sock, (void *)source, length, 0, 0); |
| sock | 744 | fs/smbfs/sock.c | result = smb_receive(server, sock); |
| sock | 128 | include/linux/atalk.h | typedef struct sock atalk_socket; |
| sock | 112 | include/linux/igmp.h | extern int ip_mc_join_group(struct sock *sk, struct device *dev, unsigned long addr); |
| sock | 113 | include/linux/igmp.h | extern int ip_mc_leave_group(struct sock *sk, struct device *dev,unsigned long addr); |
| sock | 114 | include/linux/igmp.h | extern void ip_mc_drop_socket(struct sock *sk); |
| sock | 119 | include/linux/mroute.h | extern struct sock *mroute_socket; |
| sock | 120 | include/linux/mroute.h | extern int ip_mroute_setsockopt(struct sock *, int, char *, int); |
| sock | 121 | include/linux/mroute.h | extern int ip_mroute_getsockopt(struct sock *, int, char *, int *); |
| sock | 122 | include/linux/mroute.h | extern int ipmr_ioctl(struct sock *sk, int cmd, unsigned long arg); |
| sock | 123 | include/linux/mroute.h | extern void mroute_close(struct sock *sk); |
| sock | 94 | include/linux/net.h | int (*create) (struct socket *sock, int protocol); |
| sock | 96 | include/linux/net.h | int (*release) (struct socket *sock, struct socket *peer); |
| sock | 97 | include/linux/net.h | int (*bind) (struct socket *sock, struct sockaddr *umyaddr, |
| sock | 99 | include/linux/net.h | int (*connect) (struct socket *sock, struct sockaddr *uservaddr, |
| sock | 102 | include/linux/net.h | int (*accept) (struct socket *sock, struct socket *newsock, |
| sock | 104 | include/linux/net.h | int (*getname) (struct socket *sock, struct sockaddr *uaddr, |
| sock | 106 | include/linux/net.h | int (*select) (struct socket *sock, int sel_type, |
| sock | 108 | include/linux/net.h | int (*ioctl) (struct socket *sock, unsigned int cmd, |
| sock | 110 | include/linux/net.h | int (*listen) (struct socket *sock, int len); |
| sock | 111 | include/linux/net.h | int (*shutdown) (struct socket *sock, int flags); |
| sock | 112 | include/linux/net.h | int (*setsockopt) (struct socket *sock, int level, int optname, |
| sock | 114 | include/linux/net.h | int (*getsockopt) (struct socket *sock, int level, int optname, |
| sock | 116 | include/linux/net.h | int (*fcntl) (struct socket *sock, unsigned int cmd, |
| sock | 118 | include/linux/net.h | int (*sendmsg) (struct socket *sock, struct msghdr *m, int total_len, int nonblock, int flags); |
| sock | 119 | include/linux/net.h | int (*recvmsg) (struct socket *sock, struct msghdr *m, int total_len, int nonblock, int flags, int *addr_len); |
| sock | 127 | include/linux/net.h | extern int sock_wake_async(struct socket *sock, int how); |
| sock | 131 | include/linux/net.h | extern void sock_release(struct socket *sock); |
| sock | 90 | include/linux/rpcsock.h | struct socket * sock; |
| sock | 91 | include/linux/rpcsock.h | struct sock * inet; |
| sock | 57 | include/linux/skbuff.h | struct sock *sk; /* Socket we are owned by */ |
| sock | 443 | include/linux/skbuff.h | extern struct sk_buff * skb_recv_datagram(struct sock *sk,unsigned flags,int noblock, int *err); |
| sock | 444 | include/linux/skbuff.h | extern int datagram_select(struct sock *sk, int sel_type, select_table *wait); |
| sock | 447 | include/linux/skbuff.h | extern void skb_free_datagram(struct sock * sk, struct sk_buff *skb); |
| sock | 5 | include/net/af_unix.h | typedef struct sock unix_socket; |
| sock | 166 | include/net/ax25.h | struct sock *sk; /* Backlink to socket */ |
| sock | 36 | include/net/icmp.h | extern int icmp_ioctl(struct sock *sk, int cmd, |
| sock | 45 | include/net/ip.h | extern void ip_mc_dropsocket(struct sock *); |
| sock | 87 | include/net/ip.h | extern int ip_ioctl(struct sock *sk, int cmd, unsigned long arg); |
| sock | 104 | include/net/ip.h | extern void ip_queue_xmit(struct sock *sk, |
| sock | 108 | include/net/ip.h | extern int ip_build_xmit(struct sock *sk, |
| sock | 130 | include/net/ip.h | void ip_fragment(struct sock *sk, struct sk_buff *skb, struct device *dev, int is_frag); |
| sock | 151 | include/net/ip.h | extern int ip_setsockopt(struct sock *sk, int level, int optname, char *optval, int optlen); |
| sock | 152 | include/net/ip.h | extern int ip_getsockopt(struct sock *sk, int level, int optname, char *optval, int *optlen); |
| sock | 23 | include/net/ipx.h | unsigned short sock; |
| sock | 47 | include/net/ipx.h | typedef struct sock ipx_socket; |
| sock | 63 | include/net/netrom.h | struct sock *sk; /* Backlink to socket */ |
| sock | 95 | include/net/netrom.h | extern void nr_destroy_socket(struct sock *); |
| sock | 104 | include/net/netrom.h | extern int nr_process_rx_frame(struct sock *, struct sk_buff *); |
| sock | 107 | include/net/netrom.h | extern void nr_output(struct sock *, struct sk_buff *); |
| sock | 108 | include/net/netrom.h | extern void nr_send_nak_frame(struct sock *); |
| sock | 109 | include/net/netrom.h | extern void nr_kick(struct sock *); |
| sock | 110 | include/net/netrom.h | extern void nr_transmit_buffer(struct sock *, struct sk_buff *); |
| sock | 111 | include/net/netrom.h | extern void nr_establish_data_link(struct sock *); |
| sock | 112 | include/net/netrom.h | extern void nr_enquiry_response(struct sock *); |
| sock | 113 | include/net/netrom.h | extern void nr_check_iframes_acked(struct sock *, unsigned short); |
| sock | 126 | include/net/netrom.h | extern void nr_clear_queues(struct sock *); |
| sock | 127 | include/net/netrom.h | extern void nr_frames_acked(struct sock *, unsigned short); |
| sock | 128 | include/net/netrom.h | extern void nr_requeue_frames(struct sock *); |
| sock | 129 | include/net/netrom.h | extern int nr_validate_nr(struct sock *, unsigned short); |
| sock | 130 | include/net/netrom.h | extern int nr_in_rx_window(struct sock *, unsigned short); |
| sock | 131 | include/net/netrom.h | extern void nr_write_internal(struct sock *, int); |
| sock | 133 | include/net/netrom.h | extern unsigned short nr_calculate_t1(struct sock *); |
| sock | 134 | include/net/netrom.h | extern void nr_calculate_rtt(struct sock *); |
| sock | 137 | include/net/netrom.h | extern void nr_set_timer(struct sock *); |
| sock | 26 | include/net/raw.h | extern int raw_recvfrom(struct sock *sk, unsigned char *to, |
| sock | 29 | include/net/raw.h | extern int raw_read(struct sock *sk, unsigned char *buff, |
| sock | 31 | include/net/raw.h | extern int raw_rcv(struct sock *, struct sk_buff *, struct device *, |
| sock | 77 | include/net/sock.h | struct sock * other; |
| sock | 195 | include/net/sock.h | struct sock *next; |
| sock | 196 | include/net/sock.h | struct sock *prev; /* Doubly linked chain.. */ |
| sock | 197 | include/net/sock.h | struct sock *pair; |
| sock | 323 | include/net/sock.h | void (*state_change)(struct sock *sk); |
| sock | 324 | include/net/sock.h | void (*data_ready)(struct sock *sk,int bytes); |
| sock | 325 | include/net/sock.h | void (*write_space)(struct sock *sk); |
| sock | 326 | include/net/sock.h | void (*error_report)(struct sock *sk); |
| sock | 336 | include/net/sock.h | void (*close)(struct sock *sk, unsigned long timeout); |
| sock | 343 | include/net/sock.h | int (*connect)(struct sock *sk, |
| sock | 345 | include/net/sock.h | struct sock * (*accept) (struct sock *sk, int flags); |
| sock | 346 | include/net/sock.h | void (*queue_xmit)(struct sock *sk, |
| sock | 349 | include/net/sock.h | void (*retransmit)(struct sock *sk, int all); |
| sock | 350 | include/net/sock.h | void (*write_wakeup)(struct sock *sk); |
| sock | 351 | include/net/sock.h | void (*read_wakeup)(struct sock *sk); |
| sock | 356 | include/net/sock.h | int (*select)(struct sock *sk, int which, |
| sock | 358 | include/net/sock.h | int (*ioctl)(struct sock *sk, int cmd, |
| sock | 360 | include/net/sock.h | int (*init)(struct sock *sk); |
| sock | 361 | include/net/sock.h | void (*shutdown)(struct sock *sk, int how); |
| sock | 362 | include/net/sock.h | int (*setsockopt)(struct sock *sk, int level, int optname, |
| sock | 364 | include/net/sock.h | int (*getsockopt)(struct sock *sk, int level, int optname, |
| sock | 366 | include/net/sock.h | int (*sendmsg)(struct sock *sk, struct msghdr *msg, int len, |
| sock | 368 | include/net/sock.h | int (*recvmsg)(struct sock *sk, struct msghdr *msg, int len, |
| sock | 370 | include/net/sock.h | int (*bind)(struct sock *sk, struct sockaddr *uaddr, int addr_len); |
| sock | 375 | include/net/sock.h | struct sock * sock_array[SOCK_ARRAY_SIZE]; |
| sock | 411 | include/net/sock.h | extern void __release_sock(struct sock *sk); |
| sock | 413 | include/net/sock.h | static inline void lock_sock(struct sock *sk) |
| sock | 428 | include/net/sock.h | static inline void release_sock(struct sock *sk) |
| sock | 445 | include/net/sock.h | extern struct sock * sk_alloc(int priority); |
| sock | 446 | include/net/sock.h | extern void sk_free(struct sock *sk); |
| sock | 447 | include/net/sock.h | extern void destroy_sock(struct sock *sk); |
| sock | 450 | include/net/sock.h | extern void put_sock(unsigned short, struct sock *); |
| sock | 451 | include/net/sock.h | extern struct sock *get_sock(struct proto *, unsigned short, |
| sock | 454 | include/net/sock.h | extern struct sock *get_sock_mcast(struct sock *, unsigned short, |
| sock | 457 | include/net/sock.h | extern struct sock *get_sock_raw(struct sock *, unsigned short, |
| sock | 460 | include/net/sock.h | extern struct sk_buff *sock_wmalloc(struct sock *sk, |
| sock | 463 | include/net/sock.h | extern struct sk_buff *sock_rmalloc(struct sock *sk, |
| sock | 466 | include/net/sock.h | extern void sock_wfree(struct sock *sk, |
| sock | 468 | include/net/sock.h | extern void sock_rfree(struct sock *sk, |
| sock | 470 | include/net/sock.h | extern unsigned long sock_rspace(struct sock *sk); |
| sock | 471 | include/net/sock.h | extern unsigned long sock_wspace(struct sock *sk); |
| sock | 473 | include/net/sock.h | extern int sock_setsockopt(struct sock *sk, int level, |
| sock | 477 | include/net/sock.h | extern int sock_getsockopt(struct sock *sk, int level, |
| sock | 480 | include/net/sock.h | extern struct sk_buff *sock_alloc_send_skb(struct sock *skb, |
| sock | 495 | include/net/sock.h | extern __inline__ int sock_queue_rcv_skb(struct sock *sk, struct sk_buff *skb) |
| sock | 511 | include/net/sock.h | extern __inline__ int sock_error(struct sock *sk) |
| sock | 521 | include/net/sock.h | extern struct sock *timer_base; |
| sock | 523 | include/net/sock.h | extern void delete_timer (struct sock *); |
| sock | 524 | include/net/sock.h | extern void reset_timer (struct sock *, int, unsigned long); |
| sock | 129 | include/net/tcp.h | extern void tcp_shutdown (struct sock *sk, int how); |
| sock | 135 | include/net/tcp.h | extern int tcp_ioctl(struct sock *sk, int cmd, unsigned long arg); |
| sock | 137 | include/net/tcp.h | extern void tcp_read_wakeup(struct sock *); |
| sock | 138 | include/net/tcp.h | extern void tcp_write_xmit(struct sock *); |
| sock | 139 | include/net/tcp.h | extern void tcp_time_wait(struct sock *); |
| sock | 140 | include/net/tcp.h | extern void tcp_retransmit(struct sock *, int); |
| sock | 141 | include/net/tcp.h | extern void tcp_do_retransmit(struct sock *, int); |
| sock | 147 | include/net/tcp.h | extern void tcp_send_probe0(struct sock *); |
| sock | 148 | include/net/tcp.h | extern void tcp_send_partial(struct sock *); |
| sock | 149 | include/net/tcp.h | extern void tcp_write_wakeup(struct sock *); |
| sock | 150 | include/net/tcp.h | extern void tcp_send_fin(struct sock *sk); |
| sock | 151 | include/net/tcp.h | extern void tcp_send_synack(struct sock *, struct sock *, struct sk_buff *); |
| sock | 152 | include/net/tcp.h | extern void tcp_send_skb(struct sock *, struct sk_buff *); |
| sock | 153 | include/net/tcp.h | extern void tcp_send_ack(struct sock *sk); |
| sock | 154 | include/net/tcp.h | extern void tcp_send_delayed_ack(struct sock *sk, int timeout); |
| sock | 158 | include/net/tcp.h | extern void tcp_enqueue_partial(struct sk_buff *, struct sock *); |
| sock | 159 | include/net/tcp.h | extern struct sk_buff * tcp_dequeue_partial(struct sock *); |
| sock | 166 | include/net/tcp.h | extern void tcp_reset_xmit_timer(struct sock *, int, unsigned long); |
| sock | 186 | include/net/tcp.h | static __inline__ int tcp_old_window(struct sock * sk) |
| sock | 191 | include/net/tcp.h | static __inline__ int tcp_new_window(struct sock * sk) |
| sock | 244 | include/net/tcp.h | static __inline__ int tcp_raise_window(struct sock * sk) |
| sock | 249 | include/net/tcp.h | static __inline__ unsigned short tcp_select_window(struct sock *sk) |
| sock | 294 | include/net/tcp.h | static __inline__ void tcp_set_state(struct sock *sk, int state) |
| sock | 37 | include/net/udp.h | __u32 daddr, int len, struct sock *sk); |
| sock | 38 | include/net/udp.h | extern int udp_recvfrom(struct sock *sk, unsigned char *to, |
| sock | 41 | include/net/udp.h | extern int udp_read(struct sock *sk, unsigned char *buff, |
| sock | 43 | include/net/udp.h | extern int udp_connect(struct sock *sk, |
| sock | 49 | include/net/udp.h | extern int udp_ioctl(struct sock *sk, int cmd, unsigned long arg); |
| sock | 6 | net/802/llc.c | int llc_rx_adm(struct sock *sk,struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns) |
| sock | 36 | net/802/llc.c | int llc_rx_setup(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns) |
| sock | 70 | net/802/llc.c | int llc_rx_reset(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns) |
| sock | 114 | net/802/llc.c | int llc_rx_d_conn(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns) |
| sock | 150 | net/802/llc.c | int llc_rx_error(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns) |
| sock | 199 | net/802/llc.c | int llc_rx_nr_shared(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns) |
| sock | 288 | net/802/llc.c | int llc_rx_normal(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns) |
| sock | 1002 | net/appletalk/ddp.c | static int atalk_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg) |
| sock | 1017 | net/appletalk/ddp.c | static int atalk_setsockopt(struct socket *sock, int level, int optname, char *optval, int optlen) |
| sock | 1022 | net/appletalk/ddp.c | sk=(atalk_socket *)sock->data; |
| sock | 1055 | net/appletalk/ddp.c | static int atalk_getsockopt(struct socket *sock, int level, int optname, |
| sock | 1062 | net/appletalk/ddp.c | sk=(atalk_socket *)sock->data; |
| sock | 1096 | net/appletalk/ddp.c | static int atalk_listen(struct socket *sock, int backlog) |
| sock | 1105 | net/appletalk/ddp.c | static void def_callback1(struct sock *sk) |
| sock | 1111 | net/appletalk/ddp.c | static void def_callback2(struct sock *sk, int len) |
| sock | 1125 | net/appletalk/ddp.c | static int atalk_create(struct socket *sock, int protocol) |
| sock | 1131 | net/appletalk/ddp.c | switch(sock->type) |
| sock | 1156 | net/appletalk/ddp.c | sk->socket=sock; |
| sock | 1157 | net/appletalk/ddp.c | sk->type=sock->type; |
| sock | 1161 | net/appletalk/ddp.c | if(sock!=NULL) |
| sock | 1163 | net/appletalk/ddp.c | sock->data=(void *)sk; |
| sock | 1164 | net/appletalk/ddp.c | sk->sleep=sock->wait; |
| sock | 1189 | net/appletalk/ddp.c | static int atalk_release(struct socket *sock, struct socket *peer) |
| sock | 1191 | net/appletalk/ddp.c | atalk_socket *sk=(atalk_socket *)sock->data; |
| sock | 1197 | net/appletalk/ddp.c | sock->data=NULL; |
| sock | 1240 | net/appletalk/ddp.c | static int atalk_bind(struct socket *sock, struct sockaddr *uaddr,int addr_len) |
| sock | 1245 | net/appletalk/ddp.c | sk=(atalk_socket *)sock->data; |
| sock | 1294 | net/appletalk/ddp.c | static int atalk_connect(struct socket *sock, struct sockaddr *uaddr, |
| sock | 1297 | net/appletalk/ddp.c | atalk_socket *sk=(atalk_socket *)sock->data; |
| sock | 1301 | net/appletalk/ddp.c | sock->state = SS_UNCONNECTED; |
| sock | 1325 | net/appletalk/ddp.c | sock->state = SS_CONNECTED; |
| sock | 1343 | net/appletalk/ddp.c | static int atalk_accept(struct socket *sock, struct socket *newsock, int flags) |
| sock | 1355 | net/appletalk/ddp.c | static int atalk_getname(struct socket *sock, struct sockaddr *uaddr, |
| sock | 1361 | net/appletalk/ddp.c | sk=(atalk_socket *)sock->data; |
| sock | 1398 | net/appletalk/ddp.c | atalk_socket *sock; |
| sock | 1539 | net/appletalk/ddp.c | sock=atalk_search_socket( &tosat, atif ); |
| sock | 1541 | net/appletalk/ddp.c | if(sock==NULL) /* But not one of our sockets */ |
| sock | 1552 | net/appletalk/ddp.c | skb->sk = sock; |
| sock | 1554 | net/appletalk/ddp.c | if(sock_queue_rcv_skb(sock,skb)<0) |
| sock | 1626 | net/appletalk/ddp.c | static int atalk_sendmsg(struct socket *sock, struct msghdr *msg, int len, int nonblock, int flags) |
| sock | 1628 | net/appletalk/ddp.c | atalk_socket *sk=(atalk_socket *)sock->data; |
| sock | 1813 | net/appletalk/ddp.c | static int atalk_recvmsg(struct socket *sock, struct msghdr *msg, int size, int noblock, int flags, int *addr_len) |
| sock | 1815 | net/appletalk/ddp.c | atalk_socket *sk=(atalk_socket *)sock->data; |
| sock | 1864 | net/appletalk/ddp.c | static int atalk_select(struct socket *sock , int sel_type, select_table *wait) |
| sock | 1866 | net/appletalk/ddp.c | atalk_socket *sk=(atalk_socket *)sock->data; |
| sock | 1875 | net/appletalk/ddp.c | static int atalk_ioctl(struct socket *sock,unsigned int cmd, unsigned long arg) |
| sock | 1879 | net/appletalk/ddp.c | atalk_socket *sk=(atalk_socket *)sock->data; |
| sock | 279 | net/ax25/af_ax25.c | static struct sock *ax25_find_listener(ax25_address *addr, struct device *dev, int type) |
| sock | 304 | net/ax25/af_ax25.c | static struct sock *ax25_find_socket(ax25_address *my_addr, ax25_address *dest_addr, int type) |
| sock | 353 | net/ax25/af_ax25.c | static struct sock *ax25_addr_match(ax25_address *addr) |
| sock | 373 | net/ax25/af_ax25.c | static void ax25_send_to_raw(struct sock *sk, struct sk_buff *skb, int proto) |
| sock | 868 | net/ax25/af_ax25.c | static int ax25_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg) |
| sock | 873 | net/ax25/af_ax25.c | static int ax25_setsockopt(struct socket *sock, int level, int optname, |
| sock | 876 | net/ax25/af_ax25.c | struct sock *sk; |
| sock | 879 | net/ax25/af_ax25.c | sk = (struct sock *)sock->data; |
| sock | 960 | net/ax25/af_ax25.c | static int ax25_getsockopt(struct socket *sock, int level, int optname, |
| sock | 963 | net/ax25/af_ax25.c | struct sock *sk; |
| sock | 967 | net/ax25/af_ax25.c | sk = (struct sock *)sock->data; |
| sock | 1033 | net/ax25/af_ax25.c | static int ax25_listen(struct socket *sock, int backlog) |
| sock | 1035 | net/ax25/af_ax25.c | struct sock *sk = (struct sock *)sock->data; |
| sock | 1046 | net/ax25/af_ax25.c | static void def_callback1(struct sock *sk) |
| sock | 1052 | net/ax25/af_ax25.c | static void def_callback2(struct sock *sk, int len) |
| sock | 1058 | net/ax25/af_ax25.c | static int ax25_create(struct socket *sock, int protocol) |
| sock | 1060 | net/ax25/af_ax25.c | struct sock *sk; |
| sock | 1063 | net/ax25/af_ax25.c | switch (sock->type) { |
| sock | 1105 | net/ax25/af_ax25.c | sk->socket = sock; |
| sock | 1106 | net/ax25/af_ax25.c | sk->type = sock->type; |
| sock | 1122 | net/ax25/af_ax25.c | if (sock != NULL) { |
| sock | 1123 | net/ax25/af_ax25.c | sock->data = (void *)sk; |
| sock | 1124 | net/ax25/af_ax25.c | sk->sleep = sock->wait; |
| sock | 1133 | net/ax25/af_ax25.c | static struct sock *ax25_make_new(struct sock *osk, struct device *dev) |
| sock | 1135 | net/ax25/af_ax25.c | struct sock *sk; |
| sock | 1216 | net/ax25/af_ax25.c | struct sock *sk = (struct sock *)oldsock->data; |
| sock | 1221 | net/ax25/af_ax25.c | static int ax25_release(struct socket *sock, struct socket *peer) |
| sock | 1223 | net/ax25/af_ax25.c | struct sock *sk = (struct sock *)sock->data; |
| sock | 1285 | net/ax25/af_ax25.c | sock->data = NULL; |
| sock | 1297 | net/ax25/af_ax25.c | static int ax25_bind(struct socket *sock, struct sockaddr *uaddr,int addr_len) |
| sock | 1299 | net/ax25/af_ax25.c | struct sock *sk; |
| sock | 1304 | net/ax25/af_ax25.c | sk = (struct sock *)sock->data; |
| sock | 1359 | net/ax25/af_ax25.c | static int ax25_connect(struct socket *sock, struct sockaddr *uaddr, |
| sock | 1362 | net/ax25/af_ax25.c | struct sock *sk = (struct sock *)sock->data; |
| sock | 1366 | net/ax25/af_ax25.c | if (sk->state == TCP_ESTABLISHED && sock->state == SS_CONNECTING) { |
| sock | 1367 | net/ax25/af_ax25.c | sock->state = SS_CONNECTED; |
| sock | 1371 | net/ax25/af_ax25.c | if (sk->state == TCP_CLOSE && sock->state == SS_CONNECTING) { |
| sock | 1372 | net/ax25/af_ax25.c | sock->state = SS_UNCONNECTED; |
| sock | 1380 | net/ax25/af_ax25.c | sock->state = SS_UNCONNECTED; |
| sock | 1438 | net/ax25/af_ax25.c | sock->state = SS_CONNECTED; |
| sock | 1444 | net/ax25/af_ax25.c | sock->state = SS_CONNECTING; |
| sock | 1474 | net/ax25/af_ax25.c | sock->state = SS_UNCONNECTED; |
| sock | 1478 | net/ax25/af_ax25.c | sock->state = SS_CONNECTED; |
| sock | 1490 | net/ax25/af_ax25.c | static int ax25_accept(struct socket *sock, struct socket *newsock, int flags) |
| sock | 1492 | net/ax25/af_ax25.c | struct sock *sk; |
| sock | 1493 | net/ax25/af_ax25.c | struct sock *newsk; |
| sock | 1501 | net/ax25/af_ax25.c | sk = (struct sock *)sock->data; |
| sock | 1541 | net/ax25/af_ax25.c | static int ax25_getname(struct socket *sock, struct sockaddr *uaddr, |
| sock | 1546 | net/ax25/af_ax25.c | struct sock *sk; |
| sock | 1549 | net/ax25/af_ax25.c | sk = (struct sock *)sock->data; |
| sock | 1578 | net/ax25/af_ax25.c | struct sock *make; |
| sock | 1579 | net/ax25/af_ax25.c | struct sock *sk; |
| sock | 1584 | net/ax25/af_ax25.c | struct sock *raw; |
| sock | 1928 | net/ax25/af_ax25.c | static int ax25_sendmsg(struct socket *sock, struct msghdr *msg, int len, int noblock, int flags) |
| sock | 1930 | net/ax25/af_ax25.c | struct sock *sk = (struct sock *)sock->data; |
| sock | 2066 | net/ax25/af_ax25.c | static int ax25_recvmsg(struct socket *sock, struct msghdr *msg, int size, int noblock, int flags, int *addr_len) |
| sock | 2068 | net/ax25/af_ax25.c | struct sock *sk = (struct sock *)sock->data; |
| sock | 2149 | net/ax25/af_ax25.c | static int ax25_select(struct socket *sock , int sel_type, select_table *wait) |
| sock | 2151 | net/ax25/af_ax25.c | struct sock *sk = (struct sock *)sock->data; |
| sock | 2156 | net/ax25/af_ax25.c | static int ax25_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) |
| sock | 2158 | net/ax25/af_ax25.c | struct sock *sk = (struct sock *)sock->data; |
| sock | 50 | net/core/datagram.c | static inline void wait_for_packet(struct sock * sk) |
| sock | 75 | net/core/datagram.c | struct sk_buff *skb_recv_datagram(struct sock *sk, unsigned flags, int noblock, int *err) |
| sock | 138 | net/core/datagram.c | void skb_free_datagram(struct sock * sk, struct sk_buff *skb) |
| sock | 179 | net/core/datagram.c | int datagram_select(struct sock *sk, int sel_type, select_table *wait) |
| sock | 438 | net/core/dev.c | ((struct sock *)ptype->data != skb->sk)) |
| sock | 603 | net/core/skbuff.c | struct sock * sk = skb->sk; |
| sock | 123 | net/core/sock.c | int sock_setsockopt(struct sock *sk, int level, int optname, |
| sock | 237 | net/core/sock.c | int sock_getsockopt(struct sock *sk, int level, int optname, |
| sock | 329 | net/core/sock.c | struct sock *sk_alloc(int priority) |
| sock | 331 | net/core/sock.c | struct sock *sk=(struct sock *)kmalloc(sizeof(*sk), priority); |
| sock | 338 | net/core/sock.c | void sk_free(struct sock *sk) |
| sock | 344 | net/core/sock.c | struct sk_buff *sock_wmalloc(struct sock *sk, unsigned long size, int force, int priority) |
| sock | 358 | net/core/sock.c | struct sk_buff *sock_rmalloc(struct sock *sk, unsigned long size, int force, int priority) |
| sock | 373 | net/core/sock.c | unsigned long sock_rspace(struct sock *sk) |
| sock | 390 | net/core/sock.c | unsigned long sock_wspace(struct sock *sk) |
| sock | 404 | net/core/sock.c | void sock_wfree(struct sock *sk, struct sk_buff *skb) |
| sock | 420 | net/core/sock.c | void sock_rfree(struct sock *sk, struct sk_buff *skb) |
| sock | 437 | net/core/sock.c | struct sk_buff *sock_alloc_send_skb(struct sock *sk, unsigned long size, unsigned long fallback, int noblock, int *errcode) |
| sock | 531 | net/core/sock.c | void __release_sock(struct sock *sk) |
| sock | 123 | net/ipv4/af_inet.c | struct sock *sk; |
| sock | 151 | net/ipv4/af_inet.c | struct sock *sk; |
| sock | 198 | net/ipv4/af_inet.c | void put_sock(unsigned short num, struct sock *sk) |
| sock | 200 | net/ipv4/af_inet.c | struct sock **skp, *tmp; |
| sock | 259 | net/ipv4/af_inet.c | static void remove_sock(struct sock *sk1) |
| sock | 261 | net/ipv4/af_inet.c | struct sock **p; |
| sock | 296 | net/ipv4/af_inet.c | void destroy_sock(struct sock *sk) |
| sock | 435 | net/ipv4/af_inet.c | static int inet_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg) |
| sock | 437 | net/ipv4/af_inet.c | struct sock *sk; |
| sock | 439 | net/ipv4/af_inet.c | sk = (struct sock *) sock->data; |
| sock | 464 | net/ipv4/af_inet.c | static int inet_setsockopt(struct socket *sock, int level, int optname, |
| sock | 467 | net/ipv4/af_inet.c | struct sock *sk = (struct sock *) sock->data; |
| sock | 480 | net/ipv4/af_inet.c | static int inet_getsockopt(struct socket *sock, int level, int optname, |
| sock | 483 | net/ipv4/af_inet.c | struct sock *sk = (struct sock *) sock->data; |
| sock | 496 | net/ipv4/af_inet.c | static int inet_autobind(struct sock *sk) |
| sock | 516 | net/ipv4/af_inet.c | static int inet_listen(struct socket *sock, int backlog) |
| sock | 518 | net/ipv4/af_inet.c | struct sock *sk = (struct sock *) sock->data; |
| sock | 548 | net/ipv4/af_inet.c | static void def_callback1(struct sock *sk) |
| sock | 554 | net/ipv4/af_inet.c | static void def_callback2(struct sock *sk,int len) |
| sock | 563 | net/ipv4/af_inet.c | static void def_callback3(struct sock *sk) |
| sock | 579 | net/ipv4/af_inet.c | static int inet_create(struct socket *sock, int protocol) |
| sock | 581 | net/ipv4/af_inet.c | struct sock *sk; |
| sock | 592 | net/ipv4/af_inet.c | switch(sock->type) |
| sock | 653 | net/ipv4/af_inet.c | sk->socket = sock; |
| sock | 657 | net/ipv4/af_inet.c | sk->type = sock->type; |
| sock | 675 | net/ipv4/af_inet.c | sk->sleep = sock->wait; |
| sock | 682 | net/ipv4/af_inet.c | sock->data =(void *) sk; |
| sock | 739 | net/ipv4/af_inet.c | return(inet_create(newsock,((struct sock *)(oldsock->data))->protocol)); |
| sock | 748 | net/ipv4/af_inet.c | static int inet_release(struct socket *sock, struct socket *peer) |
| sock | 751 | net/ipv4/af_inet.c | struct sock *sk = (struct sock *) sock->data; |
| sock | 781 | net/ipv4/af_inet.c | sock->data = NULL; |
| sock | 789 | net/ipv4/af_inet.c | static int inet_bind(struct socket *sock, struct sockaddr *uaddr, |
| sock | 793 | net/ipv4/af_inet.c | struct sock *sk=(struct sock *)sock->data, *sk2; |
| sock | 810 | net/ipv4/af_inet.c | if(sock->type != SOCK_RAW) |
| sock | 851 | net/ipv4/af_inet.c | if(sock->type != SOCK_RAW) |
| sock | 910 | net/ipv4/af_inet.c | if(sock->type==SOCK_DGRAM) |
| sock | 912 | net/ipv4/af_inet.c | if(sock->type==SOCK_STREAM) |
| sock | 929 | net/ipv4/af_inet.c | static int inet_connect(struct socket *sock, struct sockaddr * uaddr, |
| sock | 932 | net/ipv4/af_inet.c | struct sock *sk=(struct sock *)sock->data; |
| sock | 934 | net/ipv4/af_inet.c | sock->conn = NULL; |
| sock | 936 | net/ipv4/af_inet.c | if (sock->state == SS_CONNECTING && tcp_connected(sk->state)) |
| sock | 938 | net/ipv4/af_inet.c | sock->state = SS_CONNECTED; |
| sock | 943 | net/ipv4/af_inet.c | if (sock->state == SS_CONNECTING && sk->protocol == IPPROTO_TCP && (flags & O_NONBLOCK)) |
| sock | 949 | net/ipv4/af_inet.c | if (sock->state != SS_CONNECTING) |
| sock | 959 | net/ipv4/af_inet.c | sock->state = SS_CONNECTING; |
| sock | 962 | net/ipv4/af_inet.c | if (sk->state > TCP_FIN_WAIT2 && sock->state==SS_CONNECTING) |
| sock | 964 | net/ipv4/af_inet.c | sock->state=SS_UNCONNECTED; |
| sock | 984 | net/ipv4/af_inet.c | sock->state = SS_UNCONNECTED; |
| sock | 990 | net/ipv4/af_inet.c | sock->state = SS_CONNECTED; |
| sock | 994 | net/ipv4/af_inet.c | sock->state = SS_UNCONNECTED; |
| sock | 1011 | net/ipv4/af_inet.c | static int inet_accept(struct socket *sock, struct socket *newsock, int flags) |
| sock | 1013 | net/ipv4/af_inet.c | struct sock *sk1, *sk2; |
| sock | 1016 | net/ipv4/af_inet.c | sk1 = (struct sock *) sock->data; |
| sock | 1026 | net/ipv4/af_inet.c | struct sock *sk=(struct sock *)newsock->data; |
| sock | 1090 | net/ipv4/af_inet.c | static int inet_getname(struct socket *sock, struct sockaddr *uaddr, |
| sock | 1094 | net/ipv4/af_inet.c | struct sock *sk; |
| sock | 1097 | net/ipv4/af_inet.c | sk = (struct sock *) sock->data; |
| sock | 1122 | net/ipv4/af_inet.c | static int inet_recvmsg(struct socket *sock, struct msghdr *ubuf, int size, int noblock, |
| sock | 1125 | net/ipv4/af_inet.c | struct sock *sk = (struct sock *) sock->data; |
| sock | 1138 | net/ipv4/af_inet.c | static int inet_sendmsg(struct socket *sock, struct msghdr *msg, int size, int noblock, |
| sock | 1141 | net/ipv4/af_inet.c | struct sock *sk = (struct sock *) sock->data; |
| sock | 1159 | net/ipv4/af_inet.c | static int inet_shutdown(struct socket *sock, int how) |
| sock | 1161 | net/ipv4/af_inet.c | struct sock *sk=(struct sock*)sock->data; |
| sock | 1172 | net/ipv4/af_inet.c | if (sock->state == SS_CONNECTING && sk->state == TCP_ESTABLISHED) |
| sock | 1173 | net/ipv4/af_inet.c | sock->state = SS_CONNECTED; |
| sock | 1183 | net/ipv4/af_inet.c | static int inet_select(struct socket *sock, int sel_type, select_table *wait ) |
| sock | 1185 | net/ipv4/af_inet.c | struct sock *sk=(struct sock *) sock->data; |
| sock | 1203 | net/ipv4/af_inet.c | static int inet_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) |
| sock | 1205 | net/ipv4/af_inet.c | struct sock *sk=(struct sock *)sock->data; |
| sock | 1314 | net/ipv4/af_inet.c | struct sock *get_sock(struct proto *prot, unsigned short num, |
| sock | 1318 | net/ipv4/af_inet.c | struct sock *s; |
| sock | 1319 | net/ipv4/af_inet.c | struct sock *result = NULL; |
| sock | 1378 | net/ipv4/af_inet.c | struct sock *get_sock_raw(struct sock *sk, |
| sock | 1383 | net/ipv4/af_inet.c | struct sock *s; |
| sock | 1407 | net/ipv4/af_inet.c | struct sock *get_sock_mcast(struct sock *sk, |
| sock | 1412 | net/ipv4/af_inet.c | struct sock *s; |
| sock | 234 | net/ipv4/icmp.c | struct sock *sk=icmp_socket.data; |
| sock | 756 | net/ipv4/icmp.c | struct sock *sk; |
| sock | 575 | net/ipv4/igmp.c | int ip_mc_join_group(struct sock *sk , struct device *dev, unsigned long addr) |
| sock | 609 | net/ipv4/igmp.c | int ip_mc_leave_group(struct sock *sk, struct device *dev, unsigned long addr) |
| sock | 635 | net/ipv4/igmp.c | void ip_mc_drop_socket(struct sock *sk) |
| sock | 606 | net/ipv4/ip_fragment.c | void ip_fragment(struct sock *sk, struct sk_buff *skb, struct device *dev, int is_frag) |
| sock | 163 | net/ipv4/ip_input.c | extern void sort_send(struct sock *sk); |
| sock | 183 | net/ipv4/ip_input.c | int ip_ioctl(struct sock *sk, int cmd, unsigned long arg) |
| sock | 204 | net/ipv4/ip_input.c | struct sock *raw_sk=NULL; |
| sock | 491 | net/ipv4/ip_input.c | struct sock *sknext=NULL; |
| sock | 329 | net/ipv4/ip_output.c | void ip_queue_xmit(struct sock *sk, struct device *dev, |
| sock | 556 | net/ipv4/ip_output.c | int ip_build_xmit(struct sock *sk, |
| sock | 111 | net/ipv4/ip_sockglue.c | int ip_setsockopt(struct sock *sk, int level, int optname, char *optval, int optlen) |
| sock | 431 | net/ipv4/ip_sockglue.c | int ip_getsockopt(struct sock *sk, int level, int optname, char *optval, int *optlen) |
| sock | 427 | net/ipv4/ipmr.c | int ip_mroute_setsockopt(struct sock *sk,int optname,char *optval,int optlen) |
| sock | 568 | net/ipv4/ipmr.c | int ip_mroute_getsockopt(struct sock *sk,int optname,char *optval,int *optlen) |
| sock | 596 | net/ipv4/ipmr.c | int ipmr_ioctl(struct sock *sk, int cmd, unsigned long arg) |
| sock | 639 | net/ipv4/ipmr.c | void mroute_close(struct sock *sk) |
| sock | 81 | net/ipv4/packet.c | struct sock *sk; |
| sock | 88 | net/ipv4/packet.c | sk = (struct sock *) pt->data; |
| sock | 127 | net/ipv4/packet.c | static int packet_sendmsg(struct sock *sk, struct msghdr *msg, int len, |
| sock | 216 | net/ipv4/packet.c | static void packet_close(struct sock *sk, unsigned long timeout) |
| sock | 255 | net/ipv4/packet.c | int packet_attach(struct sock *sk, struct device *dev) |
| sock | 280 | net/ipv4/packet.c | static int packet_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len) |
| sock | 372 | net/ipv4/packet.c | static int packet_init(struct sock *sk) |
| sock | 400 | net/ipv4/packet.c | int packet_recvmsg(struct sock *sk, struct msghdr *msg, int len, |
| sock | 60 | net/ipv4/proc.c | struct sock **s_array; |
| sock | 61 | net/ipv4/proc.c | struct sock *sp; |
| sock | 64 | net/ipv4/raw.c | struct sock *mroute_socket=NULL; |
| sock | 82 | net/ipv4/raw.c | struct sock *sk; |
| sock | 86 | net/ipv4/raw.c | sk = (struct sock *) protocol->data; |
| sock | 119 | net/ipv4/raw.c | int raw_rcv(struct sock *sk, struct sk_buff *skb, struct device *dev, __u32 saddr, __u32 daddr) |
| sock | 191 | net/ipv4/raw.c | static int raw_sendto(struct sock *sk, const unsigned char *from, |
| sock | 258 | net/ipv4/raw.c | static int raw_sendmsg(struct sock *sk, struct msghdr *msg, int len, int noblock, |
| sock | 289 | net/ipv4/raw.c | static void raw_close(struct sock *sk, unsigned long timeout) |
| sock | 303 | net/ipv4/raw.c | static int raw_init(struct sock *sk) |
| sock | 314 | net/ipv4/raw.c | int raw_recvmsg(struct sock *sk, struct msghdr *msg, int len, |
| sock | 437 | net/ipv4/tcp.c | static void tcp_close(struct sock *sk, unsigned long timeout); |
| sock | 450 | net/ipv4/tcp.c | static struct sk_buff *tcp_find_established(struct sock *s) |
| sock | 470 | net/ipv4/tcp.c | static struct sk_buff *tcp_dequeue_established(struct sock *s) |
| sock | 489 | net/ipv4/tcp.c | static void tcp_close_pending (struct sock *sk) |
| sock | 505 | net/ipv4/tcp.c | void tcp_time_wait(struct sock *sk) |
| sock | 528 | net/ipv4/tcp.c | struct sock *sk; |
| sock | 611 | net/ipv4/tcp.c | static int tcp_readable(struct sock *sk) |
| sock | 685 | net/ipv4/tcp.c | static int tcp_listen_select(struct sock *sk, int sel_type, select_table *wait) |
| sock | 708 | net/ipv4/tcp.c | static int tcp_select(struct sock *sk, int sel_type, select_table *wait) |
| sock | 757 | net/ipv4/tcp.c | int tcp_ioctl(struct sock *sk, int cmd, unsigned long arg) |
| sock | 848 | net/ipv4/tcp.c | static inline int tcp_build_header(struct tcphdr *th, struct sock *sk, int push) |
| sock | 862 | net/ipv4/tcp.c | static void wait_for_tcp_connect(struct sock * sk) |
| sock | 877 | net/ipv4/tcp.c | static void wait_for_tcp_memory(struct sock * sk) |
| sock | 898 | net/ipv4/tcp.c | static int do_tcp_sendmsg(struct sock *sk, struct msghdr *msg, |
| sock | 1160 | net/ipv4/tcp.c | static int tcp_sendmsg(struct sock *sk, struct msghdr *msg, |
| sock | 1220 | net/ipv4/tcp.c | void tcp_read_wakeup(struct sock *sk) |
| sock | 1241 | net/ipv4/tcp.c | static int tcp_recv_urg(struct sock * sk, int nonblock, |
| sock | 1305 | net/ipv4/tcp.c | static inline void tcp_eat_skb(struct sock *sk, struct sk_buff * skb) |
| sock | 1319 | net/ipv4/tcp.c | static void cleanup_rbuf(struct sock *sk) |
| sock | 1344 | net/ipv4/tcp.c | static int tcp_recvmsg(struct sock *sk, struct msghdr *msg, |
| sock | 1596 | net/ipv4/tcp.c | static int tcp_close_state(struct sock *sk, int dead) |
| sock | 1651 | net/ipv4/tcp.c | void tcp_shutdown(struct sock *sk, int how) |
| sock | 1707 | net/ipv4/tcp.c | static inline int closing(struct sock * sk) |
| sock | 1719 | net/ipv4/tcp.c | static void tcp_close(struct sock *sk, unsigned long timeout) |
| sock | 1804 | net/ipv4/tcp.c | static struct sock *tcp_accept(struct sock *sk, int flags) |
| sock | 1806 | net/ipv4/tcp.c | struct sock *newsk; |
| sock | 1862 | net/ipv4/tcp.c | static int tcp_connect(struct sock *sk, struct sockaddr_in *usin, int addr_len) |
| sock | 2032 | net/ipv4/tcp.c | int tcp_setsockopt(struct sock *sk, int level, int optname, char *optval, int optlen) |
| sock | 2068 | net/ipv4/tcp.c | int tcp_getsockopt(struct sock *sk, int level, int optname, char *optval, int *optlen) |
| sock | 38 | net/ipv4/tcp_input.c | extern __inline__ void tcp_delack_estimator(struct sock *sk) |
| sock | 83 | net/ipv4/tcp_input.c | extern __inline__ void tcp_rtt_estimator(struct sock *sk, struct sk_buff *oskb) |
| sock | 122 | net/ipv4/tcp_input.c | static volatile struct sock *th_cache_sk; |
| sock | 134 | net/ipv4/tcp_input.c | static inline struct sock * get_tcp_sock(u32 saddr, u16 sport, u32 daddr, u16 dport) |
| sock | 136 | net/ipv4/tcp_input.c | struct sock * sk; |
| sock | 138 | net/ipv4/tcp_input.c | sk = (struct sock *) th_cache_sk; |
| sock | 157 | net/ipv4/tcp_input.c | static void bad_tcp_sequence(struct sock *sk, struct tcphdr *th, u32 end_seq, |
| sock | 190 | net/ipv4/tcp_input.c | extern __inline__ int tcp_sequence(struct sock *sk, u32 seq, u32 end_seq) |
| sock | 204 | net/ipv4/tcp_input.c | static int tcp_reset(struct sock *sk, struct sk_buff *skb) |
| sock | 251 | net/ipv4/tcp_input.c | static void tcp_options(struct sock *sk, struct tcphdr *th) |
| sock | 312 | net/ipv4/tcp_input.c | static void tcp_conn_request(struct sock *sk, struct sk_buff *skb, |
| sock | 315 | net/ipv4/tcp_input.c | struct sock *newsk; |
| sock | 359 | net/ipv4/tcp_input.c | newsk = (struct sock *) kmalloc(sizeof(struct sock), GFP_ATOMIC); |
| sock | 376 | net/ipv4/tcp_input.c | kfree_s(newsk, sizeof(struct sock)); |
| sock | 384 | net/ipv4/tcp_input.c | kfree_s(newsk, sizeof(struct sock)); |
| sock | 529 | net/ipv4/tcp_input.c | void tcp_window_shrunk(struct sock * sk, u32 window_seq) |
| sock | 591 | net/ipv4/tcp_input.c | static int tcp_ack(struct sock *sk, struct tcphdr *th, u32 ack, int len) |
| sock | 1104 | net/ipv4/tcp_input.c | static int tcp_fin(struct sk_buff *skb, struct sock *sk, struct tcphdr *th) |
| sock | 1211 | net/ipv4/tcp_input.c | static inline u32 tcp_queue_ack(struct sk_buff * skb, struct sock * sk) |
| sock | 1223 | net/ipv4/tcp_input.c | static void tcp_queue(struct sk_buff * skb, struct sock * sk, struct tcphdr *th) |
| sock | 1334 | net/ipv4/tcp_input.c | static int tcp_data(struct sk_buff *skb, struct sock *sk, |
| sock | 1434 | net/ipv4/tcp_input.c | static void tcp_check_urg(struct sock * sk, struct tcphdr * th) |
| sock | 1466 | net/ipv4/tcp_input.c | static inline void tcp_urg(struct sock *sk, struct tcphdr *th, unsigned long len) |
| sock | 1558 | net/ipv4/tcp_input.c | struct sock *sk; |
| sock | 31 | net/ipv4/tcp_output.c | static __inline__ void clear_delayed_acks(struct sock * sk) |
| sock | 44 | net/ipv4/tcp_output.c | void tcp_send_skb(struct sock *sk, struct sk_buff *skb) |
| sock | 157 | net/ipv4/tcp_output.c | struct sk_buff * tcp_dequeue_partial(struct sock * sk) |
| sock | 177 | net/ipv4/tcp_output.c | void tcp_send_partial(struct sock *sk) |
| sock | 191 | net/ipv4/tcp_output.c | void tcp_enqueue_partial(struct sk_buff * skb, struct sock * sk) |
| sock | 221 | net/ipv4/tcp_output.c | void tcp_write_xmit(struct sock *sk) |
| sock | 320 | net/ipv4/tcp_output.c | void tcp_do_retransmit(struct sock *sk, int all) |
| sock | 575 | net/ipv4/tcp_output.c | void tcp_send_fin(struct sock *sk) |
| sock | 668 | net/ipv4/tcp_output.c | void tcp_send_synack(struct sock * newsk, struct sock * sk, struct sk_buff * skb) |
| sock | 763 | net/ipv4/tcp_output.c | void tcp_send_delayed_ack(struct sock * sk, int max_timeout) |
| sock | 792 | net/ipv4/tcp_output.c | void tcp_send_ack(struct sock *sk) |
| sock | 882 | net/ipv4/tcp_output.c | void tcp_write_wakeup(struct sock *sk) |
| sock | 1064 | net/ipv4/tcp_output.c | void tcp_send_probe0(struct sock *sk) |
| sock | 27 | net/ipv4/tcp_timer.c | tcp_send_ack((struct sock *) data); |
| sock | 34 | net/ipv4/tcp_timer.c | void tcp_reset_xmit_timer(struct sock *sk, int why, unsigned long when) |
| sock | 57 | net/ipv4/tcp_timer.c | static void tcp_retransmit_time(struct sock *sk, int all) |
| sock | 93 | net/ipv4/tcp_timer.c | void tcp_retransmit(struct sock *sk, int all) |
| sock | 115 | net/ipv4/tcp_timer.c | static int tcp_write_timeout(struct sock *sk) |
| sock | 182 | net/ipv4/tcp_timer.c | static void tcp_time_write_timeout(struct sock * sk) |
| sock | 204 | net/ipv4/tcp_timer.c | struct sock *sk = (struct sock*)data; |
| sock | 53 | net/ipv4/timer.c | void delete_timer (struct sock *t) |
| sock | 66 | net/ipv4/timer.c | void reset_timer (struct sock *t, int timeout, unsigned long len) |
| sock | 88 | net/ipv4/timer.c | struct sock *sk = (struct sock*)data; |
| sock | 123 | net/ipv4/udp.c | volatile struct sock *uh_cache_sk; |
| sock | 138 | net/ipv4/udp.c | static int udp_deliver(struct sock *sk, struct udphdr *uh, struct sk_buff *skb, struct device *dev, long saddr, long daddr, int len); |
| sock | 158 | net/ipv4/udp.c | struct sock *sk; |
| sock | 300 | net/ipv4/udp.c | static int udp_send(struct sock *sk, struct sockaddr_in *sin, |
| sock | 338 | net/ipv4/udp.c | static int udp_sendto(struct sock *sk, const unsigned char *from, int len, int noblock, |
| sock | 409 | net/ipv4/udp.c | static int udp_sendmsg(struct sock *sk, struct msghdr *msg, int len, int noblock, |
| sock | 444 | net/ipv4/udp.c | int udp_ioctl(struct sock *sk, int cmd, unsigned long arg) |
| sock | 499 | net/ipv4/udp.c | int udp_recvmsg(struct sock *sk, struct msghdr *msg, int len, |
| sock | 546 | net/ipv4/udp.c | int udp_connect(struct sock *sk, struct sockaddr_in *usin, int addr_len) |
| sock | 576 | net/ipv4/udp.c | static void udp_close(struct sock *sk, unsigned long timeout) |
| sock | 595 | net/ipv4/udp.c | struct sock *sk; |
| sock | 663 | net/ipv4/udp.c | struct sock *sknext=NULL; |
| sock | 689 | net/ipv4/udp.c | sk=(struct sock *)uh_cache_sk; |
| sock | 718 | net/ipv4/udp.c | static int udp_deliver(struct sock *sk, struct udphdr *uh, struct sk_buff *skb, struct device *dev, long saddr, long daddr, int len) |
| sock | 363 | net/ipx/af_ipx.c | static int ipxitf_def_skb_handler(struct sock *sock, struct sk_buff *skb) |
| sock | 367 | net/ipx/af_ipx.c | if((retval = sock_queue_rcv_skb(sock, skb))<0) |
| sock | 396 | net/ipx/af_ipx.c | if ( (s->protinfo.af_ipx.port == ipx->ipx_dest.sock) |
| sock | 454 | net/ipx/af_ipx.c | sock1 = ipxitf_find_socket(intrfc, ipx->ipx_dest.sock); |
| sock | 466 | net/ipx/af_ipx.c | switch (ntohs(ipx->ipx_dest.sock)) |
| sock | 478 | net/ipx/af_ipx.c | ipx->ipx_dest.sock); |
| sock | 1304 | net/ipx/af_ipx.c | ipx->ipx_source.sock = sk->protinfo.af_ipx.port; |
| sock | 1307 | net/ipx/af_ipx.c | ipx->ipx_dest.sock=usipx->sipx_port; |
| sock | 1506 | net/ipx/af_ipx.c | htons(s->protinfo.af_ipx.dest_addr.sock)); |
| sock | 1580 | net/ipx/af_ipx.c | static int ipx_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg) |
| sock | 1589 | net/ipx/af_ipx.c | static int ipx_setsockopt(struct socket *sock, int level, int optname, char *optval, int optlen) |
| sock | 1594 | net/ipx/af_ipx.c | sk=(ipx_socket *)sock->data; |
| sock | 1625 | net/ipx/af_ipx.c | static int ipx_getsockopt(struct socket *sock, int level, int optname, |
| sock | 1632 | net/ipx/af_ipx.c | sk=(ipx_socket *)sock->data; |
| sock | 1664 | net/ipx/af_ipx.c | static int ipx_listen(struct socket *sock, int backlog) |
| sock | 1669 | net/ipx/af_ipx.c | static void def_callback1(struct sock *sk) |
| sock | 1675 | net/ipx/af_ipx.c | static void def_callback2(struct sock *sk, int len) |
| sock | 1684 | net/ipx/af_ipx.c | static int ipx_create(struct socket *sock, int protocol) |
| sock | 1690 | net/ipx/af_ipx.c | switch(sock->type) |
| sock | 1706 | net/ipx/af_ipx.c | sk->socket=sock; |
| sock | 1707 | net/ipx/af_ipx.c | sk->type=sock->type; |
| sock | 1710 | net/ipx/af_ipx.c | if(sock!=NULL) |
| sock | 1712 | net/ipx/af_ipx.c | sock->data=(void *)sk; |
| sock | 1713 | net/ipx/af_ipx.c | sk->sleep=sock->wait; |
| sock | 1726 | net/ipx/af_ipx.c | static int ipx_release(struct socket *sock, struct socket *peer) |
| sock | 1728 | net/ipx/af_ipx.c | ipx_socket *sk=(ipx_socket *)sock->data; |
| sock | 1734 | net/ipx/af_ipx.c | sock->data=NULL; |
| sock | 1762 | net/ipx/af_ipx.c | static int ipx_bind(struct socket *sock, struct sockaddr *uaddr,int addr_len) |
| sock | 1768 | net/ipx/af_ipx.c | sk=(ipx_socket *)sock->data; |
| sock | 1862 | net/ipx/af_ipx.c | static int ipx_connect(struct socket *sock, struct sockaddr *uaddr, |
| sock | 1865 | net/ipx/af_ipx.c | ipx_socket *sk=(ipx_socket *)sock->data; |
| sock | 1869 | net/ipx/af_ipx.c | sock->state = SS_UNCONNECTED; |
| sock | 1887 | net/ipx/af_ipx.c | ret = ipx_bind (sock, (struct sockaddr *)&uaddr, |
| sock | 1895 | net/ipx/af_ipx.c | sk->protinfo.af_ipx.dest_addr.sock=addr->sipx_port; |
| sock | 1899 | net/ipx/af_ipx.c | sock->state = SS_CONNECTED; |
| sock | 1909 | net/ipx/af_ipx.c | static int ipx_accept(struct socket *sock, struct socket *newsock, int flags) |
| sock | 1918 | net/ipx/af_ipx.c | static int ipx_getname(struct socket *sock, struct sockaddr *uaddr, |
| sock | 1925 | net/ipx/af_ipx.c | sk=(ipx_socket *)sock->data; |
| sock | 1935 | net/ipx/af_ipx.c | sipx.sipx_port = addr->sock; |
| sock | 1997 | net/ipx/af_ipx.c | p->node[3],p->node[4],p->node[5],ntohs(p->sock)); |
| sock | 2059 | net/ipx/af_ipx.c | static int ipx_sendmsg(struct socket *sock, struct msghdr *msg, int len, int noblock, |
| sock | 2062 | net/ipx/af_ipx.c | ipx_socket *sk=(ipx_socket *)sock->data; |
| sock | 2085 | net/ipx/af_ipx.c | ret = ipx_bind (sock, (struct sockaddr *)&uaddr, |
| sock | 2102 | net/ipx/af_ipx.c | usipx->sipx_port=sk->protinfo.af_ipx.dest_addr.sock; |
| sock | 2115 | net/ipx/af_ipx.c | static int ipx_recvmsg(struct socket *sock, struct msghdr *msg, int size, int noblock, |
| sock | 2118 | net/ipx/af_ipx.c | ipx_socket *sk=(ipx_socket *)sock->data; |
| sock | 2148 | net/ipx/af_ipx.c | sipx->sipx_port=ipx->ipx_source.sock; |
| sock | 2162 | net/ipx/af_ipx.c | static int ipx_select(struct socket *sock , int sel_type, select_table *wait) |
| sock | 2164 | net/ipx/af_ipx.c | ipx_socket *sk=(ipx_socket *)sock->data; |
| sock | 2169 | net/ipx/af_ipx.c | static int ipx_ioctl(struct socket *sock,unsigned int cmd, unsigned long arg) |
| sock | 2173 | net/ipx/af_ipx.c | ipx_socket *sk=(ipx_socket *)sock->data; |
| sock | 67 | net/netrom/af_netrom.c | static struct sock *volatile nr_list = NULL; |
| sock | 72 | net/netrom/af_netrom.c | static void nr_remove_socket(struct sock *sk) |
| sock | 74 | net/netrom/af_netrom.c | struct sock *s; |
| sock | 104 | net/netrom/af_netrom.c | struct sock *s; |
| sock | 137 | net/netrom/af_netrom.c | static void nr_insert_socket(struct sock *sk) |
| sock | 154 | net/netrom/af_netrom.c | static struct sock *nr_find_listener(ax25_address *addr) |
| sock | 157 | net/netrom/af_netrom.c | struct sock *s; |
| sock | 176 | net/netrom/af_netrom.c | static struct sock *nr_find_socket(unsigned char index, unsigned char id) |
| sock | 178 | net/netrom/af_netrom.c | struct sock *s; |
| sock | 199 | net/netrom/af_netrom.c | static struct sock *nr_find_peer(unsigned char index, unsigned char id) |
| sock | 201 | net/netrom/af_netrom.c | struct sock *s; |
| sock | 222 | net/netrom/af_netrom.c | void nr_destroy_socket(struct sock *); |
| sock | 229 | net/netrom/af_netrom.c | nr_destroy_socket((struct sock *)data); |
| sock | 238 | net/netrom/af_netrom.c | void nr_destroy_socket(struct sock *sk) /* Not static as its used by the timer */ |
| sock | 280 | net/netrom/af_netrom.c | static int nr_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg) |
| sock | 285 | net/netrom/af_netrom.c | static int nr_setsockopt(struct socket *sock, int level, int optname, |
| sock | 288 | net/netrom/af_netrom.c | struct sock *sk; |
| sock | 291 | net/netrom/af_netrom.c | sk = (struct sock *)sock->data; |
| sock | 335 | net/netrom/af_netrom.c | static int nr_getsockopt(struct socket *sock, int level, int optname, |
| sock | 338 | net/netrom/af_netrom.c | struct sock *sk; |
| sock | 342 | net/netrom/af_netrom.c | sk = (struct sock *)sock->data; |
| sock | 384 | net/netrom/af_netrom.c | static int nr_listen(struct socket *sock, int backlog) |
| sock | 386 | net/netrom/af_netrom.c | struct sock *sk = (struct sock *)sock->data; |
| sock | 398 | net/netrom/af_netrom.c | static void def_callback1(struct sock *sk) |
| sock | 404 | net/netrom/af_netrom.c | static void def_callback2(struct sock *sk, int len) |
| sock | 410 | net/netrom/af_netrom.c | static int nr_create(struct socket *sock, int protocol) |
| sock | 412 | net/netrom/af_netrom.c | struct sock *sk; |
| sock | 415 | net/netrom/af_netrom.c | if (sock->type != SOCK_SEQPACKET || protocol != 0) |
| sock | 432 | net/netrom/af_netrom.c | sk->socket = sock; |
| sock | 433 | net/netrom/af_netrom.c | sk->type = sock->type; |
| sock | 449 | net/netrom/af_netrom.c | if (sock != NULL) { |
| sock | 450 | net/netrom/af_netrom.c | sock->data = (void *)sk; |
| sock | 451 | net/netrom/af_netrom.c | sk->sleep = sock->wait; |
| sock | 497 | net/netrom/af_netrom.c | static struct sock *nr_make_new(struct sock *osk) |
| sock | 499 | net/netrom/af_netrom.c | struct sock *sk; |
| sock | 505 | net/netrom/af_netrom.c | if ((sk = (struct sock *)sk_alloc(GFP_ATOMIC)) == NULL) |
| sock | 569 | net/netrom/af_netrom.c | struct sock *sk = (struct sock *)oldsock->data; |
| sock | 574 | net/netrom/af_netrom.c | static int nr_release(struct socket *sock, struct socket *peer) |
| sock | 576 | net/netrom/af_netrom.c | struct sock *sk = (struct sock *)sock->data; |
| sock | 624 | net/netrom/af_netrom.c | sock->data = NULL; |
| sock | 630 | net/netrom/af_netrom.c | static int nr_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) |
| sock | 632 | net/netrom/af_netrom.c | struct sock *sk; |
| sock | 637 | net/netrom/af_netrom.c | sk = (struct sock *)sock->data; |
| sock | 683 | net/netrom/af_netrom.c | static int nr_connect(struct socket *sock, struct sockaddr *uaddr, |
| sock | 686 | net/netrom/af_netrom.c | struct sock *sk = (struct sock *)sock->data; |
| sock | 691 | net/netrom/af_netrom.c | if (sk->state == TCP_ESTABLISHED && sock->state == SS_CONNECTING) { |
| sock | 692 | net/netrom/af_netrom.c | sock->state = SS_CONNECTED; |
| sock | 696 | net/netrom/af_netrom.c | if (sk->state == TCP_CLOSE && sock->state == SS_CONNECTING) { |
| sock | 697 | net/netrom/af_netrom.c | sock->state = SS_UNCONNECTED; |
| sock | 705 | net/netrom/af_netrom.c | sock->state = SS_UNCONNECTED; |
| sock | 742 | net/netrom/af_netrom.c | sock->state = SS_CONNECTING; |
| sock | 767 | net/netrom/af_netrom.c | sock->state = SS_UNCONNECTED; |
| sock | 771 | net/netrom/af_netrom.c | sock->state = SS_CONNECTED; |
| sock | 783 | net/netrom/af_netrom.c | static int nr_accept(struct socket *sock, struct socket *newsock, int flags) |
| sock | 785 | net/netrom/af_netrom.c | struct sock *sk; |
| sock | 786 | net/netrom/af_netrom.c | struct sock *newsk; |
| sock | 794 | net/netrom/af_netrom.c | sk = (struct sock *)sock->data; |
| sock | 834 | net/netrom/af_netrom.c | static int nr_getname(struct socket *sock, struct sockaddr *uaddr, |
| sock | 838 | net/netrom/af_netrom.c | struct sock *sk; |
| sock | 840 | net/netrom/af_netrom.c | sk = (struct sock *)sock->data; |
| sock | 862 | net/netrom/af_netrom.c | struct sock *sk; |
| sock | 863 | net/netrom/af_netrom.c | struct sock *make; |
| sock | 977 | net/netrom/af_netrom.c | static int nr_sendmsg(struct socket *sock, struct msghdr *msg, int len, int noblock, int flags) |
| sock | 979 | net/netrom/af_netrom.c | struct sock *sk = (struct sock *)sock->data; |
| sock | 1080 | net/netrom/af_netrom.c | static int nr_recvmsg(struct socket *sock, struct msghdr *msg, int size, int noblock, |
| sock | 1083 | net/netrom/af_netrom.c | struct sock *sk = (struct sock *)sock->data; |
| sock | 1135 | net/netrom/af_netrom.c | static int nr_select(struct socket *sock , int sel_type, select_table *wait) |
| sock | 1137 | net/netrom/af_netrom.c | struct sock *sk = (struct sock *)sock->data; |
| sock | 1142 | net/netrom/af_netrom.c | static int nr_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) |
| sock | 1144 | net/netrom/af_netrom.c | struct sock *sk = (struct sock *)sock->data; |
| sock | 1229 | net/netrom/af_netrom.c | struct sock *s; |
| sock | 53 | net/netrom/nr_in.c | static int nr_queue_rx_frame(struct sock *sk, struct sk_buff *skb, int more) |
| sock | 97 | net/netrom/nr_in.c | static int nr_state1_machine(struct sock *sk, struct sk_buff *skb, int frametype) |
| sock | 143 | net/netrom/nr_in.c | static int nr_state2_machine(struct sock *sk, struct sk_buff *skb, int frametype) |
| sock | 171 | net/netrom/nr_in.c | static int nr_state3_machine(struct sock *sk, struct sk_buff *skb, int frametype) |
| sock | 310 | net/netrom/nr_in.c | int nr_process_rx_frame(struct sock *sk, struct sk_buff *skb) |
| sock | 49 | net/netrom/nr_out.c | void nr_output(struct sock *sk, struct sk_buff *skb) |
| sock | 104 | net/netrom/nr_out.c | static void nr_send_iframe(struct sock *sk, struct sk_buff *skb) |
| sock | 118 | net/netrom/nr_out.c | void nr_send_nak_frame(struct sock *sk) |
| sock | 141 | net/netrom/nr_out.c | void nr_kick(struct sock *sk) |
| sock | 202 | net/netrom/nr_out.c | void nr_transmit_buffer(struct sock *sk, struct sk_buff *skb) |
| sock | 243 | net/netrom/nr_out.c | void nr_establish_data_link(struct sock *sk) |
| sock | 257 | net/netrom/nr_out.c | void nr_enquiry_response(struct sock *sk) |
| sock | 275 | net/netrom/nr_out.c | void nr_check_iframes_acked(struct sock *sk, unsigned short nr) |
| sock | 47 | net/netrom/nr_subr.c | void nr_clear_queues(struct sock *sk) |
| sock | 77 | net/netrom/nr_subr.c | void nr_frames_acked(struct sock *sk, unsigned short nr) |
| sock | 100 | net/netrom/nr_subr.c | void nr_requeue_frames(struct sock *sk) |
| sock | 117 | net/netrom/nr_subr.c | int nr_validate_nr(struct sock *sk, unsigned short nr) |
| sock | 134 | net/netrom/nr_subr.c | int nr_in_rx_window(struct sock *sk, unsigned short ns) |
| sock | 151 | net/netrom/nr_subr.c | void nr_write_internal(struct sock *sk, int frametype) |
| sock | 292 | net/netrom/nr_subr.c | unsigned short nr_calculate_t1(struct sock *sk) |
| sock | 307 | net/netrom/nr_subr.c | void nr_calculate_rtt(struct sock *sk) |
| sock | 48 | net/netrom/nr_timer.c | void nr_set_timer(struct sock *sk) |
| sock | 65 | net/netrom/nr_timer.c | static void nr_reset_timer(struct sock *sk) |
| sock | 88 | net/netrom/nr_timer.c | struct sock *sk = (struct sock *)param; |
| sock | 249 | net/socket.c | struct socket * sock; |
| sock | 260 | net/socket.c | sock = &inode->u.socket_i; |
| sock | 261 | net/socket.c | sock->state = SS_UNCONNECTED; |
| sock | 262 | net/socket.c | sock->flags = 0; |
| sock | 263 | net/socket.c | sock->ops = NULL; |
| sock | 264 | net/socket.c | sock->data = NULL; |
| sock | 265 | net/socket.c | sock->conn = NULL; |
| sock | 266 | net/socket.c | sock->iconn = NULL; |
| sock | 267 | net/socket.c | sock->next = NULL; |
| sock | 268 | net/socket.c | sock->file = NULL; |
| sock | 269 | net/socket.c | sock->wait = &inode->i_wait; |
| sock | 270 | net/socket.c | sock->inode = inode; /* "backlink": we could use pointer arithmetic instead */ |
| sock | 271 | net/socket.c | sock->fasync_list = NULL; |
| sock | 273 | net/socket.c | return sock; |
| sock | 287 | net/socket.c | void sock_release(struct socket *sock) |
| sock | 292 | net/socket.c | if ((oldstate = sock->state) != SS_UNCONNECTED) |
| sock | 293 | net/socket.c | sock->state = SS_DISCONNECTING; |
| sock | 299 | net/socket.c | for (peersock = sock->iconn; peersock; peersock = nextsock) |
| sock | 310 | net/socket.c | peersock = (oldstate == SS_CONNECTED) ? sock->conn : NULL; |
| sock | 311 | net/socket.c | if (sock->ops) |
| sock | 312 | net/socket.c | sock->ops->release(sock, peersock); |
| sock | 316 | net/socket.c | sock->file=NULL; |
| sock | 317 | net/socket.c | iput(SOCK_INODE(sock)); |
| sock | 336 | net/socket.c | struct socket *sock; |
| sock | 341 | net/socket.c | sock = socki_lookup(inode); |
| sock | 342 | net/socket.c | if (sock->flags & SO_ACCEPTCON) |
| sock | 358 | net/socket.c | return(sock->ops->recvmsg(sock, &msg, size,(file->f_flags & O_NONBLOCK), 0,&msg.msg_namelen)); |
| sock | 368 | net/socket.c | struct socket *sock; |
| sock | 373 | net/socket.c | sock = socki_lookup(inode); |
| sock | 375 | net/socket.c | if (sock->flags & SO_ACCEPTCON) |
| sock | 393 | net/socket.c | return(sock->ops->sendmsg(sock, &msg, size,(file->f_flags & O_NONBLOCK),0)); |
| sock | 404 | net/socket.c | struct socket *sock; |
| sock | 405 | net/socket.c | sock = socki_lookup(inode); |
| sock | 406 | net/socket.c | return(sock->ops->ioctl(sock, cmd, arg)); |
| sock | 412 | net/socket.c | struct socket *sock; |
| sock | 414 | net/socket.c | sock = socki_lookup(inode); |
| sock | 420 | net/socket.c | if (sock->ops->select) |
| sock | 421 | net/socket.c | return(sock->ops->select(sock, sel_type, wait)); |
| sock | 445 | net/socket.c | struct socket *sock; |
| sock | 455 | net/socket.c | sock = socki_lookup(inode); |
| sock | 457 | net/socket.c | prev=&(sock->fasync_list); |
| sock | 476 | net/socket.c | fna->fa_next=sock->fasync_list; |
| sock | 477 | net/socket.c | sock->fasync_list=fna; |
| sock | 491 | net/socket.c | int sock_wake_async(struct socket *sock, int how) |
| sock | 493 | net/socket.c | if (!sock || !sock->fasync_list) |
| sock | 498 | net/socket.c | kill_fasync(sock->fasync_list, SIGIO); |
| sock | 501 | net/socket.c | if (!(sock->flags & SO_WAITDATA)) |
| sock | 502 | net/socket.c | kill_fasync(sock->fasync_list, SIGIO); |
| sock | 505 | net/socket.c | if (sock->flags & SO_NOSPACE) |
| sock | 507 | net/socket.c | kill_fasync(sock->fasync_list, SIGIO); |
| sock | 508 | net/socket.c | sock->flags &= ~SO_NOSPACE; |
| sock | 537 | net/socket.c | struct socket *sock; |
| sock | 578 | net/socket.c | if (!(sock = sock_alloc())) |
| sock | 585 | net/socket.c | sock->type = type; |
| sock | 586 | net/socket.c | sock->ops = ops; |
| sock | 587 | net/socket.c | if ((i = sock->ops->create(sock, protocol)) < 0) |
| sock | 589 | net/socket.c | sock_release(sock); |
| sock | 593 | net/socket.c | if ((fd = get_fd(SOCK_INODE(sock))) < 0) |
| sock | 595 | net/socket.c | sock_release(sock); |
| sock | 599 | net/socket.c | sock->file=current->files->fd[fd]; |
| sock | 675 | net/socket.c | struct socket *sock; |
| sock | 683 | net/socket.c | if (!(sock = sockfd_lookup(fd, NULL))) |
| sock | 689 | net/socket.c | if ((i = sock->ops->bind(sock, (struct sockaddr *)address, addrlen)) < 0) |
| sock | 705 | net/socket.c | struct socket *sock; |
| sock | 710 | net/socket.c | if (!(sock = sockfd_lookup(fd, NULL))) |
| sock | 713 | net/socket.c | if (sock->state != SS_UNCONNECTED) |
| sock | 716 | net/socket.c | if (sock->ops && sock->ops->listen) |
| sock | 718 | net/socket.c | err=sock->ops->listen(sock, backlog); |
| sock | 720 | net/socket.c | sock->flags |= SO_ACCEPTCON; |
| sock | 737 | net/socket.c | struct socket *sock, *newsock; |
| sock | 744 | net/socket.c | if (!(sock = sockfd_lookup(fd, &file))) |
| sock | 746 | net/socket.c | if (sock->state != SS_UNCONNECTED) |
| sock | 750 | net/socket.c | if (!(sock->flags & SO_ACCEPTCON)) |
| sock | 761 | net/socket.c | newsock->type = sock->type; |
| sock | 762 | net/socket.c | newsock->ops = sock->ops; |
| sock | 763 | net/socket.c | if ((i = sock->ops->dup(newsock, sock)) < 0) |
| sock | 769 | net/socket.c | i = newsock->ops->accept(sock, newsock, file->f_flags); |
| sock | 781 | net/socket.c | sock->file=current->files->fd[fd]; |
| sock | 799 | net/socket.c | struct socket *sock; |
| sock | 807 | net/socket.c | if (!(sock = sockfd_lookup(fd, &file))) |
| sock | 813 | net/socket.c | switch(sock->state) |
| sock | 820 | net/socket.c | if(sock->type == SOCK_DGRAM) /* Hack for now - move this all into the protocol */ |
| sock | 835 | net/socket.c | i = sock->ops->connect(sock, (struct sockaddr *)address, addrlen, file->f_flags); |
| sock | 850 | net/socket.c | struct socket *sock; |
| sock | 857 | net/socket.c | if (!(sock = sockfd_lookup(fd, NULL))) |
| sock | 860 | net/socket.c | err=sock->ops->getname(sock, (struct sockaddr *)address, &len, 0); |
| sock | 875 | net/socket.c | struct socket *sock; |
| sock | 882 | net/socket.c | if (!(sock = sockfd_lookup(fd, NULL))) |
| sock | 885 | net/socket.c | err=sock->ops->getname(sock, (struct sockaddr *)address, &len, 1); |
| sock | 900 | net/socket.c | struct socket *sock; |
| sock | 908 | net/socket.c | if (!(sock = sockfd_lookup(fd, NULL))) |
| sock | 923 | net/socket.c | return(sock->ops->sendmsg(sock, &msg, len, (file->f_flags & O_NONBLOCK), flags)); |
| sock | 935 | net/socket.c | struct socket *sock; |
| sock | 944 | net/socket.c | if (!(sock = sockfd_lookup(fd, NULL))) |
| sock | 963 | net/socket.c | return(sock->ops->sendmsg(sock, &msg, len, (file->f_flags & O_NONBLOCK), |
| sock | 976 | net/socket.c | struct socket *sock; |
| sock | 983 | net/socket.c | if (!(sock = sockfd_lookup(fd, NULL))) |
| sock | 1001 | net/socket.c | return(sock->ops->recvmsg(sock, &msg, size,(file->f_flags & O_NONBLOCK), flags,&msg.msg_namelen)); |
| sock | 1013 | net/socket.c | struct socket *sock; |
| sock | 1022 | net/socket.c | if (!(sock = sockfd_lookup(fd, NULL))) |
| sock | 1040 | net/socket.c | size=sock->ops->recvmsg(sock, &msg, size, (file->f_flags & O_NONBLOCK), |
| sock | 1058 | net/socket.c | struct socket *sock; |
| sock | 1063 | net/socket.c | if (!(sock = sockfd_lookup(fd, NULL))) |
| sock | 1066 | net/socket.c | return(sock->ops->setsockopt(sock, level, optname, optval, optlen)); |
| sock | 1076 | net/socket.c | struct socket *sock; |
| sock | 1081 | net/socket.c | if (!(sock = sockfd_lookup(fd, NULL))) |
| sock | 1084 | net/socket.c | if (!sock->ops->getsockopt) |
| sock | 1086 | net/socket.c | return(sock->ops->getsockopt(sock, level, optname, optval, optlen)); |
| sock | 1096 | net/socket.c | struct socket *sock; |
| sock | 1101 | net/socket.c | if (!(sock = sockfd_lookup(fd, NULL))) |
| sock | 1104 | net/socket.c | return(sock->ops->shutdown(sock, how)); |
| sock | 1113 | net/socket.c | struct socket *sock; |
| sock | 1123 | net/socket.c | if (!(sock = sockfd_lookup(fd, NULL))) |
| sock | 1126 | net/socket.c | if(sock->ops->sendmsg==NULL) |
| sock | 1145 | net/socket.c | return sock->ops->sendmsg(sock, &msg_sys, total_len, (file->f_flags&O_NONBLOCK), flags); |
| sock | 1154 | net/socket.c | struct socket *sock; |
| sock | 1166 | net/socket.c | if (!(sock = sockfd_lookup(fd, NULL))) |
| sock | 1180 | net/socket.c | if(sock->ops->recvmsg==NULL) |
| sock | 1182 | net/socket.c | len=sock->ops->recvmsg(sock, &msg_sys, total_len, (file->f_flags&O_NONBLOCK), flags, &addr_len); |
| sock | 1200 | net/socket.c | struct socket *sock; |
| sock | 1202 | net/socket.c | sock = socki_lookup (filp->f_inode); |
| sock | 1203 | net/socket.c | if (sock != NULL && sock->ops != NULL && sock->ops->fcntl != NULL) |
| sock | 1204 | net/socket.c | return(sock->ops->fcntl(sock, cmd, arg)); |
| sock | 218 | net/unix/af_unix.c | static int unix_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg) |
| sock | 227 | net/unix/af_unix.c | static int unix_setsockopt(struct socket *sock, int level, int optname, char *optval, int optlen) |
| sock | 229 | net/unix/af_unix.c | unix_socket *sk=sock->data; |
| sock | 235 | net/unix/af_unix.c | static int unix_getsockopt(struct socket *sock, int level, int optname, char *optval, int *optlen) |
| sock | 237 | net/unix/af_unix.c | unix_socket *sk=sock->data; |
| sock | 243 | net/unix/af_unix.c | static int unix_listen(struct socket *sock, int backlog) |
| sock | 245 | net/unix/af_unix.c | unix_socket *sk=sock->data; |
| sock | 255 | net/unix/af_unix.c | static void def_callback1(struct sock *sk) |
| sock | 261 | net/unix/af_unix.c | static void def_callback2(struct sock *sk, int len) |
| sock | 270 | net/unix/af_unix.c | static void def_callback3(struct sock *sk) |
| sock | 279 | net/unix/af_unix.c | static int unix_create(struct socket *sock, int protocol) |
| sock | 287 | net/unix/af_unix.c | switch(sock->type) |
| sock | 296 | net/unix/af_unix.c | sock->type=SOCK_DGRAM; |
| sock | 303 | net/unix/af_unix.c | sk->type=sock->type; |
| sock | 322 | net/unix/af_unix.c | sk->socket=sock; |
| sock | 323 | net/unix/af_unix.c | sock->data=(void *)sk; |
| sock | 324 | net/unix/af_unix.c | sk->sleep=sock->wait; |
| sock | 334 | net/unix/af_unix.c | static int unix_release(struct socket *sock, struct socket *peer) |
| sock | 336 | net/unix/af_unix.c | unix_socket *sk=sock->data; |
| sock | 393 | net/unix/af_unix.c | static int unix_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) |
| sock | 396 | net/unix/af_unix.c | unix_socket *sk=sock->data; |
| sock | 440 | net/unix/af_unix.c | static int unix_connect(struct socket *sock, struct sockaddr *uaddr, int addr_len, int flags) |
| sock | 442 | net/unix/af_unix.c | unix_socket *sk=sock->data; |
| sock | 450 | net/unix/af_unix.c | if(sock->state==SS_CONNECTING && sk->state==TCP_ESTABLISHED) |
| sock | 452 | net/unix/af_unix.c | sock->state=SS_CONNECTED; |
| sock | 455 | net/unix/af_unix.c | if(sock->state==SS_CONNECTING && sk->state == TCP_CLOSE) |
| sock | 457 | net/unix/af_unix.c | sock->state=SS_UNCONNECTED; |
| sock | 460 | net/unix/af_unix.c | if(sock->state!=SS_CONNECTING) |
| sock | 480 | net/unix/af_unix.c | sock->state=SS_UNCONNECTED; |
| sock | 489 | net/unix/af_unix.c | sock->state=SS_CONNECTED; |
| sock | 495 | net/unix/af_unix.c | if(sock->state==SS_UNCONNECTED) |
| sock | 524 | net/unix/af_unix.c | sock->state=SS_CONNECTING; |
| sock | 556 | net/unix/af_unix.c | sock->state=SS_UNCONNECTED; |
| sock | 565 | net/unix/af_unix.c | sock->state=SS_CONNECTED; |
| sock | 588 | net/unix/af_unix.c | static int unix_accept(struct socket *sock, struct socket *newsock, int flags) |
| sock | 590 | net/unix/af_unix.c | unix_socket *sk=sock->data; |
| sock | 649 | net/unix/af_unix.c | static int unix_getname(struct socket *sock, struct sockaddr *uaddr, int *uaddr_len, int peer) |
| sock | 651 | net/unix/af_unix.c | unix_socket *sk=sock->data; |
| sock | 702 | net/unix/af_unix.c | static int unix_fd_copy(struct sock *sk, struct cmsghdr *cmsg, struct file **fp) |
| sock | 746 | net/unix/af_unix.c | static void unix_fd_free(struct sock *sk, struct file **fp, int num) |
| sock | 871 | net/unix/af_unix.c | static int unix_sendmsg(struct socket *sock, struct msghdr *msg, int len, int nonblock, int flags) |
| sock | 873 | net/unix/af_unix.c | unix_socket *sk=sock->data; |
| sock | 898 | net/unix/af_unix.c | if(sock->type==SOCK_STREAM) |
| sock | 946 | net/unix/af_unix.c | if(sock->type==SOCK_DGRAM) |
| sock | 959 | net/unix/af_unix.c | if(size > 4000 && sock->type!=SOCK_DGRAM) |
| sock | 999 | net/unix/af_unix.c | if(sock->type==SOCK_DGRAM && other->dead) |
| sock | 1003 | net/unix/af_unix.c | sock->state=SS_UNCONNECTED; |
| sock | 1050 | net/unix/af_unix.c | static int unix_recvmsg(struct socket *sock, struct msghdr *msg, int size, int noblock, int flags, int *addr_len) |
| sock | 1052 | net/unix/af_unix.c | unix_socket *sk=sock->data; |
| sock | 1153 | net/unix/af_unix.c | if(sock->type==SOCK_DGRAM || cm) |
| sock | 1164 | net/unix/af_unix.c | static int unix_shutdown(struct socket *sock, int mode) |
| sock | 1166 | net/unix/af_unix.c | unix_socket *sk=(unix_socket *)sock->data; |
| sock | 1193 | net/unix/af_unix.c | static int unix_select(struct socket *sock, int sel_type, select_table *wait) |
| sock | 1195 | net/unix/af_unix.c | return datagram_select(sock->data,sel_type,wait); |
| sock | 1198 | net/unix/af_unix.c | static int unix_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) |
| sock | 1200 | net/unix/af_unix.c | unix_socket *sk=sock->data; |