Home
last modified time | relevance | path

Searched defs:sock (Results 1 – 21 of 21) sorted by relevance

/include/net/
Dsock.h346 struct sock { struct
351 struct sock_common __sk_common; argument
394 * the per-socket spinlock held and requires low latency argument
408 __cacheline_group_end(sock_write_rx); argument
433 void (*sk_data_ready)(struct sock *sk); argument
436 __cacheline_group_end(sock_read_rx); argument
440 struct socket *sk_socket; argument
445 __cacheline_group_end(sock_read_rxtx); argument
448 socket_lock_t sk_lock; argument
452 __cacheline_group_end(sock_write_rxtx); argument
[all …]
Dscm.h60 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) in unix_get_peersec_dgram()
65 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) in unix_get_peersec_dgram()
91 static __inline__ int scm_send(struct socket *sock, struct msghdr *msg, in scm_send()
106 static inline void scm_passec(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm) in scm_passec()
122 static inline bool scm_has_secdata(struct socket *sock) in scm_has_secdata()
127 static inline void scm_passec(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm) in scm_passec()
130 static inline bool scm_has_secdata(struct socket *sock) in scm_has_secdata()
172 static inline bool __scm_recv_common(struct socket *sock, struct msghdr *msg, in __scm_recv_common()
202 static inline void scm_recv(struct socket *sock, struct msghdr *msg, in scm_recv()
211 static inline void scm_recv_unix(struct socket *sock, struct msghdr *msg, in scm_recv_unix()
Dnetrom.h68 struct sock sock; member
Drose.h129 struct sock sock; member
Damt.h334 struct socket __rcu *sock; member
Dvxlan.h188 struct socket *sock; member
Dcfg80211.h3551 struct socket *sock; member
/include/linux/
Dnetfilter.h163 struct sock *sk, in nf_hook_state_init()
227 struct sock *sk, struct sk_buff *skb, in nf_hook()
297 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_COND()
311 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, in NF_HOOK()
322 NF_HOOK_LIST(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_LIST()
410 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_COND()
419 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK()
427 NF_HOOK_LIST(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_LIST()
435 struct sock *sk, struct sk_buff *skb, in nf_hook()
Dmroute6.h37 static inline int ip6_mroute_setsockopt(struct sock *sock, int optname, in ip6_mroute_setsockopt()
44 int ip6_mroute_getsockopt(struct sock *sock, in ip6_mroute_getsockopt()
Dbpf-cgroup.h381 #define BPF_CGROUP_RUN_PROG_SETSOCKOPT(sock, level, optname, optval, optlen, \ argument
394 #define BPF_CGROUP_RUN_PROG_GETSOCKOPT(sock, level, optname, optval, optlen, \ argument
410 #define BPF_CGROUP_RUN_PROG_GETSOCKOPT_KERN(sock, level, optname, optval, \ argument
514 #define BPF_CGROUP_RUN_PROG_GETSOCKOPT(sock, level, optname, optval, \ argument
516 #define BPF_CGROUP_RUN_PROG_GETSOCKOPT_KERN(sock, level, optname, optval, \ argument
518 #define BPF_CGROUP_RUN_PROG_SETSOCKOPT(sock, level, optname, optval, optlen, \ argument
Dsecurity.h1611 static inline int security_unix_stream_connect(struct sock *sock, in security_unix_stream_connect()
1618 static inline int security_unix_may_send(struct socket *sock, in security_unix_may_send()
1630 static inline int security_socket_post_create(struct socket *sock, in security_socket_post_create()
1644 static inline int security_socket_bind(struct socket *sock, in security_socket_bind()
1651 static inline int security_socket_connect(struct socket *sock, in security_socket_connect()
1658 static inline int security_socket_listen(struct socket *sock, int backlog) in security_socket_listen()
1663 static inline int security_socket_accept(struct socket *sock, in security_socket_accept()
1669 static inline int security_socket_sendmsg(struct socket *sock, in security_socket_sendmsg()
1675 static inline int security_socket_recvmsg(struct socket *sock, in security_socket_recvmsg()
1682 static inline int security_socket_getsockname(struct socket *sock) in security_socket_getsockname()
[all …]
Dmroute.h27 static inline int ip_mroute_setsockopt(struct sock *sock, int optname, in ip_mroute_setsockopt()
Dif_tap.h65 struct socket sock; member
Dnet.h272 #define sockfd_put(sock) fput(sock->file) argument
Datmdev.h130 static inline struct atm_vcc *ATM_SD(struct socket *sock) in ATM_SD()
/include/linux/sunrpc/
Dxprtsock.h25 struct socket * sock; member
/include/linux/soc/qcom/
Dqmi.h217 struct socket *sock; member
/include/pcmcia/
Dss.h149 unsigned int sock; /* socket number */ member
/include/net/bluetooth/
Drfcomm.h157 struct socket *sock; member
/include/linux/ceph/
Dmessenger.h479 struct socket *sock; member
/include/target/iscsi/
Discsi_target_core.h554 struct socket *sock; member