/include/net/ |
H A D | scm.h | 34 extern int __scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm); 39 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) argument 41 security_socket_getpeersec_dgram(sock, NULL, &scm->secid); 44 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) argument 73 static __inline__ int scm_send(struct socket *sock, struct msghdr *msg, argument 79 unix_get_peersec_dgram(sock, scm); 82 return __scm_send(sock, msg, scm); 86 static inline void scm_passec(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm) argument 92 if (test_bit(SOCK_PASSSEC, &sock->flags)) { 102 static inline void scm_passec(struct socket *sock, struc argument 106 scm_recv(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm, int flags) argument [all...] |
H A D | ipx.h | 21 __be16 sock; member in struct:ipx_address 93 #include <net/sock.h> 96 /* struct sock has to be the first member of ipx_sock */ 97 struct sock sk; 112 static inline struct ipx_sock *ipx_sk(struct sock *sk)
|
H A D | netrom.h | 13 #include <net/sock.h> 64 struct sock sock; member in struct:nr_sock 187 extern void nr_destroy_socket(struct sock *); 194 extern int nr_process_rx_frame(struct sock *, struct sk_buff *); 202 extern void nr_output(struct sock *, struct sk_buff *); 203 extern void nr_send_nak_frame(struct sock *); 204 extern void nr_kick(struct sock *); 205 extern void nr_transmit_buffer(struct sock *, struct sk_buff *); 206 extern void nr_establish_data_link(struct sock *); [all...] |
H A D | rose.h | 11 #include <net/sock.h> 126 struct sock sock; member in struct:rose_sock 166 extern struct sock *rose_find_socket(unsigned int, struct rose_neigh *); 170 extern void rose_destroy_socket(struct sock *); 176 extern int rose_process_rx_frame(struct sock *, struct sk_buff *); 193 extern void rose_kick(struct sock *); 194 extern void rose_enquiry_response(struct sock *); 217 extern void rose_clear_queues(struct sock *); 218 extern void rose_frames_acked(struct sock *, unsigne [all...] |
H A D | sock.h | 8 * Version: @(#)sock.h 1.0.4 05/13/93 100 void SOCK_DEBUG(struct sock *sk, const char *msg, ...) 124 struct sock; 148 * for struct sock and struct inet_timewait_sock. 193 * struct sock - network layer representation of sockets 199 * @sk_wq: sock wait queue and async head 223 * @sk_prot_creator: sk_prot of original sock creator (see ipv6_setsockopt, 243 * @sk_timer: sock cleanup timer 256 * @sk_state_change: callback to indicate change in the state of the sock 261 * @sk_destruct: called at sock freein 263 struct sock { struct 1202 struct socket *sock; member in struct:sock_iocb 1563 sk_set_socket(struct sock *sk, struct socket *sock) argument [all...] |
/include/linux/ |
H A D | nbd.h | 54 struct socket * sock; member in struct:nbd_device
|
H A D | mroute.h | 135 #include <net/sock.h> 150 extern int ip_mroute_setsockopt(struct sock *, int, char __user *, unsigned int); 151 extern int ip_mroute_getsockopt(struct sock *, int, char __user *, int __user *); 152 extern int ipmr_ioctl(struct sock *sk, int cmd, void __user *arg); 153 extern int ipmr_compat_ioctl(struct sock *sk, unsigned int cmd, void __user *arg); 157 int ip_mroute_setsockopt(struct sock *sock, argument 164 int ip_mroute_getsockopt(struct sock *sock, argument 171 int ipmr_ioctl(struct sock *s [all...] |
H A D | mroute6.h | 134 struct sock; 137 extern int ip6_mroute_setsockopt(struct sock *, int, char __user *, unsigned int); 138 extern int ip6_mroute_getsockopt(struct sock *, int, char __user *, int __user *); 140 extern int ip6mr_ioctl(struct sock *sk, int cmd, void __user *arg); 141 extern int ip6mr_compat_ioctl(struct sock *sk, unsigned int cmd, void __user *arg); 146 int ip6_mroute_setsockopt(struct sock *sock, argument 153 int ip6_mroute_getsockopt(struct sock *sock, argument 160 int ip6mr_ioctl(struct sock *s [all...] |
H A D | atmdev.h | 222 #include <net/sock.h> 300 /* struct sock has to be the first member of atm_vcc */ 301 struct sock sk; 330 static inline struct atm_vcc *atm_sk(struct sock *sk) 335 static inline struct atm_vcc *ATM_SD(struct socket *sock) argument 337 return atm_sk(sock->sk); 340 static inline struct sock *sk_atm(struct atm_vcc *vcc) 342 return (struct sock *)vcc; 445 void vcc_insert_socket(struct sock *sk);
|
H A D | security.h | 102 struct sock; 113 extern int cap_netlink_send(struct sock *sk, struct sk_buff *skb); 804 * @sk associated sock of task sending the message. 813 * between @sock and @other. 814 * @sock contains the sock structure. 815 * @other contains the peer sock structure. 816 * @newsk contains the new sock structure. 819 * Check permissions before connecting or sending datagrams from @sock to 821 * @sock contain 2560 security_unix_stream_connect(struct sock *sock, struct sock *other, struct sock *newsk) argument 2567 security_unix_may_send(struct socket *sock, struct socket *other) argument 2579 security_socket_post_create(struct socket *sock, int family, int type, int protocol, int kern) argument 2587 security_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen) argument 2594 security_socket_connect(struct socket *sock, struct sockaddr *address, int addrlen) argument 2601 security_socket_listen(struct socket *sock, int backlog) argument 2606 security_socket_accept(struct socket *sock, struct socket *newsock) argument 2612 security_socket_sendmsg(struct socket *sock, struct msghdr *msg, int size) argument 2618 security_socket_recvmsg(struct socket *sock, struct msghdr *msg, int size, int flags) argument 2625 security_socket_getsockname(struct socket *sock) argument 2630 security_socket_getpeername(struct socket *sock) argument 2635 security_socket_getsockopt(struct socket *sock, int level, int optname) argument 2641 security_socket_setsockopt(struct socket *sock, int level, int optname) argument 2647 security_socket_shutdown(struct socket *sock, int how) argument 2657 security_socket_getpeersec_stream(struct socket *sock, char __user *optval, int __user *optlen, unsigned len) argument 2663 security_socket_getpeersec_dgram(struct socket *sock, struct sk_buff *skb, u32 *secid) argument [all...] |
/include/linux/ceph/ |
H A D | messenger.h | 139 struct socket *sock; member in struct:ceph_connection
|
/include/pcmcia/ |
H A D | ss.h | 152 unsigned int sock; /* socket number */ member in struct:pcmcia_socket 179 int (*power_hook)(struct pcmcia_socket *sock, int operation); 183 void (*tune_bridge)(struct pcmcia_socket *sock, struct pci_bus *bus);
|
/include/net/bluetooth/ |
H A D | rfcomm.h | 157 struct socket *sock; member in struct:rfcomm_session 358 int rfcomm_dev_ioctl(struct sock *sk, unsigned int cmd, void __user *arg);
|