Home
last modified time | relevance | path

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

/include/net/
Dsock.h359 struct sock { struct
364 struct sock_common __sk_common; argument
404 socket_lock_t sk_lock; argument
411 * the per-socket spinlock held and requires low latency argument
438 struct socket_wq __rcu *sk_wq; argument
444 struct xfrm_policy __rcu *sk_policy[2];
447 struct dst_entry __rcu *sk_dst_cache;
448 atomic_t sk_omem_alloc;
449 int sk_sndbuf;
452 int sk_wmem_queued;
[all …]
Dscm.h48 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) in unix_get_peersec_dgram()
53 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) in unix_get_peersec_dgram()
79 static __inline__ int scm_send(struct socket *sock, struct msghdr *msg, in scm_send()
94 static inline void scm_passec(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm) in scm_passec()
110 static inline bool scm_has_secdata(struct socket *sock) in scm_has_secdata()
115 static inline void scm_passec(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm) in scm_passec()
118 static inline bool scm_has_secdata(struct socket *sock) in scm_has_secdata()
160 static inline bool __scm_recv_common(struct socket *sock, struct msghdr *msg, in __scm_recv_common()
190 static inline void scm_recv(struct socket *sock, struct msghdr *msg, in scm_recv()
199 static inline void scm_recv_unix(struct socket *sock, struct msghdr *msg, in scm_recv_unix()
Dnetrom.h68 struct sock sock; member
Drose.h128 struct sock sock; member
Dvxlan.h188 struct socket *sock; member
Damt.h334 struct socket __rcu *sock; member
Dcfg80211.h3395 struct socket *sock; member
/include/linux/
Dnetfilter.h153 struct sock *sk, in nf_hook_state_init()
217 struct sock *sk, struct sk_buff *skb, in nf_hook()
287 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_COND()
301 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, in NF_HOOK()
312 NF_HOOK_LIST(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_LIST()
405 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_COND()
414 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK()
422 NF_HOOK_LIST(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_LIST()
430 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()
Dsecurity.h1488 static inline int security_unix_stream_connect(struct sock *sock, in security_unix_stream_connect()
1495 static inline int security_unix_may_send(struct socket *sock, in security_unix_may_send()
1507 static inline int security_socket_post_create(struct socket *sock, in security_socket_post_create()
1521 static inline int security_socket_bind(struct socket *sock, in security_socket_bind()
1528 static inline int security_socket_connect(struct socket *sock, in security_socket_connect()
1535 static inline int security_socket_listen(struct socket *sock, int backlog) in security_socket_listen()
1540 static inline int security_socket_accept(struct socket *sock, in security_socket_accept()
1546 static inline int security_socket_sendmsg(struct socket *sock, in security_socket_sendmsg()
1552 static inline int security_socket_recvmsg(struct socket *sock, in security_socket_recvmsg()
1559 static inline int security_socket_getsockname(struct socket *sock) in security_socket_getsockname()
[all …]
Dbpf-cgroup.h364 #define BPF_CGROUP_RUN_PROG_SETSOCKOPT(sock, level, optname, optval, optlen, \ argument
385 #define BPF_CGROUP_RUN_PROG_GETSOCKOPT(sock, level, optname, optval, optlen, \ argument
401 #define BPF_CGROUP_RUN_PROG_GETSOCKOPT_KERN(sock, level, optname, optval, \ argument
503 #define BPF_CGROUP_RUN_PROG_GETSOCKOPT(sock, level, optname, optval, \ argument
505 #define BPF_CGROUP_RUN_PROG_GETSOCKOPT_KERN(sock, level, optname, optval, \ argument
507 #define BPF_CGROUP_RUN_PROG_SETSOCKOPT(sock, level, optname, optval, optlen, \ argument
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.h270 #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