Home
last modified time | relevance | path

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

/include/net/
Dsock.h346 struct sock { struct
351 struct sock_common __sk_common; argument
386 socket_lock_t sk_lock; argument
394 * the per-socket spinlock held and requires low latency argument
418 struct socket_wq __rcu *sk_wq; argument
424 struct xfrm_policy __rcu *sk_policy[2];
426 struct dst_entry __rcu *sk_rx_dst;
427 struct dst_entry __rcu *sk_dst_cache;
428 atomic_t sk_omem_alloc;
429 int sk_sndbuf;
[all …]
Dscm.h47 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) in unix_get_peersec_dgram()
52 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) in unix_get_peersec_dgram()
78 static __inline__ int scm_send(struct socket *sock, struct msghdr *msg, in scm_send()
93 static inline void scm_passec(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm) in scm_passec()
109 static inline bool scm_has_secdata(struct socket *sock) in scm_has_secdata()
114 static inline void scm_passec(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm) in scm_passec()
117 static inline bool scm_has_secdata(struct socket *sock) in scm_has_secdata()
123 static __inline__ void scm_recv(struct socket *sock, struct msghdr *msg, in scm_recv()
Dipx.h23 __be16 sock; member
Dudp_tunnel.h169 static inline void udp_tunnel_encap_enable(struct socket *sock) in udp_tunnel_encap_enable()
Dnetrom.h67 struct sock sock; member
Drose.h127 struct sock sock; member
Dvxlan.h186 struct socket *sock; member
Dcfg80211.h2978 struct socket *sock; member
/include/linux/
Dnetfilter.h145 struct sock *sk, in nf_hook_state_init()
209 struct sock *sk, struct sk_buff *skb, in nf_hook()
279 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_COND()
293 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, in NF_HOOK()
304 NF_HOOK_LIST(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_LIST()
396 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_COND()
405 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK()
413 NF_HOOK_LIST(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_LIST()
421 struct sock *sk, struct sk_buff *skb, in nf_hook()
Dmroute.h26 static inline int ip_mroute_setsockopt(struct sock *sock, int optname, in ip_mroute_setsockopt()
32 static inline int ip_mroute_getsockopt(struct sock *sock, int optname, in ip_mroute_getsockopt()
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.h1410 static inline int security_unix_stream_connect(struct sock *sock, in security_unix_stream_connect()
1417 static inline int security_unix_may_send(struct socket *sock, in security_unix_may_send()
1429 static inline int security_socket_post_create(struct socket *sock, in security_socket_post_create()
1443 static inline int security_socket_bind(struct socket *sock, in security_socket_bind()
1450 static inline int security_socket_connect(struct socket *sock, in security_socket_connect()
1457 static inline int security_socket_listen(struct socket *sock, int backlog) in security_socket_listen()
1462 static inline int security_socket_accept(struct socket *sock, in security_socket_accept()
1468 static inline int security_socket_sendmsg(struct socket *sock, in security_socket_sendmsg()
1474 static inline int security_socket_recvmsg(struct socket *sock, in security_socket_recvmsg()
1481 static inline int security_socket_getsockname(struct socket *sock) in security_socket_getsockname()
[all …]
Dbpf-cgroup.h382 #define BPF_CGROUP_RUN_PROG_SETSOCKOPT(sock, level, optname, optval, optlen, \ argument
402 #define BPF_CGROUP_RUN_PROG_GETSOCKOPT(sock, level, optname, optval, optlen, \ argument
494 #define BPF_CGROUP_RUN_PROG_GETSOCKOPT(sock, level, optname, optval, \ argument
496 #define BPF_CGROUP_RUN_PROG_SETSOCKOPT(sock, level, optname, optval, optlen, \ argument
Dif_tap.h64 struct socket sock; member
Dnet.h249 #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.h26 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/linux/ceph/
Dmessenger.h262 struct socket *sock; member
/include/net/bluetooth/
Drfcomm.h157 struct socket *sock; member
/include/target/iscsi/
Discsi_target_core.h556 struct socket *sock; member