/linux-master/net/ipv4/ |
H A D | fou_core.c | 25 struct socket *sock; member in struct:fou 51 static inline struct fou *fou_from_sock(struct sock *sk) 73 static int fou_udp_recv(struct sock *sk, struct sk_buff *skb) 120 static int gue_udp_recv(struct sock *sk, struct sk_buff *skb) 231 static struct sk_buff *fou_gro_receive(struct sock *sk, 262 static int fou_gro_complete(struct sock *sk, struct sk_buff *skb, 306 static struct sk_buff *gue_gro_receive(struct sock *sk, 448 static int gue_gro_complete(struct sock *sk, struct sk_buff *skb, int nhoff) 493 struct sock *sk = fou->sock 543 struct socket *sock = fou->sock; local 554 struct socket *sock = NULL; local [all...] |
H A D | tcp_cong.c | 37 void tcp_set_ca_state(struct sock *sk, const u8 ca_state) 215 void tcp_assign_congestion_control(struct sock *sk) 235 void tcp_init_congestion_control(struct sock *sk) 249 static void tcp_reinit_congestion_control(struct sock *sk, 269 void tcp_cleanup_congestion_control(struct sock *sk) 410 int tcp_set_congestion_control(struct sock *sk, const char *name, bool load, 494 __bpf_kfunc void tcp_reno_cong_avoid(struct sock *sk, u32 ack, u32 acked) 513 __bpf_kfunc u32 tcp_reno_ssthresh(struct sock *sk) 521 __bpf_kfunc u32 tcp_reno_undo_cwnd(struct sock *sk)
|
H A D | tcp_bic.c | 70 static void bictcp_init(struct sock *sk) 140 static void bictcp_cong_avoid(struct sock *sk, u32 ack, u32 acked) 161 static u32 bictcp_recalc_ssthresh(struct sock *sk) 181 static void bictcp_state(struct sock *sk, u8 new_state) 190 static void bictcp_acked(struct sock *sk, const struct ack_sample *sample)
|
H A D | tcp_diag.c | 18 static void tcp_diag_get_info(struct sock *sk, struct inet_diag_msg *r, 85 static int tcp_diag_put_ulp(struct sk_buff *skb, struct sock *sk, 112 static int tcp_diag_get_aux(struct sock *sk, bool net_admin, 144 static size_t tcp_diag_get_aux_size(struct sock *sk, bool net_admin) 207 struct sock *sk;
|
H A D | tcp_yeah.c | 41 static void tcp_yeah_init(struct sock *sk) 58 static void tcp_yeah_cong_avoid(struct sock *sk, u32 ack, u32 acked) 187 static u32 tcp_yeah_ssthresh(struct sock *sk)
|
/linux-master/net/ipv6/ |
H A D | raw.c | 36 #include <net/sock.h> 67 bool raw_v6_match(struct net *net, const struct sock *sk, unsigned short num, 93 static int icmpv6_filter(const struct sock *sk, const struct sk_buff *skb) 113 typedef int mh_filter_t(struct sock *sock, struct sk_buff *skb); 136 * (should consider queueing the skb in the sock receive_queue 147 struct sock *sk; 217 static int rawv6_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len) 297 static void rawv6_err(struct sock *sk, struct sk_buff *skb, 340 struct sock *s [all...] |
/linux-master/security/ |
H A D | security.c | 4131 int security_netlink_send(struct sock *sk, struct sk_buff *skb) 4310 * @sock: originating sock 4311 * @other: peer sock 4312 * @newsk: new sock 4315 * between @sock and @other. 4329 int security_unix_stream_connect(struct sock *sock, struct sock *other, argument 4330 struct sock *news 4356 security_unix_may_send(struct socket *sock, struct socket *other) argument 4396 security_socket_post_create(struct socket *sock, int family, int type, int protocol, int kern) argument 4431 security_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen) argument 4448 security_socket_connect(struct socket *sock, struct sockaddr *address, int addrlen) argument 4463 security_socket_listen(struct socket *sock, int backlog) argument 4479 security_socket_accept(struct socket *sock, struct socket *newsock) argument 4494 security_socket_sendmsg(struct socket *sock, struct msghdr *msg, int size) argument 4510 security_socket_recvmsg(struct socket *sock, struct msghdr *msg, int size, int flags) argument 4525 security_socket_getsockname(struct socket *sock) argument 4538 security_socket_getpeername(struct socket *sock) argument 4554 security_socket_getsockopt(struct socket *sock, int level, int optname) argument 4569 security_socket_setsockopt(struct socket *sock, int level, int optname) argument 4584 security_socket_shutdown(struct socket *sock, int how) argument 4622 security_socket_getpeersec_stream(struct socket *sock, sockptr_t optval, sockptr_t optlen, unsigned int len) argument 4643 security_socket_getpeersec_dgram(struct socket *sock, struct sk_buff *skb, u32 *secid) argument [all...] |
/linux-master/net/x25/ |
H A D | x25_in.c | 28 #include <net/sock.h> 32 static int x25_queue_rx_frame(struct sock *sk, struct sk_buff *skb, int more) 87 static int x25_state1_machine(struct sock *sk, struct sk_buff *skb, int frametype) 175 static int x25_state2_machine(struct sock *sk, struct sk_buff *skb, int frametype) 208 static int x25_state3_machine(struct sock *sk, struct sk_buff *skb, int frametype, int ns, int nr, int q, int d, int m) 344 static int x25_state4_machine(struct sock *sk, struct sk_buff *skb, int frametype) 390 static int x25_state5_machine(struct sock *sk, struct sk_buff *skb, int frametype) 415 int x25_process_rx_frame(struct sock *sk, struct sk_buff *skb) 448 int x25_backlog_rcv(struct sock *sk, struct sk_buff *skb)
|
H A D | x25_out.c | 25 #include <net/sock.h> 47 int x25_output(struct sock *sk, struct sk_buff *skb) 116 static void x25_send_iframe(struct sock *sk, struct sk_buff *skb) 136 void x25_kick(struct sock *sk) 213 void x25_enquiry_response(struct sock *sk)
|
/linux-master/net/bluetooth/ |
H A D | mgmt_util.c | 76 struct sock *skip_sk) 112 void *data, u16 data_len, int flag, struct sock *skip_sk) 126 int mgmt_cmd_status(struct sock *sk, u16 index, u16 cmd, u8 status) 133 BT_DBG("sock %p, index %u, cmd %u, status %u", sk, index, cmd, status); 169 int mgmt_cmd_complete(struct sock *sk, u16 index, u16 cmd, u8 status, 177 BT_DBG("sock %p", sk); 263 struct mgmt_pending_cmd *mgmt_pending_new(struct sock *sk, u16 opcode, 290 struct mgmt_pending_cmd *mgmt_pending_add(struct sock *sk, u16 opcode, 320 void *data, struct sock *sk) 330 struct mgmt_mesh_tx *mgmt_mesh_next(struct hci_dev *hdev, struct sock *s [all...] |
/linux-master/net/rxrpc/ |
H A D | recvmsg.c | 15 #include <net/sock.h> 26 struct sock *sk; 163 static int rxrpc_recvmsg_data(struct socket *sock, struct rxrpc_call *call, argument 203 sock_recv_timestamp(msg, sock->sk, skb); 278 int rxrpc_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, argument 282 struct rxrpc_sock *rx = rxrpc_sk(sock->sk); 403 ret = rxrpc_recvmsg_data(sock, call, msg, &msg->msg_iter, len, 471 * @sock: The socket that the call exists on 489 int rxrpc_kernel_recv_data(struct socket *sock, struct rxrpc_call *call, argument 500 ret = rxrpc_recvmsg_data(sock, cal [all...] |
/linux-master/include/net/ |
H A D | route.h | 38 static inline __u8 ip_sock_rt_scope(const struct sock *sk) 46 static inline __u8 ip_sock_rt_tos(const struct sock *sk) 144 const struct sock *sk); 173 const struct sock *sk, 228 void ipv4_sk_update_pmtu(struct sk_buff *skb, struct sock *sk, u32 mtu); 230 void ipv4_sk_redirect(struct sk_buff *skb, struct sock *sk); 304 const struct sock *sk) 319 const struct sock *sk) 340 const struct sock *sk)
|
H A D | strparser.h | 12 #include <net/sock.h> 90 struct sock *sk; 163 int strp_init(struct strparser *strp, struct sock *sk,
|
/linux-master/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
H A D | chtls_cm.h | 110 static inline unsigned int sk_in_state(const struct sock *sk, 143 static inline void sk_wakeup_sleepers(struct sock *sk, bool interruptable) 172 static inline void chtls_free_skb(struct sock *sk, struct sk_buff *skb) 179 static inline void chtls_kfree_skb(struct sock *sk, struct sk_buff *skb) 205 static inline struct sk_buff *dequeue_wr(struct sock *sk)
|
H A D | chtls_io.c | 43 static int nos_ivs(struct sock *sk, unsigned int size) 50 static int set_ivs_imm(struct sock *sk, const struct sk_buff *skb) 64 static int max_ivs_size(struct sock *sk, int size) 69 static int ivs_size(struct sock *sk, const struct sk_buff *skb) 89 static struct sk_buff *create_flowc_wr_skb(struct sock *sk, 106 static int send_flowc_wr(struct sock *sk, struct fw_flowc_wr *flowc, 159 int send_tx_flowc_wr(struct sock *sk, int compl, 219 static int tls_copy_ivs(struct sock *sk, struct sk_buff *skb) 276 static void tls_copy_tx_key(struct sock *sk, struct sk_buff *skb) 340 static void tls_tx_data_wr(struct sock *s 1243 chtls_splice_eof(struct socket *sock) argument [all...] |
/linux-master/net/netfilter/ |
H A D | nft_socket.c | 20 struct nft_regs *regs, struct sock *sk, 40 nft_sock_get_eval_cgroupv2(u32 *dest, struct sock *sk, const struct nft_pktinfo *pkt, u32 level) 58 static struct sock *nft_socket_do_lookup(const struct nft_pktinfo *pkt) 62 struct sock *sk = NULL; 90 struct sock *sk = skb->sk;
|
/linux-master/net/dccp/ |
H A D | ipv4.c | 21 #include <net/sock.h> 35 struct sock *v4_ctl_sk; 42 * the Out-of-the-blue (OOTB) packets. A control sock will be created 46 int dccp_v4_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len) 158 static inline void dccp_do_pmtu_discovery(struct sock *sk, 201 static void dccp_do_redirect(struct sk_buff *skb, struct sock *sk) 209 void dccp_req_err(struct sock *sk, u64 seq) 253 struct sock *sk; 382 void dccp_v4_send_check(struct sock *sk, struct sk_buff *skb) 408 struct sock *dccp_v4_request_recv_soc [all...] |
/linux-master/drivers/pcmcia/ |
H A D | yenta_socket.c | 213 static int yenta_get_status(struct pcmcia_socket *sock, unsigned int *value) argument 215 struct yenta_socket *socket = container_of(sock, struct yenta_socket, socket); 330 static int yenta_set_socket(struct pcmcia_socket *sock, socket_state_t *state) argument 332 struct yenta_socket *socket = container_of(sock, struct yenta_socket, socket); 391 if (sock->zoom_video) 392 sock->zoom_video(sock, state->flags & SS_ZVCARD); 405 static int yenta_set_io_map(struct pcmcia_socket *sock, struct pccard_io_map *io) argument 407 struct yenta_socket *socket = container_of(sock, struct yenta_socket, socket); 442 static int yenta_set_mem_map(struct pcmcia_socket *sock, struc argument 580 yenta_sock_init(struct pcmcia_socket *sock) argument 601 yenta_sock_suspend(struct pcmcia_socket *sock) argument 802 struct yenta_socket *sock = pci_get_drvdata(dev); local [all...] |
H A D | tcic.c | 363 int i, sock, ret = 0; local 370 sock = 0; 381 if (tcic_getw(TCIC_ADDR) == 0xc3a5) sock = 2; 383 if (sock == 0) { 390 if (tcic_getw(TCIC_ADDR) == 0xc3a5) sock = 2; 394 if (sock == 0) { 402 for (i = 0; i < sock; i++) { 593 static int tcic_get_status(struct pcmcia_socket *sock, u_int *value) argument 595 u_short psock = container_of(sock, struct tcic_socket, socket)->psock; 613 dev_dbg(&sock 619 tcic_set_socket(struct pcmcia_socket *sock, socket_state_t *state) argument 694 tcic_set_io_map(struct pcmcia_socket *sock, struct pccard_io_map *io) argument 731 tcic_set_mem_map(struct pcmcia_socket *sock, struct pccard_mem_map *mem) argument [all...] |
/linux-master/net/bluetooth/rfcomm/ |
H A D | core.c | 38 #include <trace/events/sock.h> 183 static void rfcomm_l2state_change(struct sock *sk) 189 static void rfcomm_l2data_ready(struct sock *sk) 197 static int rfcomm_l2sock_create(struct socket **sock) argument 203 err = sock_create_kern(&init_net, PF_BLUETOOTH, SOCK_SEQPACKET, BTPROTO_L2CAP, sock); 205 struct sock *sk = (*sock)->sk; 214 struct sock *sk = d->session->sock->sk; 681 static struct rfcomm_session *rfcomm_session_add(struct socket *sock, in argument 770 struct socket *sock; local 1134 struct socket *sock = s->sock; local 1935 struct socket *sock = s->sock; local 1961 struct socket *sock = s->sock, *nsock; local 2052 struct socket *sock; local [all...] |
/linux-master/net/tls/ |
H A D | tls_device.c | 124 static struct net_device *get_netdev_for_sock(struct sock *sk) 160 static void tls_icsk_clean_acked(struct sock *sk, u32 acked_seq) 195 void tls_device_sk_destruct(struct sock *sk) 214 void tls_device_free_resources_tx(struct sock *sk) 221 void tls_offload_tx_resync_request(struct sock *sk, u32 got_seq, u32 exp_seq) 230 static void tls_device_resync_tx(struct sock *sk, struct tls_context *tls_ctx, 281 static int tls_push_record(struct sock *sk, 315 static void tls_device_record_close(struct sock *sk, 368 static int tls_do_allocation(struct sock *sk, 422 static int tls_push_data(struct sock *s 593 tls_device_splice_eof(struct socket *sock) argument [all...] |
/linux-master/net/rds/ |
H A D | connection.c | 534 static void rds_conn_message_info_cmn(struct socket *sock, unsigned int len, argument 600 static void rds_conn_message_info(struct socket *sock, unsigned int len, argument 605 rds_conn_message_info_cmn(sock, len, iter, lens, want_send, false); 609 static void rds6_conn_message_info(struct socket *sock, unsigned int len, argument 614 rds_conn_message_info_cmn(sock, len, iter, lens, want_send, true); 618 static void rds_conn_message_info_send(struct socket *sock, unsigned int len, argument 622 rds_conn_message_info(sock, len, iter, lens, 1); 626 static void rds6_conn_message_info_send(struct socket *sock, unsigned int len, argument 630 rds6_conn_message_info(sock, len, iter, lens, 1); 634 static void rds_conn_message_info_retrans(struct socket *sock, argument 643 rds6_conn_message_info_retrans(struct socket *sock, unsigned int len, struct rds_info_iterator *iter, struct rds_info_lengths *lens) argument 652 rds_for_each_conn_info(struct socket *sock, unsigned int len, struct rds_info_iterator *iter, struct rds_info_lengths *lens, int (*visitor)(struct rds_connection *, void *), u64 *buffer, size_t item_len) argument 690 rds_walk_conn_path_info(struct socket *sock, unsigned int len, struct rds_info_iterator *iter, struct rds_info_lengths *lens, int (*visitor)(struct rds_conn_path *, void *), u64 *buffer, size_t item_len) argument 798 rds_conn_info(struct socket *sock, unsigned int len, struct rds_info_iterator *iter, struct rds_info_lengths *lens) argument 811 rds6_conn_info(struct socket *sock, unsigned int len, struct rds_info_iterator *iter, struct rds_info_lengths *lens) argument [all...] |
/linux-master/include/pcmcia/ |
H A D | ss.h | 149 unsigned int sock; /* socket number */ member in struct:pcmcia_socket 176 int (*power_hook)(struct pcmcia_socket *sock, int operation); 180 void (*tune_bridge)(struct pcmcia_socket *sock, struct pci_bus *bus);
|
/linux-master/net/dccp/ccids/lib/ |
H A D | loss_interval.c | 8 #include <net/sock.h> 139 u32 (*calc_first_li)(struct sock *), struct sock *sk)
|
/linux-master/arch/um/os-Linux/ |
H A D | file.c | 217 struct sockaddr_un sock; local 220 sock.sun_family = AF_UNIX; 221 snprintf(sock.sun_path, sizeof(sock.sun_path), "%s", name); 229 err = connect(fd, (struct sockaddr *) &sock, sizeof(sock)); 548 int sock, err; local 550 sock = socket(PF_UNIX, SOCK_DGRAM, 0); 551 if (sock < 0) 555 err = os_set_exec_close(sock); [all...] |