Searched refs:sock (Results 326 - 350 of 1088) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/infiniband/hw/erdma/
H A Derdma_cm.c14 #include <trace/events/sock.h>
22 static void erdma_cm_llp_state_change(struct sock *sk);
23 static void erdma_cm_llp_data_ready(struct sock *sk);
24 static void erdma_cm_llp_error_report(struct sock *sk);
26 static void erdma_sk_assign_cm_upcalls(struct sock *sk)
35 static void erdma_sk_save_upcalls(struct sock *sk)
46 static void erdma_sk_restore_upcalls(struct sock *sk, struct erdma_cep *cep)
56 struct sock *sk = s->sk;
76 cep->sock = s;
263 getname_local(cep->sock,
369 ksock_recv(struct socket *sock, char *buf, size_t size, int flags) argument
[all...]
/linux-master/net/can/j1939/
H A Dsocket.c25 /* conversion function between struct sock::sk_priority from linux and
55 static inline void j1939_sock_pending_add(struct sock *sk)
62 static int j1939_sock_pending_get(struct sock *sk)
69 void j1939_sock_pending_del(struct sock *sk)
365 static void j1939_sk_sock_destruct(struct sock *sk)
389 /* call generic CAN sock destruct */
393 static int j1939_sk_init(struct sock *sk)
442 static int j1939_sk_bind(struct socket *sock, struct sockaddr *uaddr, int len) argument
445 struct j1939_sock *jsk = j1939_sk(sock->sk);
447 struct sock *s
534 j1939_sk_connect(struct socket *sock, struct sockaddr *uaddr, int len, int flags) argument
601 j1939_sk_getname(struct socket *sock, struct sockaddr *uaddr, int peer) argument
625 j1939_sk_release(struct socket *sock) argument
681 j1939_sk_setsockopt(struct socket *sock, int level, int optname, sockptr_t optval, unsigned int optlen) argument
756 j1939_sk_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) argument
807 j1939_sk_recvmsg(struct socket *sock, struct msghdr *msg, size_t size, int flags) argument
1211 j1939_sk_sendmsg(struct socket *sock, struct msghdr *msg, size_t size) argument
1301 j1939_sk_no_ioctlcmd(struct socket *sock, unsigned int cmd, unsigned long arg) argument
[all...]
/linux-master/net/l2tp/
H A Dl2tp_core.c116 static bool l2tp_sk_is_v6(struct sock *sk)
154 sock_put(tunnel->sock);
166 struct l2tp_tunnel *l2tp_sk_to_tunnel(struct sock *sk)
923 int l2tp_udp_encap_recv(struct sock *sk, struct sk_buff *skb)
943 static void l2tp_udp_encap_err_recv(struct sock *sk, struct sk_buff *skb, int err,
1047 if (l2tp_sk_is_v6(tunnel->sock))
1048 err = inet6_csk_xmit(tunnel->sock, skb, NULL);
1051 err = ip_queue_xmit(tunnel->sock, skb, fl);
1060 struct sock *sk = tunnel->sock;
1287 struct socket *sock = sk->sk_socket; local
1325 struct socket *sock = NULL; local
1503 struct socket *sock; local
[all...]
/linux-master/net/kcm/
H A Dkcmsock.c29 #include <net/sock.h>
31 #include <trace/events/sock.h>
39 static inline struct kcm_sock *kcm_sk(const struct sock *sk)
49 static void report_csk_error(struct sock *csk, int err)
58 struct sock *csk = psock->sk;
117 static int kcm_queue_rcv_skb(struct sock *sk, struct sk_buff *skb);
172 struct sock *sk = skb->sk;
191 static int kcm_queue_rcv_skb(struct sock *sk, struct sk_buff *skb)
253 /* Lower sock lock held */
305 /* Lower sock hel
747 kcm_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) argument
957 kcm_splice_eof(struct socket *sock) argument
970 kcm_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, int flags) argument
1019 kcm_splice_read(struct socket *sock, loff_t *ppos, struct pipe_inode_info *pipe, size_t len, unsigned int flags) argument
1110 kcm_setsockopt(struct socket *sock, int level, int optname, sockptr_t optval, unsigned int optlen) argument
1144 kcm_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) argument
1213 kcm_attach(struct socket *sock, struct socket *csock, struct bpf_prog *prog) argument
1316 kcm_attach_ioctl(struct socket *sock, struct kcm_attach *info) argument
1442 kcm_unattach_ioctl(struct socket *sock, struct kcm_unattach *info) argument
1527 kcm_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument
1672 kcm_release(struct socket *sock) argument
1784 kcm_create(struct net *net, struct socket *sock, int protocol, int kern) argument
[all...]
/linux-master/net/xdp/
H A Dxsk.c785 static int __xsk_generic_xmit(struct sock *sk)
871 static int xsk_generic_xmit(struct sock *sk)
884 static bool xsk_no_wakeup(struct sock *sk)
905 static int __xsk_sendmsg(struct socket *sock, struct msghdr *m, size_t total_len) argument
908 struct sock *sk = sock->sk;
939 static int xsk_sendmsg(struct socket *sock, struct msghdr *m, size_t total_len) argument
944 ret = __xsk_sendmsg(sock, m, total_len);
950 static int __xsk_recvmsg(struct socket *sock, struct msghdr *m, size_t len, int flags) argument
953 struct sock *s
976 xsk_recvmsg(struct socket *sock, struct msghdr *m, size_t len, int flags) argument
987 xsk_poll(struct file *file, struct socket *sock, struct poll_table_struct *wait) argument
1098 xsk_release(struct socket *sock) argument
1138 struct socket *sock; local
1158 xsk_bind(struct socket *sock, struct sockaddr *addr, int addr_len) argument
1204 struct socket *sock; local
1342 xsk_setsockopt(struct socket *sock, int level, int optname, sockptr_t optval, unsigned int optlen) argument
1461 xsk_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) argument
1592 xsk_mmap(struct file *file, struct socket *sock, struct vm_area_struct *vma) argument
1699 xsk_create(struct net *net, struct socket *sock, int protocol, int kern) argument
[all...]
/linux-master/net/sctp/
H A Dobjcnt.c31 SCTP_DBG_OBJCNT(sock); variable
46 SCTP_DBG_OBJCNT_ENTRY(sock),
/linux-master/drivers/net/wireguard/
H A Dsocket.h15 void wg_socket_reinit(struct wg_device *wg, struct sock *new4,
16 struct sock *new6);
/linux-master/include/net/
H A Dcls_cgroup.h14 #include <net/sock.h>
67 struct sock *sk = skb_to_full_sk(skb);
H A Dcompat.h6 struct sock;
55 int cmsghdr_from_user_compat_to_kern(struct msghdr *, struct sock *,
/linux-master/net/ipv4/
H A Dxfrm4_output.c17 static int __xfrm4_output(struct net *net, struct sock *sk, struct sk_buff *skb)
31 int xfrm4_output(struct net *net, struct sock *sk, struct sk_buff *skb)
H A Dtcp_vegas.c71 static void vegas_enable(struct sock *sk)
87 static inline void vegas_disable(struct sock *sk)
94 void tcp_vegas_init(struct sock *sk)
111 void tcp_vegas_pkts_acked(struct sock *sk, const struct ack_sample *sample)
134 void tcp_vegas_state(struct sock *sk, u8 ca_state)
152 void tcp_vegas_cwnd_event(struct sock *sk, enum tcp_ca_event event)
165 static void tcp_vegas_cong_avoid(struct sock *sk, u32 ack, u32 acked)
291 size_t tcp_vegas_get_info(struct sock *sk, u32 ext, int *attr,
H A Dtcp_illinois.c57 static void rtt_reset(struct sock *sk)
69 static void tcp_illinois_init(struct sock *sk)
86 static void tcp_illinois_acked(struct sock *sk, const struct ack_sample *sample)
222 static void update_params(struct sock *sk)
244 static void tcp_illinois_state(struct sock *sk, u8 new_state)
260 static void tcp_illinois_cong_avoid(struct sock *sk, u32 ack, u32 acked)
295 static u32 tcp_illinois_ssthresh(struct sock *sk)
307 static size_t tcp_illinois_info(struct sock *sk, u32 ext, int *attr,
H A Draw_diag.c37 static bool raw_lookup(struct net *net, const struct sock *sk,
57 static struct sock *raw_sock_get(struct net *net, const struct inet_diag_req_v2 *r)
61 struct sock *sk;
94 struct sock *sk;
126 static int sk_diag_dump(struct sock *sk, struct sk_buff *skb,
146 struct sock *sk = NULL;
191 static void raw_diag_get_info(struct sock *sk, struct inet_diag_msg *r,
203 struct sock *sk;
/linux-master/include/linux/
H A Datmdev.h13 #include <net/sock.h>
93 /* struct sock has to be the first member of atm_vcc */
94 struct sock sk;
125 static inline struct atm_vcc *atm_sk(struct sock *sk)
130 static inline struct atm_vcc *ATM_SD(struct socket *sock) argument
132 return atm_sk(sock->sk);
135 static inline struct sock *sk_atm(struct atm_vcc *vcc)
137 return (struct sock *)vcc;
233 void vcc_insert_socket(struct sock *sk);
240 * Because ATM skbs may not belong to a sock (an
[all...]
/linux-master/lib/
H A Ddebug_info.c26 #include <net/sock.h>
/linux-master/net/nfc/
H A Daf_nfc.c18 static int nfc_sock_create(struct net *net, struct socket *sock, int proto, argument
31 rc = proto_tab[proto]->create(net, sock, proto_tab[proto], kern);
/linux-master/net/smc/
H A Dsmc_pnet.h61 void smc_pnet_find_roce_resource(struct sock *sk, struct smc_init_info *ini);
62 void smc_pnet_find_ism_resource(struct sock *sk, struct smc_init_info *ini);
/linux-master/tools/power/x86/intel-speed-select/
H A Dhfi-events.c246 struct nl_sock *sock; local
256 sock = nl_socket_alloc();
257 if (!sock) {
262 if (genl_connect(sock)) {
267 drv.nl_handle = sock;
281 if (nl_socket_add_membership(sock, mcast_id)) {
292 err = nl_recvmsgs(sock, cb);
300 nl_socket_free(sock);
/linux-master/net/bridge/
H A Dbr_nf_core.c24 static void fake_update_pmtu(struct dst_entry *dst, struct sock *sk,
30 static void fake_redirect(struct dst_entry *dst, struct sock *sk,
/linux-master/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_setsockopt.c14 sk = (struct sock *)tp; \
44 struct sock *sk;
/linux-master/net/dccp/
H A Dproto.c25 #include <net/sock.h>
78 void dccp_set_state(struct sock *sk, const int state)
118 static void dccp_finish_passive_close(struct sock *sk)
136 void dccp_done(struct sock *sk)
174 void dccp_destruct_common(struct sock *sk)
183 static void dccp_sk_destruct(struct sock *sk)
189 int dccp_init_sock(struct sock *sk, const __u8 ctl_sock_initialized)
220 void dccp_destroy_sock(struct sock *sk)
256 int dccp_disconnect(struct sock *sk, int flags)
315 __poll_t dccp_poll(struct file *file, struct socket *sock, argument
920 inet_dccp_listen(struct socket *sock, int backlog) argument
[all...]
H A Dtimer.c20 static void dccp_write_err(struct sock *sk)
31 static int dccp_write_timeout(struct sock *sk)
83 static void dccp_retransmit_timer(struct sock *sk)
89 * sent, no need to retransmit, this sock is dead.
128 struct sock *sk = &icsk->icsk_inet.sk;
163 struct sock *sk = from_timer(sk, t, sk_timer);
174 struct sock *sk = &icsk->icsk_inet.sk;
225 struct sock *sk = &dp->dccps_inet_connection.icsk_inet.sk;
243 void dccp_init_xmit_timers(struct sock *sk)
/linux-master/include/net/netns/
H A Dxfrm.h62 struct sock *nlsk;
63 struct sock *nlsk_stash;
/linux-master/net/core/
H A Drequest_sock.c88 void reqsk_fastopen_remove(struct sock *sk, struct request_sock *req,
91 struct sock *lsk = req->rsk_listener;
/linux-master/net/netrom/
H A Dnr_subr.c20 #include <net/sock.h>
31 void nr_clear_queues(struct sock *sk)
46 void nr_frames_acked(struct sock *sk, unsigned short nr)
68 void nr_requeue_frames(struct sock *sk)
85 int nr_validate_nr(struct sock *sk, unsigned short nr)
101 int nr_in_rx_window(struct sock *sk, unsigned short ns)
119 void nr_write_internal(struct sock *sk, int frametype)
261 void nr_disconnect(struct sock *sk, int reason)

Completed in 217 milliseconds

<<11121314151617181920>>