/linux-master/net/sctp/ |
H A D | protocol.c | 148 * sock as well as the remote peer. 176 static void sctp_v4_copy_ip_options(struct sock *sk, struct sock *newsk) 199 static int sctp_v4_ip_options_len(struct sock *sk) 235 static void sctp_v4_from_sk(union sctp_addr *addr, struct sock *sk) 244 static void sctp_v4_to_sk_saddr(union sctp_addr *addr, struct sock *sk) 250 static void sctp_v4_to_sk_daddr(union sctp_addr *addr, struct sock *sk) 354 struct sock *sk = &sp->inet.sk; 418 struct flowi *fl, struct sock *sk) 581 static struct sock *sctp_v4_create_accept_s 867 struct socket *sock; local [all...] |
H A D | ipv6.c | 130 struct sock *sk = asoc->base.sk; 168 struct sock *sk; 190 int sctp_udp_v6_err(struct sock *sk, struct sk_buff *skb) 224 struct sock *sk = skb->sk; 273 struct flowi *fl, struct sock *sk) 489 static void sctp_v6_copy_ip_options(struct sock *sk, struct sock *newsk) 508 static int sctp_v6_ip_options_len(struct sock *sk) 545 static void sctp_v6_from_sk(union sctp_addr *addr, struct sock *sk) 553 static void sctp_v6_to_sk_saddr(union sctp_addr *addr, struct sock *s 1061 sctp_getname(struct socket *sock, struct sockaddr *uaddr, int peer) argument [all...] |
/linux-master/net/sched/ |
H A D | sch_taprio.c | 28 #include <net/sock.h>
|
H A D | sch_hhf.c | 14 #include <net/sock.h>
|
H A D | sch_fq.c | 49 #include <net/sock.h> 84 struct sock *sk; 259 struct sock *sk) 315 const struct sock *sk; 352 struct sock *sk = skb->sk; 371 sk = (struct sock *)((hash << 1) | 1UL); 383 sk = (struct sock *)((hash << 1) | 1UL);
|
H A D | sch_etf.c | 21 #include <net/sock.h> 79 struct sock *sk = nskb->sk; 140 struct sock *sk = skb->sk;
|
H A D | sch_api.c | 30 #include <net/sock.h>
|
H A D | cls_api.c | 27 #include <net/sock.h>
|
/linux-master/net/rxrpc/ |
H A D | sysctl.c | 9 #include <net/sock.h>
|
H A D | af_rxrpc.c | 20 #include <net/sock.h> 46 static void rxrpc_sock_destructor(struct sock *); 51 static inline int rxrpc_writable(struct sock *sk) 59 static void rxrpc_write_space(struct sock *sk) 130 static int rxrpc_bind(struct socket *sock, struct sockaddr *saddr, int len) argument 134 struct rxrpc_sock *rx = rxrpc_sk(sock->sk); 210 static int rxrpc_listen(struct socket *sock, int backlog) argument 212 struct sock *sk = sock->sk; 263 * @sock 270 rxrpc_kernel_lookup_peer(struct socket *sock, struct sockaddr_rxrpc *srx, gfp_t gfp) argument 328 rxrpc_kernel_begin_call(struct socket *sock, struct rxrpc_peer *peer, struct key *key, unsigned long user_call_ID, s64 tx_total_len, u32 hard_timeout, gfp_t gfp, rxrpc_notify_rx_t notify_rx, u16 service_id, bool upgrade, enum rxrpc_interruptibility interruptibility, unsigned int debug_id) argument 401 rxrpc_kernel_shutdown_call(struct socket *sock, struct rxrpc_call *call) argument 427 rxrpc_kernel_put_call(struct socket *sock, struct rxrpc_call *call) argument 441 rxrpc_kernel_check_life(const struct socket *sock, const struct rxrpc_call *call) argument 460 rxrpc_kernel_get_epoch(struct socket *sock, struct rxrpc_call *call) argument 474 rxrpc_kernel_new_call_notification( struct socket *sock, rxrpc_notify_new_call_t notify_new_call, rxrpc_discard_new_call_t discard_new_call) argument 495 rxrpc_kernel_set_max_life(struct socket *sock, struct rxrpc_call *call, unsigned long hard_timeout) argument 516 rxrpc_connect(struct socket *sock, struct sockaddr *addr, int addr_len, int flags) argument 567 rxrpc_sendmsg(struct socket *sock, struct msghdr *m, size_t len) argument 658 rxrpc_setsockopt(struct socket *sock, int level, int optname, sockptr_t optval, unsigned int optlen) argument 757 rxrpc_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *_optlen) argument 785 rxrpc_poll(struct file *file, struct socket *sock, poll_table *wait) argument 812 rxrpc_create(struct net *net, struct socket *sock, int protocol, int kern) argument 865 rxrpc_shutdown(struct socket *sock, int flags) argument 968 rxrpc_release(struct socket *sock) argument [all...] |
/linux-master/net/rds/ |
H A D | tcp.c | 102 void rds_tcp_restore_callbacks(struct socket *sock, argument 105 rdsdebug("restoring sock %p callbacks from tc %p\n", sock, tc); 106 write_lock_bh(&sock->sk->sk_callback_lock); 120 sock->sk->sk_write_space = tc->t_orig_write_space; 121 sock->sk->sk_data_ready = tc->t_orig_data_ready; 122 sock->sk->sk_state_change = tc->t_orig_state_change; 123 sock->sk->sk_user_data = NULL; 125 write_unlock_bh(&sock->sk->sk_callback_lock); 129 * rds_tcp_reset_callbacks() switches the to the new sock an 137 rds_tcp_reset_callbacks(struct socket *sock, struct rds_conn_path *cp) argument 192 rds_tcp_set_callbacks(struct socket *sock, struct rds_conn_path *cp) argument 276 rds6_tcp_tc_info(struct socket *sock, unsigned int len, struct rds_info_iterator *iter, struct rds_info_lengths *lens) argument 489 rds_tcp_tune(struct socket *sock) argument [all...] |
/linux-master/net/qrtr/ |
H A D | mhi.c | 10 #include <net/sock.h>
|
/linux-master/net/psample/ |
H A D | psample.c | 13 #include <net/sock.h>
|
/linux-master/net/phonet/ |
H A D | pn_netlink.c | 17 #include <net/sock.h>
|
H A D | sysctl.c | 17 #include <net/sock.h>
|
/linux-master/net/netlink/ |
H A D | genetlink.c | 22 #include <net/sock.h> 685 struct sock *sk) 697 static void genl_release(struct sock *sk, unsigned long *groups) 723 void *__genl_sk_priv_get(struct genl_family *family, struct sock *sk) 742 void *genl_sk_priv_get(struct genl_family *family, struct sock *sk) 1985 struct sock *sk = net->genl_sock;
|
H A D | af_netlink.c | 68 #include <net/sock.h> 85 static inline int netlink_is_kernel(struct sock *sk) 133 static int netlink_dump(struct sock *sk, bool lock_taken); 265 struct sock *sk = skb->sk; 289 struct sock *sk = skb->sk; 343 static void netlink_deliver_tap_kernel(struct sock *dst, struct sock *src, 350 static void netlink_overrun(struct sock *sk) 362 static void netlink_rcv_wake(struct sock *sk) 385 static void netlink_skb_set_owner_r(struct sk_buff *skb, struct sock *s 638 __netlink_create(struct net *net, struct socket *sock, struct mutex *dump_cb_mutex, int protocol, int kern) argument 666 netlink_create(struct net *net, struct socket *sock, int protocol, int kern) argument 747 netlink_release(struct socket *sock) argument 831 netlink_autobind(struct socket *sock) argument 935 netlink_allowed(const struct socket *sock, unsigned int flag) argument 1000 netlink_bind(struct socket *sock, struct sockaddr *addr, int addr_len) argument 1088 netlink_connect(struct socket *sock, struct sockaddr *addr, int alen, int flags) argument 1135 netlink_getname(struct socket *sock, struct sockaddr *addr, int peer) argument 1159 netlink_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument 1169 struct sock *sock; local 1190 struct sock *sock; local 1653 netlink_setsockopt(struct socket *sock, int level, int optname, sockptr_t optval, unsigned int optlen) argument 1729 netlink_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) argument 1823 netlink_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) argument 1912 netlink_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, int flags) argument 2015 struct socket *sock; local [all...] |
/linux-master/net/netlabel/ |
H A D | netlabel_kapi.c | 979 int netlbl_sock_setattr(struct sock *sk, 1048 void netlbl_sock_delattr(struct sock *sk) 1063 * netlbl_sock_getattr - Determine the security attributes of a sock 1064 * @sk: the sock 1068 * Examines the given sock to see if any NetLabel style labeling has been 1069 * applied to the sock, if so it parses the socket label and returns the 1074 int netlbl_sock_getattr(struct sock *sk, 1104 bool netlbl_sk_lock_check(struct sock *sk) 1111 bool netlbl_sk_lock_check(struct sock *sk) 1129 int netlbl_conn_setattr(struct sock *s [all...] |
/linux-master/net/netfilter/ |
H A D | nfnetlink.c | 26 #include <net/sock.h> 53 struct sock *nfnl;
|
H A D | nf_tables_api.c | 24 #include <net/sock.h> 1092 static int nft_netlink_dump_start_rcu(struct sock *nlsk, struct sk_buff *skb,
|
/linux-master/net/netfilter/ipvs/ |
H A D | ip_vs_xmit.c | 207 struct sock *sk = skb->sk;
|
H A D | ip_vs_ctl.c | 43 #include <net/sock.h> 2690 do_ip_vs_set_ctl(struct sock *sk, int cmd, sockptr_t ptr, unsigned int len) 3013 do_ip_vs_get_ctl(struct sock *sk, int cmd, void __user *user, int *len)
|
H A D | ip_vs_core.c | 1338 struct sock *sk; 1920 struct sock *sk;
|
/linux-master/net/mptcp/ |
H A D | subflow.c | 14 #include <net/sock.h> 28 #include <trace/events/sock.h> 30 static void mptcp_subflow_ops_undo_override(struct sock *ssk); 45 sock_put((struct sock *)subflow_req->msk); 99 sock_put((struct sock *)msk); 107 static void subflow_init_req(struct request_sock *req, const struct sock *sk_listener) 119 static bool subflow_use_different_sport(struct mptcp_sock *msk, const struct sock *sk) 121 return inet_sk(sk)->inet_sport != inet_sk((struct sock *)msk)->inet_sport; 140 const struct sock *sk_listener, 222 ntohs(inet_sk((struct sock *)subflow_re [all...] |
H A D | sockopt.c | 11 #include <net/sock.h> 20 static struct sock *__mptcp_tcp_fallback(struct mptcp_sock *msk) 30 static u32 sockopt_seq_reset(const struct sock *sk) 55 msk->setsockopt_seq = sockopt_seq_reset((struct sock *)msk) + seq; 73 struct sock *sk = (struct sock *)msk; 79 struct sock *ssk = mptcp_subflow_tcp_sock(subflow); 126 struct sock *sk = (struct sock *)msk; 140 struct sock *s [all...] |