/linux-4.1.27/net/llc/ |
D | llc_c_ev.c | 75 static u16 llc_util_nr_inside_tx_window(struct sock *sk, u8 nr) in llc_util_nr_inside_tx_window() 99 int llc_conn_ev_conn_req(struct sock *sk, struct sk_buff *skb) in llc_conn_ev_conn_req() 107 int llc_conn_ev_data_req(struct sock *sk, struct sk_buff *skb) in llc_conn_ev_data_req() 115 int llc_conn_ev_disc_req(struct sock *sk, struct sk_buff *skb) in llc_conn_ev_disc_req() 123 int llc_conn_ev_rst_req(struct sock *sk, struct sk_buff *skb) in llc_conn_ev_rst_req() 131 int llc_conn_ev_local_busy_detected(struct sock *sk, struct sk_buff *skb) in llc_conn_ev_local_busy_detected() 139 int llc_conn_ev_local_busy_cleared(struct sock *sk, struct sk_buff *skb) in llc_conn_ev_local_busy_cleared() 147 int llc_conn_ev_rx_bad_pdu(struct sock *sk, struct sk_buff *skb) in llc_conn_ev_rx_bad_pdu() 152 int llc_conn_ev_rx_disc_cmd_pbit_set_x(struct sock *sk, struct sk_buff *skb) in llc_conn_ev_rx_disc_cmd_pbit_set_x() 160 int llc_conn_ev_rx_dm_rsp_fbit_set_x(struct sock *sk, struct sk_buff *skb) in llc_conn_ev_rx_dm_rsp_fbit_set_x() [all …]
|
D | llc_c_ac.c | 45 int llc_conn_ac_clear_remote_busy(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_clear_remote_busy() 61 int llc_conn_ac_conn_ind(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_conn_ind() 69 int llc_conn_ac_conn_confirm(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_conn_confirm() 77 static int llc_conn_ac_data_confirm(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_data_confirm() 85 int llc_conn_ac_data_ind(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_data_ind() 91 int llc_conn_ac_disc_ind(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_disc_ind() 119 int llc_conn_ac_disc_confirm(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_disc_confirm() 128 int llc_conn_ac_rst_ind(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_rst_ind() 167 int llc_conn_ac_rst_confirm(struct sock *sk, struct sk_buff *skb) in llc_conn_ac_rst_confirm() 176 int llc_conn_ac_clear_remote_busy_if_f_eq_1(struct sock *sk, in llc_conn_ac_clear_remote_busy_if_f_eq_1() [all …]
|
D | llc_conn.c | 59 int llc_conn_state_process(struct sock *sk, struct sk_buff *skb) in llc_conn_state_process() 196 void llc_conn_send_pdu(struct sock *sk, struct sk_buff *skb) in llc_conn_send_pdu() 212 void llc_conn_rtn_pdu(struct sock *sk, struct sk_buff *skb) in llc_conn_rtn_pdu() 229 void llc_conn_resend_i_pdu_as_cmd(struct sock *sk, u8 nr, u8 first_p_bit) in llc_conn_resend_i_pdu_as_cmd() 272 void llc_conn_resend_i_pdu_as_rsp(struct sock *sk, u8 nr, u8 first_f_bit) in llc_conn_resend_i_pdu_as_rsp() 312 int llc_conn_remove_acked_pdus(struct sock *sk, u8 nr, u16 *how_many_unacked) in llc_conn_remove_acked_pdus() 346 static void llc_conn_send_pdus(struct sock *sk) in llc_conn_send_pdus() 375 static int llc_conn_service(struct sock *sk, struct sk_buff *skb) in llc_conn_service() 405 static struct llc_conn_state_trans *llc_qualify_conn_ev(struct sock *sk, in llc_qualify_conn_ev() 452 static int llc_exec_conn_trans_actions(struct sock *sk, in llc_exec_conn_trans_actions() [all …]
|
D | af_llc.c | 95 static inline u8 llc_ui_header_len(struct sock *sk, struct sockaddr_llc *addr) in llc_ui_header_len() 115 static int llc_ui_send_data(struct sock* sk, struct sk_buff *skb, int noblock) in llc_ui_send_data() 132 static void llc_ui_sk_init(struct socket *sock, struct sock *sk) in llc_ui_sk_init() 160 struct sock *sk; in llc_ui_create() local 188 struct sock *sk = sock->sk; in llc_ui_release() local 253 struct sock *sk = sock->sk; in llc_ui_autobind() local 306 struct sock *sk = sock->sk; in llc_ui_bind() local 399 struct sock *sk = sock->sk; in llc_ui_shutdown() local 435 struct sock *sk = sock->sk; in llc_ui_connect() local 507 struct sock *sk = sock->sk; in llc_ui_listen() local [all …]
|
D | llc_proc.c | 37 struct sock *sk = NULL; in llc_get_sk_idx() local 70 struct sock *sk = NULL; in laddr_hash_next() local 82 struct sock* sk, *next; in llc_seq_next() local 117 struct sock *sk = v; in llc_seq_stop() local 128 struct sock* sk; in llc_seq_socket_show() local 177 struct sock* sk; in llc_seq_core_show() local
|
D | llc_sap.c | 47 struct sk_buff *llc_alloc_frame(struct sock *sk, struct net_device *dev, in llc_alloc_frame() 69 void llc_save_primitive(struct sock *sk, struct sk_buff *skb, u8 prim) in llc_save_primitive() 287 struct sock *sk) in llc_sap_rcv() 299 const struct sock *sk) in llc_dgram_match() 355 const struct sock *sk) in llc_mcast_match() 395 struct sock *sk, *stack[count]; in llc_sap_mcast() local 432 struct sock *sk = llc_lookup_dgram(sap, &laddr); in llc_sap_handler() local
|
D | llc_if.c | 42 int llc_build_and_send_pkt(struct sock *sk, struct sk_buff *skb) in llc_build_and_send_pkt() 79 int llc_establish_connection(struct sock *sk, u8 *lmac, u8 *dmac, u8 dsap) in llc_establish_connection() 125 int llc_send_disc(struct sock *sk) in llc_send_disc()
|
/linux-4.1.27/net/netrom/ |
D | nr_timer.c | 38 void nr_init_timers(struct sock *sk) in nr_init_timers() 52 void nr_start_t1timer(struct sock *sk) in nr_start_t1timer() 59 void nr_start_t2timer(struct sock *sk) in nr_start_t2timer() 66 void nr_start_t4timer(struct sock *sk) in nr_start_t4timer() 73 void nr_start_idletimer(struct sock *sk) in nr_start_idletimer() 81 void nr_start_heartbeat(struct sock *sk) in nr_start_heartbeat() 86 void nr_stop_t1timer(struct sock *sk) in nr_stop_t1timer() 91 void nr_stop_t2timer(struct sock *sk) in nr_stop_t2timer() 96 void nr_stop_t4timer(struct sock *sk) in nr_stop_t4timer() 101 void nr_stop_idletimer(struct sock *sk) in nr_stop_idletimer() [all …]
|
D | nr_out.c | 35 void nr_output(struct sock *sk, struct sk_buff *skb) in nr_output() 82 static void nr_send_iframe(struct sock *sk, struct sk_buff *skb) in nr_send_iframe() 100 void nr_send_nak_frame(struct sock *sk) in nr_send_nak_frame() 125 void nr_kick(struct sock *sk) in nr_kick() 188 void nr_transmit_buffer(struct sock *sk, struct sk_buff *skb) in nr_transmit_buffer() 223 void nr_establish_data_link(struct sock *sk) in nr_establish_data_link() 241 void nr_enquiry_response(struct sock *sk) in nr_enquiry_response() 259 void nr_check_iframes_acked(struct sock *sk, unsigned short nr) in nr_check_iframes_acked()
|
D | nr_subr.c | 34 void nr_clear_queues(struct sock *sk) in nr_clear_queues() 49 void nr_frames_acked(struct sock *sk, unsigned short nr) in nr_frames_acked() 71 void nr_requeue_frames(struct sock *sk) in nr_requeue_frames() 88 int nr_validate_nr(struct sock *sk, unsigned short nr) in nr_validate_nr() 104 int nr_in_rx_window(struct sock *sk, unsigned short ns) in nr_in_rx_window() 122 void nr_write_internal(struct sock *sk, int frametype) in nr_write_internal() 262 void nr_disconnect(struct sock *sk, int reason) in nr_disconnect()
|
D | af_netrom.c | 94 static void nr_remove_socket(struct sock *sk) in nr_remove_socket() 137 static void nr_insert_socket(struct sock *sk) in nr_insert_socket() 218 struct sock *sk; in nr_find_next_circuit() local 246 struct sock *sk=(struct sock *)data; in nr_destroy_timer() local 260 void nr_destroy_socket(struct sock *sk) in nr_destroy_socket() 302 struct sock *sk = sock->sk; in nr_setsockopt() local 354 struct sock *sk = sock->sk; in nr_getsockopt() local 403 struct sock *sk = sock->sk; in nr_listen() local 427 struct sock *sk; in nr_create() local 473 struct sock *sk; in nr_make_new() local [all …]
|
D | nr_in.c | 32 static int nr_queue_rx_frame(struct sock *sk, struct sk_buff *skb, int more) in nr_queue_rx_frame() 74 static int nr_state1_machine(struct sock *sk, struct sk_buff *skb, in nr_state1_machine() 118 static int nr_state2_machine(struct sock *sk, struct sk_buff *skb, in nr_state2_machine() 149 static int nr_state3_machine(struct sock *sk, struct sk_buff *skb, int frametype) in nr_state3_machine() 280 int nr_process_rx_frame(struct sock *sk, struct sk_buff *skb) in nr_process_rx_frame()
|
/linux-4.1.27/net/x25/ |
D | x25_timer.c | 32 void x25_init_timers(struct sock *sk) in x25_init_timers() 43 void x25_start_heartbeat(struct sock *sk) in x25_start_heartbeat() 48 void x25_stop_heartbeat(struct sock *sk) in x25_stop_heartbeat() 53 void x25_start_t2timer(struct sock *sk) in x25_start_t2timer() 60 void x25_start_t21timer(struct sock *sk) in x25_start_t21timer() 67 void x25_start_t22timer(struct sock *sk) in x25_start_t22timer() 74 void x25_start_t23timer(struct sock *sk) in x25_start_t23timer() 81 void x25_stop_timer(struct sock *sk) in x25_stop_timer() 86 unsigned long x25_display_timer(struct sock *sk) in x25_display_timer() 98 struct sock *sk = (struct sock *)param; in x25_heartbeat_expiry() local [all …]
|
D | x25_subr.c | 39 void x25_clear_queues(struct sock *sk) in x25_clear_queues() 56 void x25_frames_acked(struct sock *sk, unsigned short nr) in x25_frames_acked() 73 void x25_requeue_frames(struct sock *sk) in x25_requeue_frames() 95 int x25_validate_nr(struct sock *sk, unsigned short nr) in x25_validate_nr() 114 void x25_write_internal(struct sock *sk, int frametype) in x25_write_internal() 270 int x25_decode(struct sock *sk, struct sk_buff *skb, int *ns, int *nr, int *q, in x25_decode() 349 void x25_disconnect(struct sock *sk, int reason, unsigned char cause, in x25_disconnect() 377 void x25_check_rbuf(struct sock *sk) in x25_check_rbuf()
|
D | af_x25.c | 200 static void x25_remove_socket(struct sock *sk) in x25_remove_socket() 265 static void x25_insert_socket(struct sock *sk) in x25_insert_socket() 353 struct sock *sk; in x25_new_lci() local 389 static void __x25_destroy_socket(struct sock *sk) in __x25_destroy_socket() 425 void x25_destroy_socket_from_timer(struct sock *sk) in x25_destroy_socket_from_timer() 443 struct sock *sk = sock->sk; in x25_setsockopt() local 469 struct sock *sk = sock->sk; in x25_getsockopt() local 497 struct sock *sk = sock->sk; in x25_listen() local 521 struct sock *sk = sk_alloc(net, AF_X25, GFP_ATOMIC, &x25_proto); in x25_alloc_socket() local 540 struct sock *sk; in x25_create() local [all …]
|
D | x25_in.c | 37 static int x25_queue_rx_frame(struct sock *sk, struct sk_buff *skb, int more) in x25_queue_rx_frame() 92 static int x25_state1_machine(struct sock *sk, struct sk_buff *skb, int frametype) in x25_state1_machine() 171 static int x25_state2_machine(struct sock *sk, struct sk_buff *skb, int frametype) in x25_state2_machine() 204 static int x25_state3_machine(struct sock *sk, struct sk_buff *skb, int frametype, int ns, int nr, … in x25_state3_machine() 340 static int x25_state4_machine(struct sock *sk, struct sk_buff *skb, int frametype) in x25_state4_machine() 381 int x25_process_rx_frame(struct sock *sk, struct sk_buff *skb) in x25_process_rx_frame() 411 int x25_backlog_rcv(struct sock *sk, struct sk_buff *skb) in x25_backlog_rcv()
|
D | x25_out.c | 52 int x25_output(struct sock *sk, struct sk_buff *skb) in x25_output() 121 static void x25_send_iframe(struct sock *sk, struct sk_buff *skb) in x25_send_iframe() 141 void x25_kick(struct sock *sk) in x25_kick() 218 void x25_enquiry_response(struct sock *sk) in x25_enquiry_response()
|
/linux-4.1.27/net/rose/ |
D | rose_timer.c | 35 void rose_start_heartbeat(struct sock *sk) in rose_start_heartbeat() 46 void rose_start_t1timer(struct sock *sk) in rose_start_t1timer() 59 void rose_start_t2timer(struct sock *sk) in rose_start_t2timer() 72 void rose_start_t3timer(struct sock *sk) in rose_start_t3timer() 85 void rose_start_hbtimer(struct sock *sk) in rose_start_hbtimer() 98 void rose_start_idletimer(struct sock *sk) in rose_start_idletimer() 113 void rose_stop_heartbeat(struct sock *sk) in rose_stop_heartbeat() 118 void rose_stop_timer(struct sock *sk) in rose_stop_timer() 123 void rose_stop_idletimer(struct sock *sk) in rose_stop_idletimer() 130 struct sock *sk = (struct sock *)param; in rose_heartbeat_expiry() local [all …]
|
D | rose_in.c | 39 static int rose_state1_machine(struct sock *sk, struct sk_buff *skb, int frametype) in rose_state1_machine() 76 static int rose_state2_machine(struct sock *sk, struct sk_buff *skb, int frametype) in rose_state2_machine() 104 static int rose_state3_machine(struct sock *sk, struct sk_buff *skb, int frametype, int ns, int nr,… in rose_state3_machine() 214 static int rose_state4_machine(struct sock *sk, struct sk_buff *skb, int frametype) in rose_state4_machine() 251 static int rose_state5_machine(struct sock *sk, struct sk_buff *skb, int frametype) in rose_state5_machine() 263 int rose_process_rx_frame(struct sock *sk, struct sk_buff *skb) in rose_process_rx_frame()
|
D | af_rose.c | 154 static void rose_remove_socket(struct sock *sk) in rose_remove_socket() 232 static void rose_insert_socket(struct sock *sk) in rose_insert_socket() 331 void rose_destroy_socket(struct sock *sk) in rose_destroy_socket() 371 struct sock *sk = sock->sk; in rose_setsockopt() local 431 struct sock *sk = sock->sk; in rose_getsockopt() local 488 struct sock *sk = sock->sk; in rose_listen() local 514 struct sock *sk; in rose_create() local 556 struct sock *sk; in rose_make_new() local 602 struct sock *sk = sock->sk; in rose_release() local 657 struct sock *sk = sock->sk; in rose_bind() local [all …]
|
D | rose_out.c | 33 static void rose_send_iframe(struct sock *sk, struct sk_buff *skb) in rose_send_iframe() 48 void rose_kick(struct sock *sk) in rose_kick() 112 void rose_enquiry_response(struct sock *sk) in rose_enquiry_response()
|
D | rose_subr.c | 35 void rose_clear_queues(struct sock *sk) in rose_clear_queues() 46 void rose_frames_acked(struct sock *sk, unsigned short nr) in rose_frames_acked() 63 void rose_requeue_frames(struct sock *sk) in rose_requeue_frames() 85 int rose_validate_nr(struct sock *sk, unsigned short nr) in rose_validate_nr() 102 void rose_write_internal(struct sock *sk, int frametype) in rose_write_internal() 530 void rose_disconnect(struct sock *sk, int reason, int cause, int diagnostic) in rose_disconnect()
|
/linux-4.1.27/net/dccp/ |
D | qpolicy.c | 18 static void qpolicy_simple_push(struct sock *sk, struct sk_buff *skb) in qpolicy_simple_push() 23 static bool qpolicy_simple_full(struct sock *sk) in qpolicy_simple_full() 29 static struct sk_buff *qpolicy_simple_top(struct sock *sk) in qpolicy_simple_top() 39 static struct sk_buff *qpolicy_prio_best_skb(struct sock *sk) in qpolicy_prio_best_skb() 49 static struct sk_buff *qpolicy_prio_worst_skb(struct sock *sk) in qpolicy_prio_worst_skb() 59 static bool qpolicy_prio_full(struct sock *sk) in qpolicy_prio_full() 96 void dccp_qpolicy_push(struct sock *sk, struct sk_buff *skb) in dccp_qpolicy_push() 101 bool dccp_qpolicy_full(struct sock *sk) in dccp_qpolicy_full() 106 void dccp_qpolicy_drop(struct sock *sk, struct sk_buff *skb) in dccp_qpolicy_drop() 114 struct sk_buff *dccp_qpolicy_top(struct sock *sk) in dccp_qpolicy_top() [all …]
|
D | output.c | 25 static inline void dccp_event_ack_sent(struct sock *sk) in dccp_event_ack_sent() 31 static struct sk_buff *dccp_skb_entail(struct sock *sk, struct sk_buff *skb) in dccp_skb_entail() 45 static int dccp_transmit_skb(struct sock *sk, struct sk_buff *skb) in dccp_transmit_skb() 162 unsigned int dccp_sync_mss(struct sock *sk, u32 pmtu) in dccp_sync_mss() 198 void dccp_write_space(struct sock *sk) in dccp_write_space() 220 static int dccp_wait_for_ccid(struct sock *sk, unsigned long delay) in dccp_wait_for_ccid() 244 static void dccp_xmit_packet(struct sock *sk) in dccp_xmit_packet() 307 void dccp_flush_write_queue(struct sock *sk, long *time_budget) in dccp_flush_write_queue() 346 void dccp_write_xmit(struct sock *sk) in dccp_write_xmit() 380 int dccp_retransmit_skb(struct sock *sk) in dccp_retransmit_skb() [all …]
|
D | input.c | 26 static void dccp_enqueue_skb(struct sock *sk, struct sk_buff *skb) in dccp_enqueue_skb() 34 static void dccp_fin(struct sock *sk, struct sk_buff *skb) in dccp_fin() 47 static int dccp_rcv_close(struct sock *sk, struct sk_buff *skb) in dccp_rcv_close() 93 static int dccp_rcv_closereq(struct sock *sk, struct sk_buff *skb) in dccp_rcv_closereq() 149 static void dccp_rcv_reset(struct sock *sk, struct sk_buff *skb) in dccp_rcv_reset() 163 static void dccp_handle_ackvec_processing(struct sock *sk, struct sk_buff *skb) in dccp_handle_ackvec_processing() 174 static void dccp_deliver_input_to_ccids(struct sock *sk, struct sk_buff *skb) in dccp_deliver_input_to_ccids() 189 static int dccp_check_seqno(struct sock *sk, struct sk_buff *skb) in dccp_check_seqno() 287 static int __dccp_rcv_established(struct sock *sk, struct sk_buff *skb, in __dccp_rcv_established() 368 int dccp_rcv_established(struct sock *sk, struct sk_buff *skb, in dccp_rcv_established() [all …]
|
D | proto.c | 77 void dccp_set_state(struct sock *sk, const int state) in dccp_set_state() 117 static void dccp_finish_passive_close(struct sock *sk) in dccp_finish_passive_close() 135 void dccp_done(struct sock *sk) in dccp_done() 173 int dccp_init_sock(struct sock *sk, const __u8 ctl_sock_initialized) in dccp_init_sock() 200 void dccp_destroy_sock(struct sock *sk) in dccp_destroy_sock() 234 static inline int dccp_listen_start(struct sock *sk, int backlog) in dccp_listen_start() 251 int dccp_disconnect(struct sock *sk, int flags) in dccp_disconnect() 313 struct sock *sk = sock->sk; in dccp_poll() local 360 int dccp_ioctl(struct sock *sk, int cmd, unsigned long arg) in dccp_ioctl() 396 static int dccp_setsockopt_service(struct sock *sk, const __be32 service, in dccp_setsockopt_service() [all …]
|
D | timer.c | 24 static void dccp_write_err(struct sock *sk) in dccp_write_err() 35 static int dccp_write_timeout(struct sock *sk) in dccp_write_timeout() 87 static void dccp_retransmit_timer(struct sock *sk) in dccp_retransmit_timer() 130 struct sock *sk = (struct sock *)data; in dccp_write_timer() local 166 struct sock *sk = (struct sock *)data; in dccp_keepalive_timer() local 175 struct sock *sk = (struct sock *)data; in dccp_delack_timer() local 225 struct sock *sk = (struct sock *)data; in dccp_write_xmitlet() local 241 void dccp_init_xmit_timers(struct sock *sk) in dccp_init_xmit_timers()
|
D | ipv4.c | 42 int dccp_v4_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len) in dccp_v4_connect() 147 static inline void dccp_do_pmtu_discovery(struct sock *sk, in dccp_do_pmtu_discovery() 190 static void dccp_do_redirect(struct sk_buff *skb, struct sock *sk) in dccp_do_redirect() 198 void dccp_req_err(struct sock *sk, u64 seq) in dccp_req_err() 245 struct sock *sk; in dccp_v4_err() local 367 void dccp_v4_send_check(struct sock *sk, struct sk_buff *skb) in dccp_v4_send_check() 393 struct sock *dccp_v4_request_recv_sock(struct sock *sk, struct sk_buff *skb, in dccp_v4_request_recv_sock() 446 static struct sock *dccp_v4_hnd_req(struct sock *sk, struct sk_buff *skb) in dccp_v4_hnd_req() 476 static struct dst_entry* dccp_v4_route_skb(struct net *net, struct sock *sk, in dccp_v4_route_skb() 501 static int dccp_v4_send_response(struct sock *sk, struct request_sock *req) in dccp_v4_send_response() [all …]
|
D | ipv6.c | 51 static inline void dccp_v6_send_check(struct sock *sk, struct sk_buff *skb) in dccp_v6_send_check() 76 struct sock *sk; in dccp_v6_err() local 184 static int dccp_v6_send_response(struct sock *sk, struct request_sock *req) in dccp_v6_send_response() 242 static void dccp_v6_ctl_send_reset(struct sock *sk, struct sk_buff *rxskb) in dccp_v6_ctl_send_reset() 298 static struct sock *dccp_v6_hnd_req(struct sock *sk,struct sk_buff *skb) in dccp_v6_hnd_req() 329 static int dccp_v6_conn_request(struct sock *sk, struct sk_buff *skb) in dccp_v6_conn_request() 416 static struct sock *dccp_v6_request_recv_sock(struct sock *sk, in dccp_v6_request_recv_sock() 584 static int dccp_v6_do_rcv(struct sock *sk, struct sk_buff *skb) in dccp_v6_do_rcv() 701 struct sock *sk; in dccp_v6_rcv() local 795 static int dccp_v6_connect(struct sock *sk, struct sockaddr *uaddr, in dccp_v6_connect() [all …]
|
D | ccid.h | 166 static inline int ccid_hc_tx_send_packet(struct ccid *ccid, struct sock *sk, in ccid_hc_tx_send_packet() 174 static inline void ccid_hc_tx_packet_sent(struct ccid *ccid, struct sock *sk, in ccid_hc_tx_packet_sent() 181 static inline void ccid_hc_rx_packet_recv(struct ccid *ccid, struct sock *sk, in ccid_hc_rx_packet_recv() 188 static inline void ccid_hc_tx_packet_recv(struct ccid *ccid, struct sock *sk, in ccid_hc_tx_packet_recv() 202 static inline int ccid_hc_tx_parse_options(struct ccid *ccid, struct sock *sk, in ccid_hc_tx_parse_options() 214 static inline int ccid_hc_rx_parse_options(struct ccid *ccid, struct sock *sk, in ccid_hc_rx_parse_options() 222 static inline int ccid_hc_rx_insert_options(struct ccid *ccid, struct sock *sk, in ccid_hc_rx_insert_options() 230 static inline void ccid_hc_rx_get_info(struct ccid *ccid, struct sock *sk, in ccid_hc_rx_get_info() 237 static inline void ccid_hc_tx_get_info(struct ccid *ccid, struct sock *sk, in ccid_hc_tx_get_info() 244 static inline int ccid_hc_rx_getsockopt(struct ccid *ccid, struct sock *sk, in ccid_hc_rx_getsockopt() [all …]
|
D | minisocks.c | 35 void dccp_time_wait(struct sock *sk, int state, int timeo) in dccp_time_wait() 75 struct sock *dccp_create_openreq_child(struct sock *sk, in dccp_create_openreq_child() 141 struct sock *dccp_check_req(struct sock *sk, struct sk_buff *skb, in dccp_check_req() 239 void dccp_reqsk_send_ack(struct sock *sk, struct sk_buff *skb, in dccp_reqsk_send_ack()
|
D | ccid.c | 63 int ccid_getsockopt_builtin_ccids(struct sock *sk, int len, in ccid_getsockopt_builtin_ccids() 144 struct ccid *ccid_new(const u8 id, struct sock *sk, bool rx) in ccid_new() 177 void ccid_hc_rx_delete(struct ccid *ccid, struct sock *sk) in ccid_hc_rx_delete() 186 void ccid_hc_tx_delete(struct ccid *ccid, struct sock *sk) in ccid_hc_tx_delete()
|
D | feat.c | 41 static int dccp_hdlr_ccid(struct sock *sk, u64 ccid, bool rx) in dccp_hdlr_ccid() 59 static int dccp_hdlr_seq_win(struct sock *sk, u64 seq_win, bool rx) in dccp_hdlr_seq_win() 75 static int dccp_hdlr_ack_ratio(struct sock *sk, u64 ratio, bool rx) in dccp_hdlr_ack_ratio() 84 static int dccp_hdlr_ackvec(struct sock *sk, u64 enable, bool rx) in dccp_hdlr_ackvec() 101 static int dccp_hdlr_ndp(struct sock *sk, u64 enable, bool rx) in dccp_hdlr_ndp() 117 static int dccp_hdlr_min_cscov(struct sock *sk, u64 cscov, bool rx) in dccp_hdlr_min_cscov() 308 static int __dccp_feat_activate(struct sock *sk, const int idx, in __dccp_feat_activate() 356 static int dccp_feat_activate(struct sock *sk, u8 feat_num, bool local, in dccp_feat_activate() 752 int dccp_feat_register_sp(struct sock *sk, u8 feat, u8 is_local, in dccp_feat_register_sp() 771 u64 dccp_feat_nn_get(struct sock *sk, u8 feat) in dccp_feat_nn_get() [all …]
|
D | diag.c | 19 static void dccp_get_info(struct sock *sk, struct tcp_info *info) in dccp_get_info() 42 static void dccp_diag_get_info(struct sock *sk, struct inet_diag_msg *r, in dccp_diag_get_info()
|
D | options.c | 51 int dccp_parse_options(struct sock *sk, struct dccp_request_sock *dreq, in dccp_parse_options() 312 static int dccp_insert_option_ndp(struct sock *sk, struct sk_buff *skb) in dccp_insert_option_ndp() 399 static int dccp_insert_option_ackvec(struct sock *sk, struct sk_buff *skb) in dccp_insert_option_ackvec() 549 int dccp_insert_options(struct sock *sk, struct sk_buff *skb) in dccp_insert_options()
|
D | dccp.h | 256 static inline void dccp_clear_xmit_timers(struct sock *sk) in dccp_clear_xmit_timers() 328 static inline int dccp_bad_service_code(const struct sock *sk, in dccp_bad_service_code() 418 static inline void dccp_update_gsr(struct sock *sk, u64 seq) in dccp_update_gsr() 446 static inline void dccp_update_gss(struct sock *sk, u64 seq) in dccp_update_gss() 459 static inline int dccp_ackvec_pending(const struct sock *sk) in dccp_ackvec_pending() 465 static inline int dccp_ack_pending(const struct sock *sk) in dccp_ack_pending()
|
/linux-4.1.27/include/net/ |
D | sock.h | 97 #define SOCK_DEBUG(sk, msg...) do { if ((sk) && sock_flag((sk), SOCK_DBG)) \ argument 102 void SOCK_DEBUG(const struct sock *sk, const char *msg, ...) in SOCK_DEBUG() 444 #define __sk_user_data(sk) ((*((void __rcu **)&(sk)->sk_user_data))) argument 446 #define rcu_dereference_sk_user_data(sk) rcu_dereference(__sk_user_data((sk))) argument 447 #define rcu_assign_sk_user_data(sk, ptr) rcu_assign_pointer(__sk_user_data((sk)), ptr) argument 460 static inline int sk_peek_offset(struct sock *sk, int flags) in sk_peek_offset() 468 static inline void sk_peek_offset_bwd(struct sock *sk, int val) in sk_peek_offset_bwd() 478 static inline void sk_peek_offset_fwd(struct sock *sk, int val) in sk_peek_offset_fwd() 512 static inline struct sock *sk_next(const struct sock *sk) in sk_next() 518 static inline struct sock *sk_nulls_next(const struct sock *sk) in sk_nulls_next() [all …]
|
D | busy_poll.h | 50 static inline unsigned long sk_busy_loop_end_time(struct sock *sk) in sk_busy_loop_end_time() 61 static inline bool sk_can_busy_loop(struct sock *sk) in sk_can_busy_loop() 78 static inline bool sk_busy_loop(struct sock *sk, int nonblock) in sk_busy_loop() 128 static inline void sk_mark_napi_id(struct sock *sk, struct sk_buff *skb) in sk_mark_napi_id() 144 static inline bool sk_can_busy_loop(struct sock *sk) in sk_can_busy_loop() 154 static inline void sk_mark_napi_id(struct sock *sk, struct sk_buff *skb) in sk_mark_napi_id() 163 static inline bool sk_busy_loop(struct sock *sk, int nonblock) in sk_busy_loop()
|
D | tcp.h | 306 static inline bool tcp_out_of_memory(struct sock *sk) in tcp_out_of_memory() 314 static inline bool tcp_too_many_orphans(struct sock *sk, int shift) in tcp_too_many_orphans() 330 static inline void tcp_synq_overflow(struct sock *sk) in tcp_synq_overflow() 336 static inline bool tcp_synq_no_recent_overflow(const struct sock *sk) in tcp_synq_no_recent_overflow() 379 static inline void tcp_dec_quickack_mode(struct sock *sk, in tcp_dec_quickack_mode() 547 static inline void tcp_clear_xmit_timers(struct sock *sk) in tcp_clear_xmit_timers() 594 static inline void tcp_bound_rto(const struct sock *sk) in tcp_bound_rto() 617 static inline void tcp_fast_path_check(struct sock *sk) in tcp_fast_path_check() 629 static inline u32 tcp_rto_min(struct sock *sk) in tcp_rto_min() 639 static inline u32 tcp_rto_min_us(struct sock *sk) in tcp_rto_min_us() [all …]
|
D | inet_connection_sock.h | 145 static inline struct inet_connection_sock *inet_csk(const struct sock *sk) in inet_csk() 150 static inline void *inet_csk_ca(const struct sock *sk) in inet_csk_ca() 172 static inline void inet_csk_schedule_ack(struct sock *sk) in inet_csk_schedule_ack() 177 static inline int inet_csk_ack_scheduled(const struct sock *sk) in inet_csk_ack_scheduled() 182 static inline void inet_csk_delack_init(struct sock *sk) in inet_csk_delack_init() 194 static inline void inet_csk_clear_xmit_timer(struct sock *sk, const int what) in inet_csk_clear_xmit_timer() 219 static inline void inet_csk_reset_xmit_timer(struct sock *sk, const int what, in inet_csk_reset_xmit_timer() 274 static inline void inet_csk_reqsk_queue_add(struct sock *sk, in inet_csk_reqsk_queue_add() 284 static inline void inet_csk_reqsk_queue_added(struct sock *sk, in inet_csk_reqsk_queue_added() 290 static inline int inet_csk_reqsk_queue_len(const struct sock *sk) in inet_csk_reqsk_queue_len() [all …]
|
D | ip6_route.h | 71 const struct sock *sk, in ip6_route_output() 144 static inline void __ip6_dst_store(struct sock *sk, struct dst_entry *dst, in __ip6_dst_store() 159 static inline void ip6_dst_store(struct sock *sk, struct dst_entry *dst, in ip6_dst_store() 193 static inline bool ip6_sk_accept_pmtu(const struct sock *sk) in ip6_sk_accept_pmtu() 199 static inline bool ip6_sk_ignore_df(const struct sock *sk) in ip6_sk_ignore_df()
|
D | ip.h | 72 struct sock *sk; member 148 static inline struct sk_buff *ip_finish_skb(struct sock *sk, struct flowi4 *fl4) in ip_finish_skb() 158 static inline __u8 get_rtconn_flags(struct ipcm_cookie* ipc, struct sock* sk) in get_rtconn_flags() 275 int ip_dont_fragment(struct sock *sk, struct dst_entry *dst) in ip_dont_fragment() 282 static inline bool ip_sk_accept_pmtu(const struct sock *sk) in ip_sk_accept_pmtu() 288 static inline bool ip_sk_use_pmtu(const struct sock *sk) in ip_sk_use_pmtu() 293 static inline bool ip_sk_ignore_df(const struct sock *sk) in ip_sk_ignore_df() 326 struct sock *sk, int segs) in ip_select_ident_segs() 348 struct sock *sk) in ip_select_ident() 359 static inline void inet_set_txhash(struct sock *sk) in inet_set_txhash() [all …]
|
D | cls_cgroup.h | 44 static inline void sock_update_classid(struct sock *sk) in sock_update_classid() 53 static inline void sock_update_classid(struct sock *sk) in sock_update_classid()
|
D | timewait_sock.h | 27 static inline int twsk_unique(struct sock *sk, struct sock *sktw, void *twp) in twsk_unique() 34 static inline void twsk_destructor(struct sock *sk) in twsk_destructor()
|
D | route.h | 44 #define RT_CONN_FLAGS(sk) (RT_TOS(inet_sk(sk)->tos) | sock_flag(sk, SOCK_LOCALROUTE)) argument 45 #define RT_CONN_FLAGS_TOS(sk,tos) (RT_TOS(tos) | sock_flag(sk, SOCK_LOCALROUTE)) argument 137 struct sock *sk, in ip_route_output_ports() 246 struct sock *sk) in ip_route_connect_init() 261 struct sock *sk) in ip_route_connect() 283 struct sock *sk) in ip_route_newports()
|
D | inet_sock.h | 103 static inline struct inet_request_sock *inet_rsk(const struct request_sock *sk) in inet_rsk() 108 static inline u32 inet_request_mark(const struct sock *sk, struct sk_buff *skb) in inet_request_mark() 160 struct sock sk; member 212 static inline struct inet_sock *inet_sk(const struct sock *sk) in inet_sk() 249 static inline __u8 inet_sk_flowi_flags(const struct sock *sk) in inet_sk_flowi_flags() 258 static inline void inet_inc_convert_csum(struct sock *sk) in inet_inc_convert_csum() 263 static inline void inet_dec_convert_csum(struct sock *sk) in inet_dec_convert_csum() 269 static inline bool inet_get_convert_csum(struct sock *sk) in inet_get_convert_csum()
|
D | udp.h | 131 static inline __wsum udp_csum_outgoing(struct sock *sk, struct sk_buff *skb) in udp_csum_outgoing() 180 static inline void udp_lib_hash(struct sock *sk) in udp_lib_hash() 188 static inline void udp_lib_close(struct sock *sk, long timeout) in udp_lib_close() 291 #define UDPX_INC_STATS_BH(sk, field) \ argument 299 #define UDPX_INC_STATS_BH(sk, field) UDP_INC_STATS_BH(sock_net(sk), field, 0) argument
|
D | inet_ecn.h | 51 static inline void INET_ECN_xmit(struct sock *sk) in INET_ECN_xmit() 58 static inline void INET_ECN_dontxmit(struct sock *sk) in INET_ECN_dontxmit() 69 #define IP6_ECN_flow_xmit(sk, label) do { \ argument
|
D | inet_hashtables.h | 239 static inline int inet_sk_listen_hashfn(const struct sock *sk) in inet_sk_listen_hashfn() 349 struct sock *sk = __inet_lookup_established(net, hashinfo, in __inet_lookup() local 362 struct sock *sk; in inet_lookup() local 376 struct sock *sk = skb_steal_sock(skb); in __inet_lookup_skb() local 392 static inline void sk_daddr_set(struct sock *sk, __be32 addr) in sk_daddr_set() 400 static inline void sk_rcv_saddr_set(struct sock *sk, __be32 addr) in sk_rcv_saddr_set()
|
D | udplite.h | 27 static inline int udplite_sk_init(struct sock *sk) in udplite_sk_init() 71 static inline __wsum udplite_csum_outgoing(struct sock *sk, struct sk_buff *skb) in udplite_csum_outgoing()
|
D | inet6_hashtables.h | 69 struct sock *sk = __inet6_lookup_established(net, hashinfo, saddr, in __inet6_lookup() local 84 struct sock *sk = skb_steal_sock(skb); in __inet6_lookup_skb() local
|
/linux-4.1.27/net/vmw_vsock/ |
D | vmci_transport_notify_qstate.c | 81 vmci_transport_handle_read(struct sock *sk, in vmci_transport_handle_read() 90 vmci_transport_handle_wrote(struct sock *sk, in vmci_transport_handle_wrote() 98 static void vsock_block_update_write_window(struct sock *sk) in vsock_block_update_write_window() 108 static int vmci_transport_send_read_notification(struct sock *sk) in vmci_transport_send_read_notification() 148 static void vmci_transport_notify_pkt_socket_init(struct sock *sk) in vmci_transport_notify_pkt_socket_init() 167 vmci_transport_notify_pkt_poll_in(struct sock *sk, in vmci_transport_notify_pkt_poll_in() 188 vmci_transport_notify_pkt_poll_out(struct sock *sk, in vmci_transport_notify_pkt_poll_out() 210 struct sock *sk, in vmci_transport_notify_pkt_recv_init() 242 struct sock *sk, in vmci_transport_notify_pkt_recv_pre_block() 262 struct sock *sk, in vmci_transport_notify_pkt_recv_post_dequeue() [all …]
|
D | vmci_transport_notify.c | 113 vmci_transport_handle_waiting_read(struct sock *sk, in vmci_transport_handle_waiting_read() 143 vmci_transport_handle_waiting_write(struct sock *sk, in vmci_transport_handle_waiting_write() 173 vmci_transport_handle_read(struct sock *sk, in vmci_transport_handle_read() 188 static bool send_waiting_read(struct sock *sk, u64 room_needed) in send_waiting_read() 230 static bool send_waiting_write(struct sock *sk, u64 room_needed) in send_waiting_write() 267 static int vmci_transport_send_read_notification(struct sock *sk) in vmci_transport_send_read_notification() 309 vmci_transport_handle_wrote(struct sock *sk, in vmci_transport_handle_wrote() 321 static void vmci_transport_notify_pkt_socket_init(struct sock *sk) in vmci_transport_notify_pkt_socket_init() 346 vmci_transport_notify_pkt_poll_in(struct sock *sk, in vmci_transport_notify_pkt_poll_in() 370 vmci_transport_notify_pkt_poll_out(struct sock *sk, in vmci_transport_notify_pkt_poll_out() [all …]
|
D | af_vsock.c | 170 struct sock *sk = sk_vsock(vsk); in vsock_auto_bind() local 289 struct sock *sk; in vsock_find_bound_socket() local 305 struct sock *sk; in vsock_find_connected_socket() local 340 void vsock_for_each_connected_socket(void (*fn)(struct sock *sk)) in vsock_for_each_connected_socket() 417 static bool vsock_is_accept_queue_empty(struct sock *sk) in vsock_is_accept_queue_empty() 423 static bool vsock_is_pending(struct sock *sk) in vsock_is_pending() 429 static int vsock_send_shutdown(struct sock *sk, int mode) in vsock_send_shutdown() 436 struct sock *sk; in vsock_pending_work() local 542 static int __vsock_bind(struct sock *sk, struct sockaddr_vm *addr) in __vsock_bind() 586 struct sock *sk; in __vsock_create() local [all …]
|
D | vmci_transport.c | 74 struct sock *sk; member 276 vmci_transport_send_control_pkt(struct sock *sk, in vmci_transport_send_control_pkt() 321 static int vmci_transport_send_reset(struct sock *sk, in vmci_transport_send_reset() 332 static int vmci_transport_send_negotiate(struct sock *sk, size_t size) in vmci_transport_send_negotiate() 342 static int vmci_transport_send_negotiate2(struct sock *sk, size_t size, in vmci_transport_send_negotiate2() 352 static int vmci_transport_send_qp_offer(struct sock *sk, in vmci_transport_send_qp_offer() 361 static int vmci_transport_send_attach(struct sock *sk, in vmci_transport_send_attach() 406 int vmci_transport_send_wrote(struct sock *sk) in vmci_transport_send_wrote() 414 int vmci_transport_send_read(struct sock *sk) in vmci_transport_send_read() 422 int vmci_transport_send_waiting_write(struct sock *sk, in vmci_transport_send_waiting_write() [all …]
|
/linux-4.1.27/net/iucv/ |
D | af_iucv.c | 52 #define __iucv_sock_wait(sk, condition, timeo, ret) \ argument 77 #define iucv_sock_wait(sk, condition, timeo) \ argument 152 struct sock *sk; in afiucv_pm_freeze() local 189 struct sock *sk; in afiucv_pm_restore_thaw() local 272 static int iucv_sock_in_state(struct sock *sk, int state, int state2) in iucv_sock_in_state() 285 static inline int iucv_below_msglim(struct sock *sk) in iucv_below_msglim() 301 static void iucv_sock_wake_msglim(struct sock *sk) in iucv_sock_wake_msglim() 384 struct sock *sk; in __iucv_get_sock_by_name() local 393 static void iucv_sock_destruct(struct sock *sk) in iucv_sock_destruct() 414 struct sock *sk; in iucv_sock_cleanup_listen() local [all …]
|
/linux-4.1.27/net/ieee802154/ |
D | socket.c | 92 struct sock *sk = sock->sk; in ieee802154_sock_release() local 104 struct sock *sk = sock->sk; in ieee802154_sock_sendmsg() local 112 struct sock *sk = sock->sk; in ieee802154_sock_bind() local 123 struct sock *sk = sock->sk; in ieee802154_sock_connect() local 134 static int ieee802154_dev_ioctl(struct sock *sk, struct ifreq __user *arg, in ieee802154_dev_ioctl() 165 struct sock *sk = sock->sk; in ieee802154_sock_ioctl() local 187 static void raw_hash(struct sock *sk) in raw_hash() 195 static void raw_unhash(struct sock *sk) in raw_unhash() 203 static void raw_close(struct sock *sk, long timeout) in raw_close() 208 static int raw_bind(struct sock *sk, struct sockaddr *_uaddr, int len) in raw_bind() [all …]
|
/linux-4.1.27/net/bluetooth/ |
D | sco.c | 48 struct sock *sk; member 60 #define sco_pi(sk) ((struct sco_pinfo *) sk) argument 77 struct sock *sk = (struct sock *) arg; in sco_sock_timeout() local 90 static void sco_sock_set_timer(struct sock *sk, long timeout) in sco_sock_set_timer() 96 static void sco_sock_clear_timer(struct sock *sk) in sco_sock_clear_timer() 132 static void sco_chan_del(struct sock *sk, int err) in sco_chan_del() 160 struct sock *sk; in sco_conn_del() local 185 static void __sco_chan_add(struct sco_conn *conn, struct sock *sk, struct sock *parent) in __sco_chan_add() 196 static int sco_chan_add(struct sco_conn *conn, struct sock *sk, in sco_chan_add() 211 static int sco_connect(struct sock *sk) in sco_connect() [all …]
|
D | l2cap_sock.c | 82 struct sock *sk = sock->sk; in l2cap_sock_bind() local 176 struct sock *sk = sock->sk; in l2cap_sock_connect() local 253 struct sock *sk = sock->sk; in l2cap_sock_listen() local 306 struct sock *sk = sock->sk, *nsk; in l2cap_sock_accept() local 362 struct sock *sk = sock->sk; in l2cap_sock_getname() local 394 struct sock *sk = sock->sk; in l2cap_sock_getsockopt_old() local 497 struct sock *sk = sock->sk; in l2cap_sock_getsockopt() local 633 struct sock *sk = sock->sk; in l2cap_sock_setsockopt_old() local 745 struct sock *sk = sock->sk; in l2cap_sock_setsockopt() local 950 struct sock *sk = sock->sk; in l2cap_sock_sendmsg() local [all …]
|
D | hci_sock.c | 45 #define hci_pi(sk) ((struct hci_pinfo *) sk) argument 56 void hci_sock_set_flag(struct sock *sk, int nr) in hci_sock_set_flag() 61 void hci_sock_clear_flag(struct sock *sk, int nr) in hci_sock_clear_flag() 66 int hci_sock_test_flag(struct sock *sk, int nr) in hci_sock_test_flag() 71 unsigned short hci_sock_get_channel(struct sock *sk) in hci_sock_get_channel() 115 static bool is_filtered_packet(struct sock *sk, struct sk_buff *skb) in is_filtered_packet() 158 struct sock *sk; in hci_send_to_sock() local 217 struct sock *sk; in hci_send_to_channel() local 346 static void send_monitor_replay(struct sock *sk) in send_monitor_replay() 417 struct sock *sk; in hci_sock_dev_event() local [all …]
|
D | af_bluetooth.c | 67 void bt_sock_reclassify_lock(struct sock *sk, int proto) in bt_sock_reclassify_lock() 139 void bt_sock_link(struct bt_sock_list *l, struct sock *sk) in bt_sock_link() 147 void bt_sock_unlink(struct bt_sock_list *l, struct sock *sk) in bt_sock_unlink() 155 void bt_accept_enqueue(struct sock *parent, struct sock *sk) in bt_accept_enqueue() 166 void bt_accept_unlink(struct sock *sk) in bt_accept_unlink() 180 struct sock *sk; in bt_accept_dequeue() local 217 struct sock *sk = sock->sk; in bt_sock_recvmsg() local 257 static long bt_sock_data_wait(struct sock *sk, long timeo) in bt_sock_data_wait() 289 struct sock *sk = sock->sk; in bt_sock_stream_recvmsg() local 394 struct sock *sk; in bt_accept_poll() local [all …]
|
D | mgmt.c | 271 static int read_version(struct sock *sk, struct hci_dev *hdev, void *data, in read_version() 285 static int read_commands(struct sock *sk, struct hci_dev *hdev, void *data, in read_commands() 337 static int read_index_list(struct sock *sk, struct hci_dev *hdev, void *data, in read_index_list() 397 static int read_unconf_index_list(struct sock *sk, struct hci_dev *hdev, in read_unconf_index_list() 457 static int read_ext_index_list(struct sock *sk, struct hci_dev *hdev, in read_ext_index_list() 569 static int send_options_rsp(struct sock *sk, u16 opcode, struct hci_dev *hdev) in send_options_rsp() 577 static int read_config_info(struct sock *sk, struct hci_dev *hdev, in read_config_info() 1335 static void mgmt_init_hdev(struct sock *sk, struct hci_dev *hdev) in mgmt_init_hdev() 1351 static int read_controller_info(struct sock *sk, struct hci_dev *hdev, in read_controller_info() 1381 static int send_settings_rsp(struct sock *sk, u16 opcode, struct hci_dev *hdev) in send_settings_rsp() [all …]
|
D | mgmt_util.c | 60 int mgmt_cmd_status(struct sock *sk, u16 index, u16 cmd, u8 status) in mgmt_cmd_status() 90 int mgmt_cmd_complete(struct sock *sk, u16 index, u16 cmd, u8 status, in mgmt_cmd_complete() 170 struct mgmt_pending_cmd *mgmt_pending_add(struct sock *sk, u16 opcode, in mgmt_pending_add()
|
/linux-4.1.27/net/ipv4/ |
D | tcp_timer.c | 35 static void tcp_write_err(struct sock *sk) in tcp_write_err() 55 static int tcp_out_of_resources(struct sock *sk, bool do_reset) in tcp_out_of_resources() 86 static int tcp_orphan_retries(struct sock *sk, int alive) in tcp_orphan_retries() 102 static void tcp_mtu_probing(struct inet_connection_sock *icsk, struct sock *sk) in tcp_mtu_probing() 131 static bool retransmits_timed_out(struct sock *sk, in retransmits_timed_out() 159 static int tcp_write_timeout(struct sock *sk) in tcp_write_timeout() 219 void tcp_delack_timer_handler(struct sock *sk) in tcp_delack_timer_handler() 268 struct sock *sk = (struct sock *)data; in tcp_delack_timer() local 284 static void tcp_probe_timer(struct sock *sk) in tcp_probe_timer() 334 static void tcp_fastopen_synack_timer(struct sock *sk) in tcp_fastopen_synack_timer() [all …]
|
D | tcp_output.c | 72 static void tcp_event_new_data_sent(struct sock *sk, const struct sk_buff *skb) in tcp_event_new_data_sent() 97 static inline __u32 tcp_acceptable_seq(const struct sock *sk) in tcp_acceptable_seq() 121 static __u16 tcp_advertise_mss(struct sock *sk) in tcp_advertise_mss() 141 static void tcp_cwnd_restart(struct sock *sk, const struct dst_entry *dst) in tcp_cwnd_restart() 162 struct sock *sk) in tcp_event_data_sent() 183 static inline void tcp_event_ack_sent(struct sock *sk, unsigned int pkts) in tcp_event_ack_sent() 269 static u16 tcp_select_window(struct sock *sk) in tcp_select_window() 318 static void tcp_ecn_send_synack(struct sock *sk, struct sk_buff *skb) in tcp_ecn_send_synack() 330 static void tcp_ecn_send_syn(struct sock *sk, struct sk_buff *skb) in tcp_ecn_send_syn() 355 struct sock *sk) in tcp_ecn_make_synack() [all …]
|
D | tcp_input.c | 130 static void tcp_measure_rcv_mss(struct sock *sk, const struct sk_buff *skb) in tcp_measure_rcv_mss() 176 static void tcp_incr_quickack(struct sock *sk) in tcp_incr_quickack() 187 static void tcp_enter_quickack_mode(struct sock *sk) in tcp_enter_quickack_mode() 199 static inline bool tcp_in_quickack_mode(const struct sock *sk) in tcp_in_quickack_mode() 283 static void tcp_sndbuf_expand(struct sock *sk) in tcp_sndbuf_expand() 338 static int __tcp_grow_window(const struct sock *sk, const struct sk_buff *skb) in __tcp_grow_window() 355 static void tcp_grow_window(struct sock *sk, const struct sk_buff *skb) in tcp_grow_window() 383 static void tcp_fixup_rcvbuf(struct sock *sk) in tcp_fixup_rcvbuf() 404 void tcp_init_buffer_space(struct sock *sk) in tcp_init_buffer_space() 440 static void tcp_clamp_window(struct sock *sk) in tcp_clamp_window() [all …]
|
D | inet_connection_sock.c | 46 int inet_csk_bind_conflict(const struct sock *sk, in inet_csk_bind_conflict() 93 int inet_csk_get_port(struct sock *sk, unsigned short snum) in inet_csk_get_port() 246 static int inet_csk_wait_for_connect(struct sock *sk, long timeo) in inet_csk_wait_for_connect() 294 struct sock *inet_csk_accept(struct sock *sk, int flags, int *err) in inet_csk_accept() 362 void inet_csk_init_xmit_timers(struct sock *sk, in inet_csk_init_xmit_timers() 378 void inet_csk_clear_xmit_timers(struct sock *sk) in inet_csk_clear_xmit_timers() 390 void inet_csk_delete_keepalive_timer(struct sock *sk) in inet_csk_delete_keepalive_timer() 396 void inet_csk_reset_keepalive_timer(struct sock *sk, unsigned long len) in inet_csk_reset_keepalive_timer() 402 struct dst_entry *inet_csk_route_req(struct sock *sk, in inet_csk_route_req() 433 struct dst_entry *inet_csk_route_child_sock(struct sock *sk, in inet_csk_route_child_sock() [all …]
|
D | raw.c | 96 void raw_hash_sk(struct sock *sk) in raw_hash_sk() 110 void raw_unhash_sk(struct sock *sk) in raw_unhash_sk() 121 static struct sock *__raw_v4_lookup(struct net *net, struct sock *sk, in __raw_v4_lookup() 142 static int icmp_filter(const struct sock *sk, const struct sk_buff *skb) in icmp_filter() 170 struct sock *sk; in raw_v4_input() local 223 static void raw_err(struct sock *sk, struct sk_buff *skb, u32 info) in raw_err() 310 static int raw_rcv_skb(struct sock *sk, struct sk_buff *skb) in raw_rcv_skb() 323 int raw_rcv(struct sock *sk, struct sk_buff *skb) in raw_rcv() 338 static int raw_send_hdrinc(struct sock *sk, struct flowi4 *fl4, in raw_send_hdrinc() 483 static int raw_sendmsg(struct sock *sk, struct msghdr *msg, size_t len) in raw_sendmsg() [all …]
|
D | tcp.c | 329 void tcp_enter_memory_pressure(struct sock *sk) in tcp_enter_memory_pressure() 380 void tcp_init_sock(struct sock *sk) in tcp_init_sock() 431 static void tcp_tx_timestamp(struct sock *sk, struct sk_buff *skb) in tcp_tx_timestamp() 452 struct sock *sk = sock->sk; in tcp_poll() local 548 int tcp_ioctl(struct sock *sk, int cmd, unsigned long arg) in tcp_ioctl() 616 static void skb_entail(struct sock *sk, struct sk_buff *skb) in skb_entail() 649 static bool tcp_should_autocork(struct sock *sk, struct sk_buff *skb, in tcp_should_autocork() 658 static void tcp_push(struct sock *sk, int flags, int mss_now, in tcp_push() 706 static int __tcp_splice_read(struct sock *sk, struct tcp_splice_state *tss) in __tcp_splice_read() 733 struct sock *sk = sock->sk; in tcp_splice_read() local [all …]
|
D | tcp_vegas.c | 70 static void vegas_enable(struct sock *sk) in vegas_enable() 86 static inline void vegas_disable(struct sock *sk) in vegas_disable() 93 void tcp_vegas_init(struct sock *sk) in tcp_vegas_init() 110 void tcp_vegas_pkts_acked(struct sock *sk, u32 cnt, s32 rtt_us) in tcp_vegas_pkts_acked() 133 void tcp_vegas_state(struct sock *sk, u8 ca_state) in tcp_vegas_state() 151 void tcp_vegas_cwnd_event(struct sock *sk, enum tcp_ca_event event) in tcp_vegas_cwnd_event() 164 static void tcp_vegas_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcp_vegas_cong_avoid() 289 size_t tcp_vegas_get_info(struct sock *sk, u32 ext, int *attr, in tcp_vegas_get_info()
|
D | tcp_veno.c | 44 static inline void veno_enable(struct sock *sk) in veno_enable() 54 static inline void veno_disable(struct sock *sk) in veno_disable() 62 static void tcp_veno_init(struct sock *sk) in tcp_veno_init() 72 static void tcp_veno_pkts_acked(struct sock *sk, u32 cnt, s32 rtt_us) in tcp_veno_pkts_acked() 94 static void tcp_veno_state(struct sock *sk, u8 ca_state) in tcp_veno_state() 111 static void tcp_veno_cwnd_event(struct sock *sk, enum tcp_ca_event event) in tcp_veno_cwnd_event() 117 static void tcp_veno_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcp_veno_cong_avoid() 190 static u32 tcp_veno_ssthresh(struct sock *sk) in tcp_veno_ssthresh()
|
D | inet_hashtables.c | 42 u32 sk_ehashfn(const struct sock *sk) in sk_ehashfn() 90 void inet_bind_hash(struct sock *sk, struct inet_bind_bucket *tb, in inet_bind_hash() 106 static void __inet_put_port(struct sock *sk) in __inet_put_port() 126 void inet_put_port(struct sock *sk) in inet_put_port() 134 int __inet_inherit_port(struct sock *sk, struct sock *child) in __inet_inherit_port() 172 static inline int compute_score(struct sock *sk, struct net *net, in compute_score() 211 struct sock *sk, *result; in __inet_lookup_listener() local 262 void sock_gen_put(struct sock *sk) in sock_gen_put() 290 struct sock *sk; in __inet_lookup_established() local 333 struct sock *sk, __u16 lport, in __inet_check_established() [all …]
|
D | tcp_dctcp.c | 84 static void dctcp_init(struct sock *sk) in dctcp_init() 112 static u32 dctcp_ssthresh(struct sock *sk) in dctcp_ssthresh() 126 static void dctcp_ce_state_0_to_1(struct sock *sk) in dctcp_ce_state_0_to_1() 156 static void dctcp_ce_state_1_to_0(struct sock *sk) in dctcp_ce_state_1_to_0() 186 static void dctcp_update_alpha(struct sock *sk, u32 flags) in dctcp_update_alpha() 225 static void dctcp_state(struct sock *sk, u8 new_state) in dctcp_state() 242 static void dctcp_update_ack_reserved(struct sock *sk, enum tcp_ca_event ev) in dctcp_update_ack_reserved() 261 static void dctcp_cwnd_event(struct sock *sk, enum tcp_ca_event ev) in dctcp_cwnd_event() 280 static size_t dctcp_get_info(struct sock *sk, u32 ext, int *attr, in dctcp_get_info()
|
D | tcp_ipv4.c | 108 int tcp_twsk_unique(struct sock *sk, struct sock *sktw, void *twp) in tcp_twsk_unique() 141 int tcp_v4_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len) in tcp_v4_connect() 272 void tcp_v4_mtu_reduced(struct sock *sk) in tcp_v4_mtu_reduced() 305 static void do_redirect(struct sk_buff *skb, struct sock *sk) in do_redirect() 315 void tcp_req_err(struct sock *sk, u32 seq) in tcp_req_err() 366 struct sock *sk; in tcp_v4_err() local 558 void tcp_v4_send_check(struct sock *sk, struct sk_buff *skb) in tcp_v4_send_check() 579 static void tcp_v4_send_reset(struct sock *sk, struct sk_buff *skb) in tcp_v4_send_reset() 780 static void tcp_v4_timewait_ack(struct sock *sk, struct sk_buff *skb) in tcp_v4_timewait_ack() 799 static void tcp_v4_reqsk_send_ack(struct sock *sk, struct sk_buff *skb, in tcp_v4_reqsk_send_ack() [all …]
|
D | tcp_westwood.c | 60 static void tcp_westwood_init(struct sock *sk) in tcp_westwood_init() 102 static void tcp_westwood_pkts_acked(struct sock *sk, u32 cnt, s32 rtt) in tcp_westwood_pkts_acked() 115 static void westwood_update_window(struct sock *sk) in westwood_update_window() 161 static inline void westwood_fast_bw(struct sock *sk) in westwood_fast_bw() 178 static inline u32 westwood_acked_count(struct sock *sk) in westwood_acked_count() 215 static u32 tcp_westwood_bw_rttmin(const struct sock *sk) in tcp_westwood_bw_rttmin() 223 static void tcp_westwood_ack(struct sock *sk, u32 ack_flags) in tcp_westwood_ack() 238 static void tcp_westwood_event(struct sock *sk, enum tcp_ca_event event) in tcp_westwood_event() 259 static size_t tcp_westwood_info(struct sock *sk, u32 ext, int *attr, in tcp_westwood_info()
|
D | udp.c | 139 struct sock *sk, in udp_lib_lport_inuse() 172 struct sock *sk, in udp_lib_lport_inuse2() 209 int udp_lib_get_port(struct sock *sk, unsigned short snum, in udp_lib_get_port() 328 int udp_v4_get_port(struct sock *sk, unsigned short snum) in udp_v4_get_port() 340 static inline int compute_score(struct sock *sk, struct net *net, in compute_score() 385 static inline int compute_score2(struct sock *sk, struct net *net, in compute_score2() 443 struct sock *sk, *result; in udp4_lib_lookup2() local 496 struct sock *sk, *result; in __udp4_lib_lookup() local 591 static inline bool __udp_is_mcast_sock(struct net *net, struct sock *sk, in __udp_is_mcast_sock() 629 struct sock *sk; in __udp4_lib_err() local [all …]
|
D | af_inet.c | 131 void inet_sock_destruct(struct sock *sk) in inet_sock_destruct() 172 static int inet_autobind(struct sock *sk) in inet_autobind() 194 struct sock *sk = sock->sk; in inet_listen() local 254 struct sock *sk; in inet_create() local 398 struct sock *sk = sock->sk; in inet_release() local 427 struct sock *sk = sock->sk; in inet_bind() local 521 struct sock *sk = sock->sk; in inet_dgram_connect() local 534 static long inet_wait_for_connect(struct sock *sk, long timeo, int writebias) in inet_wait_for_connect() 566 struct sock *sk = sock->sk; in __inet_stream_connect() local 699 struct sock *sk = sock->sk; in inet_getname() local [all …]
|
D | ping.c | 82 int ping_get_port(struct sock *sk, unsigned short ident) in ping_get_port() 148 void ping_hash(struct sock *sk) in ping_hash() 154 void ping_unhash(struct sock *sk) in ping_unhash() 174 struct sock *sk = NULL; in ping_lookup() local 254 int ping_init_sock(struct sock *sk) in ping_init_sock() 291 void ping_close(struct sock *sk, long timeout) in ping_close() 302 static int ping_check_bind_addr(struct sock *sk, struct inet_sock *isk, in ping_check_bind_addr() 379 static void ping_set_saddr(struct sock *sk, struct sockaddr *saddr) in ping_set_saddr() 394 static void ping_clear_saddr(struct sock *sk, int dif) in ping_clear_saddr() 413 int ping_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len) in ping_bind() [all …]
|
D | ip_output.c | 94 int __ip_local_out_sk(struct sock *sk, struct sk_buff *skb) in __ip_local_out_sk() 109 int ip_local_out_sk(struct sock *sk, struct sk_buff *skb) in ip_local_out_sk() 134 int ip_build_and_send_pkt(struct sk_buff *skb, struct sock *sk, in ip_build_and_send_pkt() 171 static inline int ip_finish_output2(struct sock *sk, struct sk_buff *skb) in ip_finish_output2() 219 static int ip_finish_output_gso(struct sock *sk, struct sk_buff *skb) in ip_finish_output_gso() 262 static int ip_finish_output(struct sock *sk, struct sk_buff *skb) in ip_finish_output() 280 int ip_mc_output(struct sock *sk, struct sk_buff *skb) in ip_mc_output() 340 int ip_output(struct sock *sk, struct sk_buff *skb) in ip_output() 370 int ip_queue_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl) in ip_queue_xmit() 489 int ip_fragment(struct sock *sk, struct sk_buff *skb, in ip_fragment() [all …]
|
D | tcp_illinois.c | 56 static void rtt_reset(struct sock *sk) in rtt_reset() 68 static void tcp_illinois_init(struct sock *sk) in tcp_illinois_init() 85 static void tcp_illinois_acked(struct sock *sk, u32 pkts_acked, s32 rtt) in tcp_illinois_acked() 220 static void update_params(struct sock *sk) in update_params() 242 static void tcp_illinois_state(struct sock *sk, u8 new_state) in tcp_illinois_state() 258 static void tcp_illinois_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcp_illinois_cong_avoid() 293 static u32 tcp_illinois_ssthresh(struct sock *sk) in tcp_illinois_ssthresh() 303 static size_t tcp_illinois_info(struct sock *sk, u32 ext, int *attr, in tcp_illinois_info()
|
D | tcp_bic.c | 70 static void bictcp_init(struct sock *sk) in bictcp_init() 141 static void bictcp_cong_avoid(struct sock *sk, u32 ack, u32 acked) in bictcp_cong_avoid() 161 static u32 bictcp_recalc_ssthresh(struct sock *sk) in bictcp_recalc_ssthresh() 183 static u32 bictcp_undo_cwnd(struct sock *sk) in bictcp_undo_cwnd() 191 static void bictcp_state(struct sock *sk, u8 new_state) in bictcp_state() 200 static void bictcp_acked(struct sock *sk, u32 cnt, s32 rtt) in bictcp_acked()
|
D | tcp_lp.c | 95 static void tcp_lp_init(struct sock *sk) in tcp_lp_init() 118 static void tcp_lp_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcp_lp_cong_avoid() 133 static u32 tcp_lp_remote_hz_estimator(struct sock *sk) in tcp_lp_remote_hz_estimator() 186 static u32 tcp_lp_owd_calculator(struct sock *sk) in tcp_lp_owd_calculator() 220 static void tcp_lp_rtt_sample(struct sock *sk, u32 rtt) in tcp_lp_rtt_sample() 263 static void tcp_lp_pkts_acked(struct sock *sk, u32 num_acked, s32 rtt_us) in tcp_lp_pkts_acked()
|
D | tcp_htcp.c | 67 static u32 htcp_cwnd_undo(struct sock *sk) in htcp_cwnd_undo() 82 static inline void measure_rtt(struct sock *sk, u32 srtt) in measure_rtt() 101 static void measure_achieved_throughput(struct sock *sk, in measure_achieved_throughput() 208 static void htcp_param_update(struct sock *sk) in htcp_param_update() 222 static u32 htcp_recalc_ssthresh(struct sock *sk) in htcp_recalc_ssthresh() 231 static void htcp_cong_avoid(struct sock *sk, u32 ack, u32 acked) in htcp_cong_avoid() 257 static void htcp_init(struct sock *sk) in htcp_init() 268 static void htcp_state(struct sock *sk, u8 new_state) in htcp_state()
|
D | tcp_cubic.c | 129 static inline void bictcp_hystart_reset(struct sock *sk) in bictcp_hystart_reset() 140 static void bictcp_init(struct sock *sk) in bictcp_init() 154 static void bictcp_cwnd_event(struct sock *sk, enum tcp_ca_event event) in bictcp_cwnd_event() 336 static void bictcp_cong_avoid(struct sock *sk, u32 ack, u32 acked) in bictcp_cong_avoid() 355 static u32 bictcp_recalc_ssthresh(struct sock *sk) in bictcp_recalc_ssthresh() 374 static u32 bictcp_undo_cwnd(struct sock *sk) in bictcp_undo_cwnd() 381 static void bictcp_state(struct sock *sk, u8 new_state) in bictcp_state() 389 static void hystart_update(struct sock *sk, u32 delay) in hystart_update() 440 static void bictcp_acked(struct sock *sk, u32 cnt, s32 rtt_us) in bictcp_acked()
|
D | tcp_cong.c | 150 void tcp_assign_congestion_control(struct sock *sk) in tcp_assign_congestion_control() 175 void tcp_init_congestion_control(struct sock *sk) in tcp_init_congestion_control() 183 static void tcp_reinit_congestion_control(struct sock *sk, in tcp_reinit_congestion_control() 197 void tcp_cleanup_congestion_control(struct sock *sk) in tcp_cleanup_congestion_control() 327 int tcp_set_congestion_control(struct sock *sk, const char *name) in tcp_set_congestion_control() 408 void tcp_reno_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcp_reno_cong_avoid() 427 u32 tcp_reno_ssthresh(struct sock *sk) in tcp_reno_ssthresh()
|
D | tcp_minisocks.c | 269 void tcp_time_wait(struct sock *sk, int state, int timeo) in tcp_time_wait() 355 void tcp_twsk_destructor(struct sock *sk) in tcp_twsk_destructor() 367 struct sock *sk, struct dst_entry *dst) in tcp_openreq_init_rwin() 403 void tcp_ca_openreq_child(struct sock *sk, const struct dst_entry *dst) in tcp_ca_openreq_child() 438 struct sock *tcp_create_openreq_child(struct sock *sk, struct request_sock *req, struct sk_buff *sk… in tcp_create_openreq_child() 558 struct sock *tcp_check_req(struct sock *sk, struct sk_buff *skb, in tcp_check_req()
|
D | ip_sockglue.c | 317 int ip_ra_control(struct sock *sk, unsigned char on, in ip_ra_control() 371 void ip_icmp_error(struct sock *sk, struct sk_buff *skb, int err, in ip_icmp_error() 400 void ip_local_error(struct sock *sk, int err, __be32 daddr, __be16 port, u32 info) in ip_local_error() 451 static bool ipv4_datagram_support_cmsg(const struct sock *sk, in ipv4_datagram_support_cmsg() 480 int ip_recv_error(struct sock *sk, struct msghdr *msg, int len, int *addr_len) in ip_recv_error() 572 static int do_ip_setsockopt(struct sock *sk, int level, in do_ip_setsockopt() 1176 void ipv4_pktinfo_prepare(const struct sock *sk, struct sk_buff *skb) in ipv4_pktinfo_prepare() 1192 int ip_setsockopt(struct sock *sk, int level, in ip_setsockopt() 1217 int compat_ip_setsockopt(struct sock *sk, int level, int optname, in compat_ip_setsockopt() 1252 static int do_ip_getsockopt(struct sock *sk, int level, int optname, in do_ip_getsockopt() [all …]
|
D | tcp_hybla.c | 33 static inline void hybla_recalc_param (struct sock *sk) in hybla_recalc_param() 45 static void hybla_init(struct sock *sk) in hybla_init() 67 static void hybla_state(struct sock *sk, u8 ca_state) in hybla_state() 89 static void hybla_cong_avoid(struct sock *sk, u32 ack, u32 acked) in hybla_cong_avoid()
|
D | datagram.c | 23 int __ip4_datagram_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len) in __ip4_datagram_connect() 87 int ip4_datagram_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len) in ip4_datagram_connect() 102 void ip4_datagram_release_cb(struct sock *sk) in ip4_datagram_release_cb()
|
D | xfrm4_output.c | 72 int xfrm4_output_finish(struct sock *sk, struct sk_buff *skb) in xfrm4_output_finish() 83 static int __xfrm4_output(struct sock *sk, struct sk_buff *skb) in __xfrm4_output() 97 int xfrm4_output(struct sock *sk, struct sk_buff *skb) in xfrm4_output()
|
D | tcp_yeah.c | 42 static void tcp_yeah_init(struct sock *sk) in tcp_yeah_init() 59 static void tcp_yeah_pkts_acked(struct sock *sk, u32 pkts_acked, s32 rtt_us) in tcp_yeah_pkts_acked() 70 static void tcp_yeah_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcp_yeah_cong_avoid() 204 static u32 tcp_yeah_ssthresh(struct sock *sk) in tcp_yeah_ssthresh()
|
D | inet_diag.c | 69 static void inet_diag_msg_common_fill(struct inet_diag_msg *r, struct sock *sk) in inet_diag_msg_common_fill() 107 int inet_sk_diag_fill(struct sock *sk, struct inet_connection_sock *icsk, in inet_sk_diag_fill() 250 static int inet_csk_diag_fill(struct sock *sk, in inet_csk_diag_fill() 261 static int inet_twsk_diag_fill(struct sock *sk, in inet_twsk_diag_fill() 298 static int inet_req_diag_fill(struct sock *sk, struct sk_buff *skb, in inet_req_diag_fill() 331 static int sk_diag_fill(struct sock *sk, struct sk_buff *skb, in sk_diag_fill() 356 struct sock *sk; in inet_diag_dump_one_icsk() local 544 const struct sock *sk) in entry_fill_addrs() 558 int inet_diag_bc_sk(const struct nlattr *bc, struct sock *sk) in inet_diag_bc_sk() 688 static int inet_csk_diag_dump(struct sock *sk, in inet_csk_diag_dump() [all …]
|
D | tcp_highspeed.c | 99 static void hstcp_init(struct sock *sk) in hstcp_init() 111 static void hstcp_cong_avoid(struct sock *sk, u32 ack, u32 acked) in hstcp_cong_avoid() 150 static u32 hstcp_ssthresh(struct sock *sk) in hstcp_ssthresh()
|
D | udp_diag.c | 20 static int sk_diag_dump(struct sock *sk, struct sk_buff *skb, in sk_diag_dump() 39 struct sock *sk; in udp_dump_one() local 106 struct sock *sk; in udp_dump() local 161 static void udp_diag_get_info(struct sock *sk, struct inet_diag_msg *r, in udp_diag_get_info()
|
D | tcp_scalable.c | 18 static void tcp_scalable_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcp_scalable_cong_avoid() 32 static u32 tcp_scalable_ssthresh(struct sock *sk) in tcp_scalable_ssthresh()
|
D | ip_input.c | 161 struct sock *sk = ra->sk; in ip_call_ra_chain() local 190 static int ip_local_deliver_finish(struct sock *sk, struct sk_buff *skb) in ip_local_deliver_finish() 313 static int ip_rcv_finish(struct sock *sk, struct sk_buff *skb) in ip_rcv_finish()
|
D | tcp_fastopen.c | 127 static bool tcp_fastopen_create_child(struct sock *sk, in tcp_fastopen_create_child() 224 static bool tcp_fastopen_queue_check(struct sock *sk) in tcp_fastopen_queue_check() 264 bool tcp_try_fastopen(struct sock *sk, struct sk_buff *skb, in tcp_try_fastopen()
|
D | xfrm4_input.c | 25 static inline int xfrm4_rcv_encap_finish(struct sock *sk, struct sk_buff *skb) in xfrm4_rcv_encap_finish() 68 int xfrm4_udp_encap_rcv(struct sock *sk, struct sk_buff *skb) in xfrm4_udp_encap_rcv()
|
D | inet_timewait_sock.c | 131 void __inet_twsk_hashdance(struct inet_timewait_sock *tw, struct sock *sk, in __inet_twsk_hashdance() 186 struct inet_timewait_sock *inet_twsk_alloc(const struct sock *sk, in inet_twsk_alloc() 289 struct sock *sk; in inet_twsk_purge() local
|
D | udp_tunnel.c | 60 struct sock *sk = sock->sk; in setup_udp_tunnel_sock() local 78 int udp_tunnel_xmit_skb(struct rtable *rt, struct sock *sk, struct sk_buff *skb, in udp_tunnel_xmit_skb()
|
D | tcp_metrics.c | 328 static struct tcp_metrics_block *tcp_get_metrics(struct sock *sk, in tcp_get_metrics() 383 void tcp_update_metrics(struct sock *sk) in tcp_update_metrics() 504 void tcp_init_metrics(struct sock *sk) in tcp_init_metrics() 626 void tcp_fetch_timewait_stamp(struct sock *sk, struct dst_entry *dst) in tcp_fetch_timewait_stamp() 649 bool tcp_remember_stamp(struct sock *sk) in tcp_remember_stamp() 684 struct sock *sk = (struct sock *) tw; in tcp_tw_remember_stamp() local 702 void tcp_fastopen_cache_get(struct sock *sk, u16 *mss, in tcp_fastopen_cache_get() 728 void tcp_fastopen_cache_set(struct sock *sk, u16 mss, in tcp_fastopen_cache_set()
|
D | icmp.c | 213 struct sock *sk; in icmp_xmit_lock() local 229 static inline void icmp_xmit_unlock(struct sock *sk) in icmp_xmit_unlock() 356 struct sock *sk; in icmp_push_reply() local 393 struct sock *sk; in icmp_reply() local 556 struct sock *sk; in icmp_send() local 1157 struct sock *sk; in icmp_sk_init() local
|
/linux-4.1.27/net/core/ |
D | sock.c | 158 bool sk_ns_capable(const struct sock *sk, in sk_ns_capable() 175 bool sk_capable(const struct sock *sk, int cap) in sk_capable() 190 bool sk_net_capable(const struct sock *sk, int cap) in sk_net_capable() 341 void sk_set_memalloc(struct sock *sk) in sk_set_memalloc() 349 void sk_clear_memalloc(struct sock *sk) in sk_clear_memalloc() 366 int __sk_backlog_rcv(struct sock *sk, struct sk_buff *skb) in __sk_backlog_rcv() 424 static void sock_disable_timestamp(struct sock *sk, unsigned long flags) in sock_disable_timestamp() 434 int sock_queue_rcv_skb(struct sock *sk, struct sk_buff *skb) in sock_queue_rcv_skb() 474 int sk_receive_skb(struct sock *sk, struct sk_buff *skb, const int nested) in sk_receive_skb() 516 struct dst_entry *__sk_dst_check(struct sock *sk, u32 cookie) in __sk_dst_check() [all …]
|
D | stream.c | 28 void sk_stream_write_space(struct sock *sk) in sk_stream_write_space() 55 int sk_stream_wait_connect(struct sock *sk, long *timeo_p) in sk_stream_wait_connect() 89 static inline int sk_stream_closing(struct sock *sk) in sk_stream_closing() 95 void sk_stream_wait_close(struct sock *sk, long timeout) in sk_stream_wait_close() 117 int sk_stream_wait_memory(struct sock *sk, long *timeo_p) in sk_stream_wait_memory() 176 int sk_stream_error(struct sock *sk, int flags, int err) in sk_stream_error() 186 void sk_stream_kill_queues(struct sock *sk) in sk_stream_kill_queues()
|
D | sock_diag.c | 16 static u64 sock_gen_cookie(struct sock *sk) in sock_gen_cookie() 28 int sock_diag_check_cookie(struct sock *sk, const __u32 *cookie) in sock_diag_check_cookie() 43 void sock_diag_save_cookie(struct sock *sk, __u32 *cookie) in sock_diag_save_cookie() 52 int sock_diag_put_meminfo(struct sock *sk, struct sk_buff *skb, int attrtype) in sock_diag_put_meminfo() 69 int sock_diag_put_filterinfo(bool may_report_filterinfo, struct sock *sk, in sock_diag_put_filterinfo()
|
D | datagram.c | 66 static inline int connection_based(struct sock *sk) in connection_based() 86 static int wait_for_more_packets(struct sock *sk, int *err, long *timeo_p, in wait_for_more_packets() 194 struct sk_buff *__skb_recv_datagram(struct sock *sk, unsigned int flags, in __skb_recv_datagram() 268 struct sk_buff *skb_recv_datagram(struct sock *sk, unsigned int flags, in skb_recv_datagram() 278 void skb_free_datagram(struct sock *sk, struct sk_buff *skb) in skb_free_datagram() 285 void skb_free_datagram_locked(struct sock *sk, struct sk_buff *skb) in skb_free_datagram_locked() 325 int skb_kill_datagram(struct sock *sk, struct sk_buff *skb, unsigned int flags) in skb_kill_datagram() 755 struct sock *sk = sock->sk; in datagram_poll() local
|
D | filter.c | 61 int sk_filter(struct sock *sk, struct sk_buff *skb) in sk_filter() 905 void sk_filter_uncharge(struct sock *sk, struct sk_filter *fp) in sk_filter_uncharge() 916 bool sk_filter_charge(struct sock *sk, struct sk_filter *fp) in sk_filter_charge() 1073 static int __sk_attach_prog(struct bpf_prog *prog, struct sock *sk) in __sk_attach_prog() 1109 int sk_attach_filter(struct sock_fprog *fprog, struct sock *sk) in sk_attach_filter() 1157 int sk_attach_bpf(u32 ufd, struct sock *sk) in sk_attach_bpf() 1500 int sk_detach_filter(struct sock *sk) in sk_detach_filter() 1520 int sk_get_filter(struct sock *sk, struct sock_filter __user *ubuf, in sk_get_filter()
|
/linux-4.1.27/net/bluetooth/rfcomm/ |
D | sock.c | 51 struct sock *sk = d->owner; in rfcomm_sk_data_ready() local 65 struct sock *sk = d->owner, *parent; in rfcomm_sk_state_change() local 110 struct sock *sk = NULL; in __rfcomm_get_listen_sock_by_addr() local 131 struct sock *sk = NULL, *sk1 = NULL; in rfcomm_get_sock_by_channel() local 155 static void rfcomm_sock_destruct(struct sock *sk) in rfcomm_sock_destruct() 177 struct sock *sk; in rfcomm_sock_cleanup_listen() local 194 static void rfcomm_sock_kill(struct sock *sk) in rfcomm_sock_kill() 207 static void __rfcomm_sock_close(struct sock *sk) in __rfcomm_sock_close() 233 static void rfcomm_sock_close(struct sock *sk) in rfcomm_sock_close() 240 static void rfcomm_sock_init(struct sock *sk, struct sock *parent) in rfcomm_sock_init() [all …]
|
/linux-4.1.27/net/sctp/ |
D | socket.c | 109 static void sctp_enter_memory_pressure(struct sock *sk) in sctp_enter_memory_pressure() 151 struct sock *sk = asoc->base.sk; in sctp_set_owner_w() local 172 static inline int sctp_verify_addr(struct sock *sk, union sctp_addr *addr, in sctp_verify_addr() 195 struct sctp_association *sctp_id2assoc(struct sock *sk, sctp_assoc_t id) in sctp_id2assoc() 233 static struct sctp_transport *sctp_addr_id2transport(struct sock *sk, in sctp_addr_id2transport() 268 static int sctp_bind(struct sock *sk, struct sockaddr *addr, int addr_len) in sctp_bind() 322 static int sctp_do_bind(struct sock *sk, union sctp_addr *addr, int len) in sctp_do_bind() 448 static int sctp_bindx_add(struct sock *sk, struct sockaddr *addrs, int addrcnt) in sctp_bindx_add() 498 static int sctp_send_asconf_add_ip(struct sock *sk, in sctp_send_asconf_add_ip() 622 static int sctp_bindx_rem(struct sock *sk, struct sockaddr *addrs, int addrcnt) in sctp_bindx_rem() [all …]
|
D | endpointola.c | 58 struct sock *sk, in sctp_endpoint_init() 184 struct sctp_endpoint *sctp_endpoint_new(struct sock *sk, gfp_t gfp) in sctp_endpoint_new() 209 struct sock *sk = ep->base.sk; in sctp_endpoint_add_asoc() local 244 struct sock *sk; in sctp_endpoint_destroy() local 410 struct sock *sk; in sctp_endpoint_bh_rcv() local
|
D | ipv6.c | 145 struct sock *sk; in sctp_v6_err() local 209 struct sock *sk = skb->sk; in sctp_v6_xmit() local 230 struct flowi *fl, struct sock *sk) in sctp_v6_get_dst() 356 static void sctp_v6_get_saddr(struct sctp_sock *sk, in sctp_v6_get_saddr() 427 static void sctp_v6_from_sk(union sctp_addr *addr, struct sock *sk) in sctp_v6_from_sk() 435 static void sctp_v6_to_sk_saddr(union sctp_addr *addr, struct sock *sk) in sctp_v6_to_sk_saddr() 449 static void sctp_v6_to_sk_daddr(union sctp_addr *addr, struct sock *sk) in sctp_v6_to_sk_daddr() 631 static struct sock *sctp_v6_create_accept_sk(struct sock *sk, in sctp_v6_create_accept_sk() 720 static void sctp_v6_ecn_capable(struct sock *sk) in sctp_v6_ecn_capable() 813 struct sock *sk = sctp_opt2sk(opt); in sctp_inet6_cmp_addr() local
|
D | input.c | 109 struct sock *sk; in sctp_rcv() local 303 int sctp_backlog_rcv(struct sock *sk, struct sk_buff *skb) in sctp_backlog_rcv() 365 static int sctp_add_backlog(struct sock *sk, struct sk_buff *skb) in sctp_add_backlog() 389 void sctp_icmp_frag_needed(struct sock *sk, struct sctp_association *asoc, in sctp_icmp_frag_needed() 418 void sctp_icmp_redirect(struct sock *sk, struct sctp_transport *t, in sctp_icmp_redirect() 441 void sctp_icmp_proto_unreachable(struct sock *sk, in sctp_icmp_proto_unreachable() 478 struct sock *sk = NULL; in sctp_err_lookup() local 547 void sctp_err_finish(struct sock *sk, struct sctp_association *asoc) in sctp_err_finish() 574 struct sock *sk; in sctp_v4_err() local
|
D | protocol.c | 254 static void sctp_v4_from_sk(union sctp_addr *addr, struct sock *sk) in sctp_v4_from_sk() 262 static void sctp_v4_to_sk_saddr(union sctp_addr *addr, struct sock *sk) in sctp_v4_to_sk_saddr() 268 static void sctp_v4_to_sk_daddr(union sctp_addr *addr, struct sock *sk) in sctp_v4_to_sk_daddr() 424 struct flowi *fl, struct sock *sk) in sctp_v4_get_dst() 525 static void sctp_v4_get_saddr(struct sctp_sock *sk, in sctp_v4_get_saddr() 551 static struct sock *sctp_v4_create_accept_sk(struct sock *sk, in sctp_v4_create_accept_sk() 593 static void sctp_v4_ecn_capable(struct sock *sk) in sctp_v4_ecn_capable() 638 struct sock *sk; in sctp_addr_wq_timeout_handler() local
|
D | sm_sideeffect.c | 247 struct sock *sk = asoc->base.sk; in sctp_generate_t3_rtx_event() local 289 struct sock *sk = asoc->base.sk; in sctp_generate_timeout_event() local 370 struct sock *sk = asoc->base.sk; in sctp_generate_heartbeat_event() local 409 struct sock *sk = asoc->base.sk; in sctp_generate_proto_unreach_event() local 803 struct sock *sk = asoc->base.sk; in sctp_cmd_new_state() local 856 struct sock *sk = asoc->base.sk; in sctp_cmd_delete_tcb() local 969 struct sock *sk = asoc->base.sk; in sctp_cmd_set_sk_err() local
|
/linux-4.1.27/net/phonet/ |
D | pep.c | 81 static struct sk_buff *pep_alloc_skb(struct sock *sk, const void *payload, in pep_alloc_skb() 97 static int pep_reply(struct sock *sk, struct sk_buff *oskb, u8 code, in pep_reply() 119 static int pep_indicate(struct sock *sk, u8 id, u8 code, in pep_indicate() 140 static int pipe_handler_request(struct sock *sk, u8 id, u8 code, in pipe_handler_request() 159 static int pipe_handler_send_created_ind(struct sock *sk) in pipe_handler_send_created_ind() 171 static int pep_accept_conn(struct sock *sk, struct sk_buff *skb) in pep_accept_conn() 192 static int pep_reject_conn(struct sock *sk, struct sk_buff *skb, u8 code, in pep_reject_conn() 202 static int pep_ctrlreq_error(struct sock *sk, struct sk_buff *oskb, u8 code, in pep_ctrlreq_error() 229 static int pipe_snd_status(struct sock *sk, u8 type, u8 status, gfp_t priority) in pipe_snd_status() 239 static void pipe_grant_credits(struct sock *sk, gfp_t priority) in pipe_grant_credits() [all …]
|
D | socket.c | 41 struct sock *sk = sock->sk; in pn_socket_release() local 143 void pn_sock_hash(struct sock *sk) in pn_sock_hash() 153 void pn_sock_unhash(struct sock *sk) in pn_sock_unhash() 167 struct sock *sk = sock->sk; in pn_socket_bind() local 229 struct sock *sk = sock->sk; in pn_socket_connect() local 306 struct sock *sk = sock->sk; in pn_socket_accept() local 327 struct sock *sk = sock->sk; in pn_socket_getname() local 343 struct sock *sk = sock->sk; in pn_socket_poll() local 369 struct sock *sk = sock->sk; in pn_socket_ioctl() local 406 struct sock *sk = sock->sk; in pn_socket_listen() local [all …]
|
D | datagram.c | 39 static void pn_sock_close(struct sock *sk, long timeout) in pn_sock_close() 44 static int pn_ioctl(struct sock *sk, int cmd, unsigned long arg) in pn_ioctl() 75 static void pn_destruct(struct sock *sk) in pn_destruct() 80 static int pn_init(struct sock *sk) in pn_init() 86 static int pn_sendmsg(struct sock *sk, struct msghdr *msg, size_t len) in pn_sendmsg() 127 static int pn_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, in pn_recvmsg() 173 static int pn_backlog_rcv(struct sock *sk, struct sk_buff *skb) in pn_backlog_rcv()
|
D | pep-gprs.c | 38 struct sock *sk; member 76 static void gprs_state_change(struct sock *sk) in gprs_state_change() 149 static void gprs_data_ready(struct sock *sk) in gprs_data_ready() 160 static void gprs_write_space(struct sock *sk) in gprs_write_space() 189 struct sock *sk = gp->sk; in gprs_xmit() local 258 int gprs_attach(struct sock *sk) in gprs_attach() 312 void gprs_detach(struct sock *sk) in gprs_detach()
|
D | af_phonet.c | 66 struct sock *sk; in pn_socket_create() local 237 int pn_skb_send(struct sock *sk, struct sk_buff *skb, in pn_skb_send() 265 struct sock *sk = pn_find_sock_by_res(net, res); in pn_skb_send() local 408 struct sock *sk = pn_find_sock_by_res(net, sa.spn_resource); in phonet_rcv() local 416 struct sock *sk = pn_find_sock_by_sa(net, &sa); in phonet_rcv() local
|
/linux-4.1.27/net/dccp/ccids/ |
D | ccid2.c | 79 static int ccid2_hc_tx_send_packet(struct sock *sk, struct sk_buff *skb) in ccid2_hc_tx_send_packet() 86 static void ccid2_change_l_ack_ratio(struct sock *sk, u32 val) in ccid2_change_l_ack_ratio() 104 static void ccid2_check_l_ack_ratio(struct sock *sk) in ccid2_check_l_ack_ratio() 122 static void ccid2_change_l_seq_window(struct sock *sk, u64 val) in ccid2_change_l_seq_window() 131 struct sock *sk = (struct sock *)data; in ccid2_hc_tx_rto_expire() local 194 static void ccid2_cwnd_application_limited(struct sock *sk, const u32 now) in ccid2_cwnd_application_limited() 213 static void ccid2_cwnd_restart(struct sock *sk, const u32 now) in ccid2_cwnd_restart() 232 static void ccid2_hc_tx_packet_sent(struct sock *sk, unsigned int len) in ccid2_hc_tx_packet_sent() 356 static void ccid2_rtt_estimator(struct sock *sk, const long mrtt) in ccid2_rtt_estimator() 426 static void ccid2_new_ack(struct sock *sk, struct ccid2_seq *seqp, in ccid2_new_ack() [all …]
|
D | ccid3.c | 63 static void ccid3_hc_tx_set_state(struct sock *sk, in ccid3_hc_tx_set_state() 85 static inline u64 rfc3390_initial_rate(struct sock *sk) in rfc3390_initial_rate() 124 static void ccid3_hc_tx_update_x(struct sock *sk, ktime_t *stamp) in ccid3_hc_tx_update_x() 200 struct sock *sk = (struct sock *)data; in ccid3_hc_tx_no_feedback_timer() local 280 static int ccid3_hc_tx_send_packet(struct sock *sk, struct sk_buff *skb) in ccid3_hc_tx_send_packet() 357 static void ccid3_hc_tx_packet_sent(struct sock *sk, unsigned int len) in ccid3_hc_tx_packet_sent() 367 static void ccid3_hc_tx_packet_recv(struct sock *sk, struct sk_buff *skb) in ccid3_hc_tx_packet_recv() 465 static int ccid3_hc_tx_parse_options(struct sock *sk, u8 packet_type, in ccid3_hc_tx_parse_options() 502 static int ccid3_hc_tx_init(struct ccid *ccid, struct sock *sk) in ccid3_hc_tx_init() 513 static void ccid3_hc_tx_exit(struct sock *sk) in ccid3_hc_tx_exit() [all …]
|
/linux-4.1.27/net/nfc/ |
D | rawsock.c | 34 static void nfc_sock_link(struct nfc_sock_list *l, struct sock *sk) in nfc_sock_link() 41 static void nfc_sock_unlink(struct nfc_sock_list *l, struct sock *sk) in nfc_sock_unlink() 48 static void rawsock_write_queue_purge(struct sock *sk) in rawsock_write_queue_purge() 58 static void rawsock_report_error(struct sock *sk, int err) in rawsock_report_error() 71 struct sock *sk = sock->sk; in rawsock_release() local 90 struct sock *sk = sock->sk; in rawsock_connect() local 153 struct sock *sk = (struct sock *) context; in rawsock_data_exchange_complete() local 190 struct sock *sk = to_rawsock_sk(work); in rawsock_tx_work() local 216 struct sock *sk = sock->sk; in rawsock_sendmsg() local 254 struct sock *sk = sock->sk; in rawsock_recvmsg() local [all …]
|
D | llcp_sock.c | 28 static int sock_wait_state(struct sock *sk, int state, unsigned long timeo) in sock_wait_state() 72 struct sock *sk = sock->sk; in llcp_sock_bind() local 146 struct sock *sk = sock->sk; in llcp_raw_sock_bind() local 199 struct sock *sk = sock->sk; in llcp_sock_listen() local 227 struct sock *sk = sock->sk; in nfc_llcp_setsockopt() local 301 struct sock *sk = sock->sk; in nfc_llcp_getsockopt() local 374 void nfc_llcp_accept_unlink(struct sock *sk) in nfc_llcp_accept_unlink() 387 void nfc_llcp_accept_enqueue(struct sock *parent, struct sock *sk) in nfc_llcp_accept_enqueue() 405 struct sock *sk; in nfc_llcp_accept_dequeue() local 446 struct sock *sk = sock->sk, *new_sk; in llcp_sock_accept() local [all …]
|
D | llcp_core.c | 35 void nfc_llcp_sock_link(struct llcp_sock_list *l, struct sock *sk) in nfc_llcp_sock_link() 42 void nfc_llcp_sock_unlink(struct llcp_sock_list *l, struct sock *sk) in nfc_llcp_sock_unlink() 81 struct sock *sk; in nfc_llcp_socket_release() local 201 struct sock *sk; in nfc_llcp_sock_get() local 342 struct sock *sk; in nfc_llcp_sock_from_sn() local 674 struct sock *sk; in nfc_llcp_send_to_raw_sock() local 715 struct sock *sk; in nfc_llcp_tx_work() local 778 struct sock *sk; in nfc_llcp_connecting_sock_get() local 1028 struct sock *sk; in nfc_llcp_recv_hdlc() local 1115 struct sock *sk; in nfc_llcp_recv_disc() local [all …]
|
D | nfc.h | 37 struct sock sk; member 49 #define nfc_rawsock(sk) ((struct nfc_rawsock *) sk) argument
|
/linux-4.1.27/net/decnet/ |
D | dn_nsp_out.c | 76 struct sock *sk = skb->sk; in dn_nsp_send() local 118 struct sk_buff *dn_alloc_skb(struct sock *sk, int size, gfp_t pri) in dn_alloc_skb() 142 unsigned long dn_nsp_persist(struct sock *sk) in dn_nsp_persist() 165 static void dn_nsp_rtt(struct sock *sk, long rtt) in dn_nsp_rtt() 238 void dn_nsp_output(struct sock *sk) in dn_nsp_output() 274 int dn_nsp_xmit_timeout(struct sock *sk) in dn_nsp_xmit_timeout() 301 static __le16 *dn_mk_ack_header(struct sock *sk, struct sk_buff *skb, unsigned char msgflag, int hl… in dn_mk_ack_header() 333 static __le16 *dn_nsp_mk_data_header(struct sock *sk, struct sk_buff *skb, int oth) in dn_nsp_mk_data_header() 351 void dn_nsp_queue_xmit(struct sock *sk, struct sk_buff *skb, in dn_nsp_queue_xmit() 380 int dn_nsp_check_xmit_queue(struct sock *sk, struct sk_buff *skb, struct sk_buff_head *q, unsigned … in dn_nsp_check_xmit_queue() [all …]
|
D | af_decnet.c | 143 struct sock sk; member 163 static struct hlist_head *dn_find_list(struct sock *sk) in dn_find_list() 178 struct sock *sk; in check_port() local 191 static unsigned short port_alloc(struct sock *sk) in port_alloc() 212 static int dn_hash_sock(struct sock *sk) in dn_hash_sock() 236 static void dn_unhash_sock(struct sock *sk) in dn_unhash_sock() 243 static void dn_unhash_sock_bh(struct sock *sk) in dn_unhash_sock_bh() 271 static void dn_rehash_sock(struct sock *sk) in dn_rehash_sock() 377 struct sock *sk; in dn_sklist_find_listener() local 415 struct sock *sk; in dn_find_by_skb() local [all …]
|
D | dn_nsp_in.c | 100 static void dn_ack(struct sock *sk, struct sk_buff *skb, unsigned short ack) in dn_ack() 136 static int dn_process_ack(struct sock *sk, struct sk_buff *skb, int oth) in dn_process_ack() 332 static void dn_nsp_conn_init(struct sock *sk, struct sk_buff *skb) in dn_nsp_conn_init() 344 static void dn_nsp_conn_conf(struct sock *sk, struct sk_buff *skb) in dn_nsp_conn_conf() 387 static void dn_nsp_conn_ack(struct sock *sk, struct sk_buff *skb) in dn_nsp_conn_ack() 399 static void dn_nsp_disc_init(struct sock *sk, struct sk_buff *skb) in dn_nsp_disc_init() 467 static void dn_nsp_disc_conf(struct sock *sk, struct sk_buff *skb) in dn_nsp_disc_conf() 511 static void dn_nsp_linkservice(struct sock *sk, struct sk_buff *skb) in dn_nsp_linkservice() 585 static __inline__ int dn_queue_skb(struct sock *sk, struct sk_buff *skb, int sig, struct sk_buff_he… in dn_queue_skb() 611 static void dn_nsp_otherdata(struct sock *sk, struct sk_buff *skb) in dn_nsp_otherdata() [all …]
|
D | dn_timer.c | 38 void dn_start_slow_timer(struct sock *sk) in dn_start_slow_timer() 44 void dn_stop_slow_timer(struct sock *sk) in dn_stop_slow_timer() 51 struct sock *sk = (struct sock *)arg; in dn_slow_timer() local
|
D | dn_neigh.c | 197 static int dn_neigh_output_packet(struct sock *sk, struct sk_buff *skb) in dn_neigh_output_packet() 209 static int dn_long_output(struct neighbour *neigh, struct sock *sk, in dn_long_output() 256 static int dn_short_output(struct neighbour *neigh, struct sock *sk, in dn_short_output() 298 static int dn_phase3_output(struct neighbour *neigh, struct sock *sk, in dn_phase3_output() 334 int dn_to_neigh_output(struct sock *sk, struct sk_buff *skb) in dn_to_neigh_output() 378 int dn_neigh_router_hello(struct sock *sk, struct sk_buff *skb) in dn_neigh_router_hello() 440 int dn_neigh_endnode_hello(struct sock *sk, struct sk_buff *skb) in dn_neigh_endnode_hello()
|
/linux-4.1.27/sound/usb/usx2y/ |
D | usb_stream.c | 27 static unsigned usb_stream_next_packet_size(struct usb_stream_kernel *sk) in usb_stream_next_packet_size() 34 static void playback_prep_freqn(struct usb_stream_kernel *sk, struct urb *urb) in playback_prep_freqn() 59 static void init_pipe_urbs(struct usb_stream_kernel *sk, unsigned use_packsize, in init_pipe_urbs() 92 static void init_urbs(struct usb_stream_kernel *sk, unsigned use_packsize, in init_urbs() 130 void usb_stream_free(struct usb_stream_kernel *sk) in usb_stream_free() 152 struct usb_stream *usb_stream_new(struct usb_stream_kernel *sk, in usb_stream_new() 236 static bool balance_check(struct usb_stream_kernel *sk, struct urb *urb) in balance_check() 251 static bool balance_playback(struct usb_stream_kernel *sk, struct urb *urb) in balance_playback() 257 static bool balance_capture(struct usb_stream_kernel *sk, struct urb *urb) in balance_capture() 273 static int usb_stream_prepare_playback(struct usb_stream_kernel *sk, in usb_stream_prepare_playback() [all …]
|
/linux-4.1.27/net/unix/ |
D | af_unix.c | 138 #define UNIX_ABSTRACT(sk) (unix_sk(sk)->addr->hash < UNIX_HASH_SIZE) argument 172 #define unix_peer(sk) (unix_sk(sk)->peer) argument 174 static inline int unix_our_peer(struct sock *sk, struct sock *osk) in unix_our_peer() 179 static inline int unix_may_send(struct sock *sk, struct sock *osk) in unix_may_send() 184 static inline int unix_recvq_full(struct sock const *sk) in unix_recvq_full() 238 static void __unix_remove_socket(struct sock *sk) in __unix_remove_socket() 243 static void __unix_insert_socket(struct hlist_head *list, struct sock *sk) in __unix_insert_socket() 249 static inline void unix_remove_socket(struct sock *sk) in unix_remove_socket() 256 static inline void unix_insert_socket(struct hlist_head *list, struct sock *sk) in unix_insert_socket() 364 static int unix_dgram_peer_wake_connect(struct sock *sk, struct sock *other) in unix_dgram_peer_wake_connect() [all …]
|
D | diag.c | 11 static int sk_diag_dump_name(struct sock *sk, struct sk_buff *nlskb) in sk_diag_dump_name() 22 static int sk_diag_dump_vfs(struct sock *sk, struct sk_buff *nlskb) in sk_diag_dump_vfs() 38 static int sk_diag_dump_peer(struct sock *sk, struct sk_buff *nlskb) in sk_diag_dump_peer() 56 static int sk_diag_dump_icons(struct sock *sk, struct sk_buff *nlskb) in sk_diag_dump_icons() 97 static int sk_diag_show_rqlen(struct sock *sk, struct sk_buff *nlskb) in sk_diag_show_rqlen() 112 static int sk_diag_fill(struct sock *sk, struct sk_buff *skb, struct unix_diag_req *req, in sk_diag_fill() 166 static int sk_diag_dump(struct sock *sk, struct sk_buff *skb, struct unix_diag_req *req, in sk_diag_dump() 196 struct sock *sk; in unix_diag_dump() local 226 struct sock *sk; in unix_lookup_by_ino() local 248 struct sock *sk; in unix_diag_get_exact() local
|
/linux-4.1.27/net/can/ |
D | raw.c | 84 struct sock sk; member 113 static inline struct raw_sock *raw_sk(const struct sock *sk) in raw_sk() 120 struct sock *sk = (struct sock *)data; in raw_rcv() local 184 static int raw_enable_filters(struct net_device *dev, struct sock *sk, in raw_enable_filters() 207 static int raw_enable_errfilter(struct net_device *dev, struct sock *sk, in raw_enable_errfilter() 219 static void raw_disable_filters(struct net_device *dev, struct sock *sk, in raw_disable_filters() 230 struct sock *sk, in raw_disable_errfilter() 240 struct sock *sk) in raw_disable_allfilters() 248 static int raw_enable_allfilters(struct net_device *dev, struct sock *sk) in raw_enable_allfilters() 268 struct sock *sk = &ro->sk; in raw_notifier() local [all …]
|
D | bcm.c | 111 struct sock *sk; member 118 struct sock sk; member 129 static inline struct bcm_sock *bcm_sk(const struct sock *sk) in bcm_sk() 162 struct sock *sk = (struct sock *)m->private; in bcm_proc_show() local 294 struct sock *sk = op->sk; in bcm_send_to_user() local 829 int ifindex, struct sock *sk) in bcm_tx_setup() 986 int ifindex, struct sock *sk) in bcm_rx_setup() 1192 static int bcm_tx_send(struct msghdr *msg, int ifindex, struct sock *sk) in bcm_tx_send() 1238 struct sock *sk = sock->sk; in bcm_sendmsg() local 1352 struct sock *sk = &bo->sk; in bcm_notifier() local [all …]
|
/linux-4.1.27/net/l2tp/ |
D | l2tp_ip.c | 45 static inline struct l2tp_ip_sock *l2tp_ip_sk(const struct sock *sk) in l2tp_ip_sk() 52 struct sock *sk; in __l2tp_ip_bind_lookup() local 75 struct sock *sk = __l2tp_ip_bind_lookup(net, laddr, dif, tunnel_id); in l2tp_ip_bind_lookup() local 118 struct sock *sk; in l2tp_ip_recv() local 207 static int l2tp_ip_open(struct sock *sk) in l2tp_ip_open() 219 static void l2tp_ip_close(struct sock *sk, long timeout) in l2tp_ip_close() 228 static void l2tp_ip_destroy_sock(struct sock *sk) in l2tp_ip_destroy_sock() 244 static int l2tp_ip_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len) in l2tp_ip_bind() 303 static int l2tp_ip_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len) in l2tp_ip_connect() 334 static int l2tp_ip_disconnect(struct sock *sk, int flags) in l2tp_ip_disconnect() [all …]
|
D | l2tp_ip6.c | 54 static inline struct l2tp_ip6_sock *l2tp_ip6_sk(const struct sock *sk) in l2tp_ip6_sk() 63 struct sock *sk; in __l2tp_ip6_bind_lookup() local 88 struct sock *sk = __l2tp_ip6_bind_lookup(net, laddr, dif, tunnel_id); in l2tp_ip6_bind_lookup() local 130 struct sock *sk; in l2tp_ip6_recv() local 220 static int l2tp_ip6_open(struct sock *sk) in l2tp_ip6_open() 232 static void l2tp_ip6_close(struct sock *sk, long timeout) in l2tp_ip6_close() 242 static void l2tp_ip6_destroy_sock(struct sock *sk) in l2tp_ip6_destroy_sock() 258 static int l2tp_ip6_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len) in l2tp_ip6_bind() 359 static int l2tp_ip6_connect(struct sock *sk, struct sockaddr *uaddr, in l2tp_ip6_connect() 403 static int l2tp_ip6_disconnect(struct sock *sk, int flags) in l2tp_ip6_disconnect() [all …]
|
D | l2tp_ppp.c | 143 static inline struct l2tp_session *pppol2tp_sock_to_session(struct sock *sk) in pppol2tp_sock_to_session() 193 struct sock *sk = sock->sk; in pppol2tp_recvmsg() local 222 struct sock *sk = NULL; in pppol2tp_recv() local 301 struct sock *sk = sock->sk; in pppol2tp_sendmsg() local 388 struct sock *sk = (struct sock *) chan->private; in pppol2tp_xmit() local 452 struct sock *sk = ps->sock; in pppol2tp_session_close() local 467 static void pppol2tp_session_destruct(struct sock *sk) in pppol2tp_session_destruct() 481 struct sock *sk = sock->sk; in pppol2tp_release() local 532 static int pppol2tp_backlog_recv(struct sock *sk, struct sk_buff *skb) in pppol2tp_backlog_recv() 548 struct sock *sk; in pppol2tp_create() local [all …]
|
D | l2tp_core.c | 118 static inline struct l2tp_tunnel *l2tp_tunnel(struct sock *sk) in l2tp_tunnel() 183 struct sock *sk = NULL; in l2tp_tunnel_sock_lookup() local 207 static void l2tp_tunnel_sock_put(struct sock *sk) in l2tp_tunnel_sock_put() 949 int l2tp_udp_encap_recv(struct sock *sk, struct sk_buff *skb) in l2tp_udp_encap_recv() 1106 struct sock *sk = tunnel->sock; in l2tp_xmit_skb() local 1191 static void l2tp_tunnel_destruct(struct sock *sk) in l2tp_tunnel_destruct() 1292 static void l2tp_udp_encap_destroy(struct sock *sk) in l2tp_udp_encap_destroy() 1317 struct sock *sk = NULL; in l2tp_tunnel_del_work() local 1481 struct sock *sk = NULL; in l2tp_tunnel_create() local
|
/linux-4.1.27/drivers/isdn/mISDN/ |
D | socket.c | 31 #define _pms(sk) ((struct mISDN_sock *)sk) argument 55 mISDN_sock_link(struct mISDN_sock_list *l, struct sock *sk) in mISDN_sock_link() 62 static void mISDN_sock_unlink(struct mISDN_sock_list *l, struct sock *sk) in mISDN_sock_unlink() 104 mISDN_sock_cmsg(struct sock *sk, struct msghdr *msg, struct sk_buff *skb) in mISDN_sock_cmsg() 119 struct sock *sk = sock->sk; in mISDN_sock_recvmsg() local 178 struct sock *sk = sock->sk; in mISDN_sock_sendmsg() local 248 struct sock *sk = sock->sk; in data_sock_release() local 289 data_sock_ioctl_bound(struct sock *sk, unsigned int cmd, void __user *p) in data_sock_ioctl_bound() 363 struct sock *sk = sock->sk; in data_sock_ioctl() local 416 struct sock *sk = sock->sk; in data_sock_setsockopt() local [all …]
|
/linux-4.1.27/net/ipv6/ |
D | inet6_connection_sock.c | 30 int inet6_csk_bind_conflict(const struct sock *sk, in inet6_csk_bind_conflict() 68 struct dst_entry *inet6_csk_route_req(struct sock *sk, in inet6_csk_route_req() 117 struct request_sock *inet6_csk_search_req(struct sock *sk, in inet6_csk_search_req() 149 void inet6_csk_reqsk_queue_hash_add(struct sock *sk, in inet6_csk_reqsk_queue_hash_add() 164 void inet6_csk_addr2sockaddr(struct sock *sk, struct sockaddr *uaddr) in inet6_csk_addr2sockaddr() 179 void __inet6_csk_dst_store(struct sock *sk, struct dst_entry *dst, in __inet6_csk_dst_store() 187 struct dst_entry *__inet6_csk_dst_check(struct sock *sk, u32 cookie) in __inet6_csk_dst_check() 192 static struct dst_entry *inet6_csk_route_socket(struct sock *sk, in inet6_csk_route_socket() 226 int inet6_csk_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl_unused) in inet6_csk_xmit() 254 struct dst_entry *inet6_csk_update_pmtu(struct sock *sk, u32 mtu) in inet6_csk_update_pmtu()
|
D | tcp_ipv6.c | 85 static struct tcp_md5sig_key *tcp_v6_md5_do_lookup(struct sock *sk, in tcp_v6_md5_do_lookup() 92 static void inet6_sk_rx_dst_set(struct sock *sk, const struct sk_buff *skb) in inet6_sk_rx_dst_set() 114 static int tcp_v6_connect(struct sock *sk, struct sockaddr *uaddr, in tcp_v6_connect() 306 static void tcp_v6_mtu_reduced(struct sock *sk) in tcp_v6_mtu_reduced() 333 struct sock *sk; in tcp_v6_err() local 441 static int tcp_v6_send_synack(struct sock *sk, struct dst_entry *dst, in tcp_v6_send_synack() 486 static struct tcp_md5sig_key *tcp_v6_md5_do_lookup(struct sock *sk, in tcp_v6_md5_do_lookup() 492 static struct tcp_md5sig_key *tcp_v6_md5_lookup(struct sock *sk, in tcp_v6_md5_lookup() 498 static int tcp_v6_parse_md5_keys(struct sock *sk, char __user *optval, in tcp_v6_parse_md5_keys() 585 const struct sock *sk, in tcp_v6_md5_hash_skb() [all …]
|
D | raw.c | 72 static struct sock *__raw_v6_lookup(struct net *net, struct sock *sk, in __raw_v6_lookup() 110 static int icmpv6_filter(const struct sock *sk, const struct sk_buff *skb) in icmpv6_filter() 162 struct sock *sk; in ipv6_raw_deliver() local 242 static int rawv6_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len) in rawv6_bind() 319 static void rawv6_err(struct sock *sk, struct sk_buff *skb, in rawv6_err() 361 struct sock *sk; in raw6_icmp_error() local 387 static inline int rawv6_rcv_skb(struct sock *sk, struct sk_buff *skb) in rawv6_rcv_skb() 413 int rawv6_rcv(struct sock *sk, struct sk_buff *skb) in rawv6_rcv() 459 static int rawv6_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, in rawv6_recvmsg() 536 static int rawv6_push_pending_frames(struct sock *sk, struct flowi6 *fl6, in rawv6_push_pending_frames() [all …]
|
D | udp.c | 79 int ipv6_rcv_saddr_equal(const struct sock *sk, const struct sock *sk2) in ipv6_rcv_saddr_equal() 123 int udp_v6_get_port(struct sock *sk, unsigned short snum) in udp_v6_get_port() 135 static void udp_v6_rehash(struct sock *sk) in udp_v6_rehash() 144 static inline int compute_score(struct sock *sk, struct net *net, in compute_score() 189 static inline int compute_score2(struct sock *sk, struct net *net, in compute_score2() 235 struct sock *sk, *result; in udp6_lib_lookup2() local 289 struct sock *sk, *result; in __udp6_lib_lookup() local 369 struct sock *sk; in __udp6_lib_lookup_skb() local 392 int udpv6_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, in udpv6_recvmsg() 543 struct sock *sk; in __udp6_lib_err() local [all …]
|
D | xfrm6_output.c | 33 struct sock *sk = skb->sk; in xfrm6_local_dontfrag() local 50 struct sock *sk = skb->sk; in xfrm6_local_rxpmtu() local 62 struct sock *sk = skb->sk; in xfrm6_local_error() local 123 int xfrm6_output_finish(struct sock *sk, struct sk_buff *skb) in xfrm6_output_finish() 134 static int __xfrm6_output(struct sock *sk, struct sk_buff *skb) in __xfrm6_output() 169 int xfrm6_output(struct sock *sk, struct sk_buff *skb) in xfrm6_output()
|
D | datagram.c | 43 static int __ip6_datagram_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len) in __ip6_datagram_connect() 213 int ip6_datagram_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len) in ip6_datagram_connect() 224 int ip6_datagram_connect_v6_only(struct sock *sk, struct sockaddr *uaddr, in ip6_datagram_connect_v6_only() 234 void ipv6_icmp_error(struct sock *sk, struct sk_buff *skb, int err, in ipv6_icmp_error() 269 void ipv6_local_error(struct sock *sk, int err, struct flowi6 *fl6, u32 info) in ipv6_local_error() 308 void ipv6_local_rxpmtu(struct sock *sk, struct flowi6 *fl6, u32 mtu) in ipv6_local_rxpmtu() 386 int ipv6_recv_error(struct sock *sk, struct msghdr *msg, int len, int *addr_len) in ipv6_recv_error() 479 int ipv6_recv_rxpmtu(struct sock *sk, struct msghdr *msg, int len, in ipv6_recv_rxpmtu() 527 void ip6_datagram_recv_common_ctl(struct sock *sk, struct msghdr *msg, in ip6_datagram_recv_common_ctl() 552 void ip6_datagram_recv_specific_ctl(struct sock *sk, struct msghdr *msg, in ip6_datagram_recv_specific_ctl() [all …]
|
D | ip6_output.c | 59 static int ip6_finish_output2(struct sock *sk, struct sk_buff *skb) in ip6_finish_output2() 125 static int ip6_finish_output(struct sock *sk, struct sk_buff *skb) in ip6_finish_output() 135 int ip6_output(struct sock *sk, struct sk_buff *skb) in ip6_output() 156 int ip6_xmit(struct sock *sk, struct sk_buff *skb, struct flowi6 *fl6, in ip6_xmit() 246 struct sock *sk = ra->sk; in ip6_call_ra_chain() local 320 static inline int ip6_forward_finish(struct sock *sk, struct sk_buff *skb) in ip6_forward_finish() 546 int ip6_fragment(struct sock *sk, struct sk_buff *skb, in ip6_fragment() 836 static struct dst_entry *ip6_sk_dst_check(struct sock *sk, in ip6_sk_dst_check() 882 static int ip6_dst_lookup_tail(struct sock *sk, in ip6_dst_lookup_tail() 998 int ip6_dst_lookup(struct sock *sk, struct dst_entry **dst, struct flowi6 *fl6) in ip6_dst_lookup() [all …]
|
D | af_inet6.c | 93 static __inline__ struct ipv6_pinfo *inet6_sk_generic(struct sock *sk) in inet6_sk_generic() 105 struct sock *sk; in inet6_create() local 258 struct sock *sk = sock->sk; in inet6_bind() local 395 struct sock *sk = sock->sk; in inet6_release() local 410 void inet6_destroy_sock(struct sock *sk) in inet6_destroy_sock() 447 struct sock *sk = sock->sk; in inet6_getname() local 481 struct sock *sk = sock->sk; in inet6_ioctl() local 641 int inet6_sk_rebuild_header(struct sock *sk) in inet6_sk_rebuild_header() 683 bool ipv6_opt_accepted(const struct sock *sk, const struct sk_buff *skb, in ipv6_opt_accepted()
|
D | ipv6_sockglue.c | 61 int ip6_ra_control(struct sock *sk, int sel) in ip6_ra_control() 102 struct ipv6_txoptions *ipv6_update_options(struct sock *sk, in ipv6_update_options() 140 static int do_ipv6_setsockopt(struct sock *sk, int level, int optname, in do_ipv6_setsockopt() 884 int ipv6_setsockopt(struct sock *sk, int level, int optname, in ipv6_setsockopt() 911 int compat_ipv6_setsockopt(struct sock *sk, int level, int optname, in compat_ipv6_setsockopt() 946 static int ipv6_getsockopt_sticky(struct sock *sk, struct ipv6_txoptions *opt, in ipv6_getsockopt_sticky() 980 static int do_ipv6_getsockopt(struct sock *sk, int level, int optname, in do_ipv6_getsockopt() 1321 int ipv6_getsockopt(struct sock *sk, int level, int optname, in ipv6_getsockopt() 1354 int compat_ipv6_getsockopt(struct sock *sk, int level, int optname, in compat_ipv6_getsockopt()
|
D | inet6_hashtables.c | 59 struct sock *sk; in __inet6_lookup_established() local 96 static inline int compute_score(struct sock *sk, struct net *net, in compute_score() 126 struct sock *sk; in inet6_lookup_listener() local 182 struct sock *sk; in inet6_lookup() local 193 struct sock *sk, const __u16 lport, in __inet6_check_established() 260 static inline u32 inet6_sk_port_offset(const struct sock *sk) in inet6_sk_port_offset() 270 struct sock *sk) in inet6_hash_connect()
|
D | icmp.c | 113 struct sock *sk; in icmpv6_xmit_lock() local 129 static __inline__ void icmpv6_xmit_unlock(struct sock *sk) in icmpv6_xmit_unlock() 172 static bool icmpv6_xrlim_allow(struct sock *sk, u8 type, in icmpv6_xrlim_allow() 238 int icmpv6_push_pending_frames(struct sock *sk, struct flowi6 *fl6, in icmpv6_push_pending_frames() 325 struct sock *sk, in icmpv6_route_lookup() 395 struct sock *sk; in icmp6_send() local 549 struct sock *sk; in icmpv6_echo_reply() local 813 void icmpv6_flow_init(struct sock *sk, struct flowi6 *fl6, in icmpv6_flow_init() 836 struct sock *sk; in icmpv6_sk_init() local
|
D | ping.c | 59 static int dummy_ipv6_recv_error(struct sock *sk, struct msghdr *msg, int len, in dummy_ipv6_recv_error() 64 static void dummy_ip6_datagram_recv_ctl(struct sock *sk, struct msghdr *msg, in dummy_ip6_datagram_recv_ctl() 72 static void dummy_ipv6_icmp_error(struct sock *sk, struct sk_buff *skb, int err, in dummy_ipv6_icmp_error() 80 int ping_v6_sendmsg(struct sock *sk, struct msghdr *msg, size_t len) in ping_v6_sendmsg()
|
D | ip6_flowlabel.c | 241 struct ip6_flowlabel *fl6_sock_lookup(struct sock *sk, __be32 label) in fl6_sock_lookup() 263 void fl6_free_socklist(struct sock *sk) in fl6_free_socklist() 354 fl_create(struct net *net, struct sock *sk, struct in6_flowlabel_req *freq, in fl_create() 441 static int mem_check(struct sock *sk) in mem_check() 475 int ipv6_flowlabel_opt_get(struct sock *sk, struct in6_flowlabel_req *freq, in ipv6_flowlabel_opt_get() 512 int ipv6_flowlabel_opt(struct sock *sk, char __user *optval, int optlen) in ipv6_flowlabel_opt()
|
D | ip6_input.c | 49 int ip6_rcv_finish(struct sock *sk, struct sk_buff *skb) in ip6_rcv_finish() 201 static int ip6_input_finish(struct sock *sk, struct sk_buff *skb) in ip6_input_finish()
|
D | syncookies.c | 44 static inline struct sock *get_cookie_sock(struct sock *sk, struct sk_buff *skb, in get_cookie_sock() 134 __u32 cookie_v6_init_sequence(struct sock *sk, const struct sk_buff *skb, __u16 *mssp) in cookie_v6_init_sequence() 156 struct sock *cookie_v6_check(struct sock *sk, struct sk_buff *skb) in cookie_v6_check()
|
/linux-4.1.27/net/atm/ |
D | common.c | 42 static void __vcc_insert_socket(struct sock *sk) in __vcc_insert_socket() 50 void vcc_insert_socket(struct sock *sk) in vcc_insert_socket() 58 static void vcc_remove_socket(struct sock *sk) in vcc_remove_socket() 68 struct sock *sk = sk_atm(vcc); in alloc_tx() local 82 static void vcc_sock_destruct(struct sock *sk) in vcc_sock_destruct() 93 static void vcc_def_wakeup(struct sock *sk) in vcc_def_wakeup() 104 static inline int vcc_writable(struct sock *sk) in vcc_writable() 112 static void vcc_write_space(struct sock *sk) in vcc_write_space() 129 static void vcc_release_cb(struct sock *sk) in vcc_release_cb() 146 struct sock *sk; in vcc_create() local [all …]
|
D | svc.c | 49 struct sock *sk = sk_atm(vcc); in svc_disconnect() local 76 struct sock *sk = sock->sk; in svc_release() local 98 struct sock *sk = sock->sk; in svc_bind() local 154 struct sock *sk = sock->sk; in svc_connect() local 284 struct sock *sk = sock->sk; in svc_listen() local 323 struct sock *sk = sock->sk; in svc_accept() local 433 struct sock *sk = sk_atm(vcc); in svc_change_qos() local 455 struct sock *sk = sock->sk; in svc_setsockopt() local 500 struct sock *sk = sock->sk; in svc_getsockopt() local 529 struct sock *sk = sock->sk; in svc_addparty() local [all …]
|
D | raw.c | 25 struct sock *sk = sk_atm(vcc); in atm_push_raw() local 34 struct sock *sk = sk_atm(vcc); in atm_pop_raw() local
|
D | pvc.c | 29 struct sock *sk = sock->sk; in pvc_bind() local 67 struct sock *sk = sock->sk; in pvc_setsockopt() local 79 struct sock *sk = sock->sk; in pvc_getsockopt() local
|
/linux-4.1.27/net/netlink/ |
D | af_netlink.c | 87 static inline int netlink_is_kernel(struct sock *sk) in netlink_is_kernel() 197 struct sock *sk = skb->sk; in netlink_filter_tap() local 221 struct sock *sk = skb->sk; in __netlink_deliver_tap_skb() local 277 static void netlink_overrun(struct sock *sk) in netlink_overrun() 290 static void netlink_rcv_wake(struct sock *sk) in netlink_rcv_wake() 301 static bool netlink_rx_is_mmaped(struct sock *sk) in netlink_rx_is_mmaped() 306 static bool netlink_tx_is_mmaped(struct sock *sk) in netlink_tx_is_mmaped() 377 __netlink_set_ring(struct sock *sk, struct nl_mmap_req *req, bool tx_ring, void **pg_vec, in __netlink_set_ring() 407 static int netlink_set_ring(struct sock *sk, struct nl_mmap_req *req, in netlink_set_ring() 471 struct sock *sk = sock->sk; in netlink_mm_open() local [all …]
|
D | diag.c | 25 static int sk_diag_put_rings_cfg(struct sock *sk, struct sk_buff *nlskb) in sk_diag_put_rings_cfg() 40 static int sk_diag_put_rings_cfg(struct sock *sk, struct sk_buff *nlskb) in sk_diag_put_rings_cfg() 46 static int sk_diag_dump_groups(struct sock *sk, struct sk_buff *nlskb) in sk_diag_dump_groups() 57 static int sk_diag_fill(struct sock *sk, struct sk_buff *skb, in sk_diag_fill() 111 struct sock *sk; in __netlink_diag_dump() local
|
/linux-4.1.27/net/caif/ |
D | caif_socket.c | 47 struct sock sk; /* must be first member */ member 92 static void caif_read_lock(struct sock *sk) in caif_read_lock() 99 static void caif_read_unlock(struct sock *sk) in caif_read_unlock() 112 static void caif_flow_ctrl(struct sock *sk, int mode) in caif_flow_ctrl() 124 static int caif_queue_rcv_skb(struct sock *sk, struct sk_buff *skb) in caif_queue_rcv_skb() 257 static void caif_check_flow_release(struct sock *sk) in caif_check_flow_release() 278 struct sock *sk = sock->sk; in caif_seqpkt_recvmsg() local 312 static long caif_stream_data_wait(struct sock *sk, long timeo) in caif_stream_data_wait() 353 struct sock *sk = sock->sk; in caif_stream_recvmsg() local 470 struct sock *sk = &cf_sk->sk; in caif_wait_for_flow_on() local [all …]
|
/linux-4.1.27/net/irda/ |
D | af_irda.c | 84 struct sock *sk; in irda_data_indication() local 112 struct sock *sk; in irda_disconnect_indication() local 177 struct sock *sk; in irda_connect_confirm() local 241 struct sock *sk; in irda_connect_indication() local 324 struct sock *sk; in irda_flow_indication() local 702 struct sock *sk = sock->sk; in irda_getname() local 737 struct sock *sk = sock->sk; in irda_listen() local 766 struct sock *sk = sock->sk; in irda_bind() local 832 struct sock *sk = sock->sk; in irda_accept() local 957 struct sock *sk = sock->sk; in irda_connect() local [all …]
|
/linux-4.1.27/net/netfilter/ |
D | nf_sockopt.c | 61 static struct nf_sockopt_ops *nf_sockopt_find(struct sock *sk, u_int8_t pf, in nf_sockopt_find() 92 static int nf_sockopt(struct sock *sk, u_int8_t pf, int val, in nf_sockopt() 111 int nf_setsockopt(struct sock *sk, u_int8_t pf, int val, char __user *opt, in nf_setsockopt() 118 int nf_getsockopt(struct sock *sk, u_int8_t pf, int val, char __user *opt, in nf_getsockopt() 126 static int compat_nf_sockopt(struct sock *sk, u_int8_t pf, int val, in compat_nf_sockopt() 152 int compat_nf_setsockopt(struct sock *sk, u_int8_t pf, in compat_nf_setsockopt() 159 int compat_nf_getsockopt(struct sock *sk, u_int8_t pf, in compat_nf_getsockopt()
|
D | xt_TPROXY.c | 43 static bool tproxy_sk_is_transparent(struct sock *sk) in tproxy_sk_is_transparent() 114 struct sock *sk; in nf_tproxy_get_sock_v4() local 178 struct sock *sk; in nf_tproxy_get_sock_v6() local 254 struct sock *sk) in tproxy_handle_time_wait4() 286 nf_tproxy_assign_sock(struct sk_buff *skb, struct sock *sk) in nf_tproxy_assign_sock() 299 struct sock *sk; in tproxy_tg4() local 416 struct sock *sk) in tproxy_handle_time_wait6() 455 struct sock *sk; in tproxy_tg6_v1() local
|
/linux-4.1.27/net/tipc/ |
D | socket.c | 81 struct sock sk; member 230 static struct tipc_sock *tipc_sk(const struct sock *sk) in tipc_sk() 245 static void tsk_advance_rx_queue(struct sock *sk) in tsk_advance_rx_queue() 255 static void tsk_rej_rx_queue(struct sock *sk) in tsk_rej_rx_queue() 318 struct sock *sk; in tipc_sk_create() local 408 struct sock *sk = sock->sk; in tipc_release() local 496 struct sock *sk = sock->sk; in tipc_bind() local 622 struct sock *sk = sock->sk; in tipc_poll() local 665 struct sock *sk = sock->sk; in tipc_sendmcast() local 801 struct sock *sk = sock->sk; in tipc_wait_for_sndmsg() local [all …]
|
D | server.c | 95 struct sock *sk; in tipc_conn_kref_release() local 135 static void sock_data_ready(struct sock *sk) in sock_data_ready() 149 static void sock_write_space(struct sock *sk) in sock_write_space() 165 struct sock *sk = sock->sk; in tipc_register_callbacks() local 180 struct sock *sk = con->sock->sk; in tipc_unregister_callbacks() local
|
/linux-4.1.27/net/rxrpc/ |
D | af_rxrpc.c | 55 static inline int rxrpc_writable(struct sock *sk) in rxrpc_writable() 63 static void rxrpc_write_space(struct sock *sk) in rxrpc_write_space() 125 struct sock *sk = sock->sk; in rxrpc_bind() local 190 struct sock *sk = sock->sk; in rxrpc_listen() local 377 struct sock *sk = sock->sk; in rxrpc_connect() local 592 struct sock *sk = sock->sk; in rxrpc_poll() local 618 struct sock *sk; in rxrpc_create() local 662 static void rxrpc_sock_destructor(struct sock *sk) in rxrpc_sock_destructor() 681 static int rxrpc_release_sock(struct sock *sk) in rxrpc_release_sock() 741 struct sock *sk = sock->sk; in rxrpc_release() local
|
/linux-4.1.27/net/ax25/ |
D | af_ax25.c | 59 static void ax25_free_sock(struct sock *sk) in ax25_free_sock() 186 struct sock *sk = NULL; in ax25_get_socket() local 275 struct sock *sk; in ax25_destroy_timer() local 335 struct sock *sk=ax25->sk; in ax25_destroy_socket() local 538 struct sock *sk = sock->sk; in ax25_setsockopt() local 680 struct sock *sk = sock->sk; in ax25_getsockopt() local 776 struct sock *sk = sock->sk; in ax25_listen() local 806 struct sock *sk; in ax25_create() local 884 struct sock *sk; in ax25_make_new() local 954 struct sock *sk = sock->sk; in ax25_release() local [all …]
|
/linux-4.1.27/crypto/ |
D | algif_skcipher.c | 105 struct sock *sk = req->data; in skcipher_async_cb() local 117 static inline int skcipher_sndbuf(struct sock *sk) in skcipher_sndbuf() 126 static inline bool skcipher_writable(struct sock *sk) in skcipher_writable() 131 static int skcipher_alloc_sgl(struct sock *sk) in skcipher_alloc_sgl() 161 static void skcipher_pull_sgl(struct sock *sk, int used, int put) in skcipher_pull_sgl() 203 static void skcipher_free_sgl(struct sock *sk) in skcipher_free_sgl() 211 static int skcipher_wait_for_wmem(struct sock *sk, unsigned flags) in skcipher_wait_for_wmem() 237 static void skcipher_wmem_wakeup(struct sock *sk) in skcipher_wmem_wakeup() 254 static int skcipher_wait_for_data(struct sock *sk, unsigned flags) in skcipher_wait_for_data() 285 static void skcipher_data_wakeup(struct sock *sk) in skcipher_data_wakeup() [all …]
|
D | algif_aead.c | 56 static inline int aead_sndbuf(struct sock *sk) in aead_sndbuf() 65 static inline bool aead_writable(struct sock *sk) in aead_writable() 77 static void aead_put_sgl(struct sock *sk) in aead_put_sgl() 98 static void aead_wmem_wakeup(struct sock *sk) in aead_wmem_wakeup() 115 static int aead_wait_for_data(struct sock *sk, unsigned flags) in aead_wait_for_data() 145 static void aead_data_wakeup(struct sock *sk) in aead_data_wakeup() 168 struct sock *sk = sock->sk; in aead_sendmsg() local 301 struct sock *sk = sock->sk; in aead_sendpage() local 352 struct sock *sk = sock->sk; in aead_recvmsg() local 525 struct sock *sk = sock->sk; in aead_poll() local [all …]
|
D | algif_hash.c | 46 struct sock *sk = sock->sk; in hash_sendmsg() local 107 struct sock *sk = sock->sk; in hash_sendpage() local 152 struct sock *sk = sock->sk; in hash_recvmsg() local 183 struct sock *sk = sock->sk; in hash_accept() local 243 struct sock *sk = sock->sk; in hash_check_key() local 384 static void hash_sock_destruct(struct sock *sk) in hash_sock_destruct() 395 static int hash_accept_parent_nokey(void *private, struct sock *sk) in hash_accept_parent_nokey() 431 static int hash_accept_parent(void *private, struct sock *sk) in hash_accept_parent()
|
D | af_alg.c | 130 void af_alg_release_parent(struct sock *sk) in af_alg_release_parent() 152 struct sock *sk = sock->sk; in alg_bind() local 201 static int alg_setkey(struct sock *sk, char __user *ukey, in alg_setkey() 228 struct sock *sk = sock->sk; in alg_setsockopt() local 266 int af_alg_accept(struct sock *sk, struct socket *newsock) in af_alg_accept() 351 static void alg_sock_destruct(struct sock *sk) in alg_sock_destruct() 361 struct sock *sk; in alg_create() local
|
D | algif_rng.c | 61 struct sock *sk = sock->sk; in rng_recvmsg() local 127 static void rng_sock_destruct(struct sock *sk) in rng_sock_destruct() 136 static int rng_accept_parent(void *private, struct sock *sk) in rng_accept_parent()
|
/linux-4.1.27/security/selinux/ |
D | netlabel.c | 81 static struct netlbl_lsm_secattr *selinux_netlbl_sock_genattr(struct sock *sk) in selinux_netlbl_sock_genattr() 113 const struct sock *sk, in selinux_netlbl_sock_getattr() 244 struct sock *sk; in selinux_netlbl_skbuff_setsid() local 310 void selinux_netlbl_inet_csk_clone(struct sock *sk, u16 family) in selinux_netlbl_inet_csk_clone() 330 int selinux_netlbl_socket_post_create(struct sock *sk, u16 family) in selinux_netlbl_socket_post_create() 430 struct sock *sk = sock->sk; in selinux_netlbl_socket_setsockopt() local 464 int selinux_netlbl_socket_connect(struct sock *sk, struct sockaddr *addr) in selinux_netlbl_socket_connect()
|
/linux-4.1.27/drivers/target/iscsi/ |
D | iscsi_target_nego.c | 411 static void iscsi_target_sk_data_ready(struct sock *sk) in iscsi_target_sk_data_ready() 451 struct sock *sk; in iscsi_target_set_sock_callbacks() local 473 struct sock *sk; in iscsi_target_restore_sock_callbacks() local 497 static bool iscsi_target_sk_state_check(struct sock *sk) in iscsi_target_sk_state_check() 558 struct sock *sk = conn->sock->sk; in iscsi_target_do_login_rx() local 605 struct sock *sk = conn->sock->sk; in iscsi_target_do_login_rx() local 622 struct sock *sk = conn->sock->sk; in iscsi_target_do_cleanup() local 640 static void iscsi_target_sk_state_change(struct sock *sk) in iscsi_target_sk_state_change() 977 struct sock *sk = conn->sock->sk; in iscsi_target_do_login() local 1257 struct sock *sk = conn->sock->sk; in iscsi_target_start_negotiation() local
|
/linux-4.1.27/net/packet/ |
D | af_packet.c | 337 static void register_prot_hook(struct sock *sk) in register_prot_hook() 359 static void __unregister_prot_hook(struct sock *sk, bool sync) in __unregister_prot_hook() 379 static void unregister_prot_hook(struct sock *sk, bool sync) in unregister_prot_hook() 798 struct sock *sk = &po->sk; in prb_close_block() local 1239 struct sock *sk = &po->sk; in packet_rcv_has_room() local 1260 static void packet_sock_destruct(struct sock *sk) in packet_sock_destruct() 1393 static void __fanout_link(struct sock *sk, struct packet_sock *po) in __fanout_link() 1404 static void __fanout_unlink(struct sock *sk, struct packet_sock *po) in __fanout_unlink() 1420 static bool match_fanout_group(struct packet_type *ptype, struct sock *sk) in match_fanout_group() 1428 static int fanout_add(struct sock *sk, u16 id, u16 type_flags) in fanout_add() [all …]
|
/linux-4.1.27/include/linux/ |
D | udp.h | 76 static inline struct udp_sock *udp_sk(const struct sock *sk) in udp_sk() 81 static inline void udp_set_no_check6_tx(struct sock *sk, bool val) in udp_set_no_check6_tx() 86 static inline void udp_set_no_check6_rx(struct sock *sk, bool val) in udp_set_no_check6_rx() 91 static inline bool udp_get_no_check6_tx(struct sock *sk) in udp_get_no_check6_tx() 96 static inline bool udp_get_no_check6_rx(struct sock *sk) in udp_get_no_check6_rx()
|
D | netfilter.h | 56 struct sock *sk; member 65 struct sock *sk, in nf_hook_state_init() 159 struct sock *sk, in nf_hook_thresh() 176 static inline int nf_hook(u_int8_t pf, unsigned int hook, struct sock *sk, in nf_hook() 202 NF_HOOK_THRESH(uint8_t pf, unsigned int hook, struct sock *sk, in NF_HOOK_THRESH() 214 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct sock *sk, in NF_HOOK_COND() 227 NF_HOOK(uint8_t pf, unsigned int hook, struct sock *sk, struct sk_buff *skb, in NF_HOOK() 331 #define NF_HOOK(pf, hook, sk, skb, indev, outdev, okfn) (okfn)(sk, skb) argument 332 #define NF_HOOK_COND(pf, hook, sk, skb, indev, outdev, okfn, cond) (okfn)(sk, skb) argument 334 struct sock *sk, in nf_hook_thresh() [all …]
|
D | ipv6.h | 270 static inline struct raw6_sock *raw6_sk(const struct sock *sk) in raw6_sk() 286 #define __ipv6_only_sock(sk) (sk->sk_ipv6only) argument 287 #define ipv6_only_sock(sk) (__ipv6_only_sock(sk)) argument 288 #define ipv6_sk_rxinfo(sk) ((sk)->sk_family == PF_INET6 && \ argument 291 static inline const struct in6_addr *inet6_rcv_saddr(const struct sock *sk) in inet6_rcv_saddr() 298 static inline int inet_v6_ipv6only(const struct sock *sk) in inet_v6_ipv6only() 304 #define __ipv6_only_sock(sk) 0 argument 305 #define ipv6_only_sock(sk) 0 argument 306 #define ipv6_sk_rxinfo(sk) 0 argument 319 static inline struct raw6_sock *raw6_sk(const struct sock *sk) in raw6_sk()
|
/linux-4.1.27/security/selinux/include/ |
D | netlabel.h | 109 static inline int selinux_netlbl_conn_setsid(struct sock *sk, in selinux_netlbl_conn_setsid() 120 static inline void selinux_netlbl_inet_csk_clone(struct sock *sk, u16 family) in selinux_netlbl_inet_csk_clone() 124 static inline int selinux_netlbl_socket_post_create(struct sock *sk, in selinux_netlbl_socket_post_create() 142 static inline int selinux_netlbl_socket_connect(struct sock *sk, in selinux_netlbl_socket_connect()
|
/linux-4.1.27/drivers/net/ppp/ |
D | pppoe.c | 289 struct sock *sk; in pppoe_flush_dev() local 372 static int pppoe_rcv_core(struct sock *sk, struct sk_buff *skb) in pppoe_rcv_core() 466 struct sock *sk = sk_pppox(po); in pppoe_unbind_sock_work() local 506 struct sock *sk = sk_pppox(po); in pppoe_disc_rcv() local 556 struct sock *sk; in pppoe_create() local 581 struct sock *sk = sock->sk; in pppoe_release() local 630 struct sock *sk = sock->sk; in pppoe_connect() local 755 struct sock *sk = sock->sk; in pppoe_ioctl() local 856 struct sock *sk = sock->sk; in pppoe_sendmsg() local 927 static int __pppoe_xmit(struct sock *sk, struct sk_buff *skb) in __pppoe_xmit() [all …]
|
D | pptp.c | 175 struct sock *sk = (struct sock *) chan->private; in pptp_xmit() local 298 static int pptp_rcv_core(struct sock *sk, struct sk_buff *skb) in pptp_rcv_core() 420 struct sock *sk = sock->sk; in pptp_bind() local 453 struct sock *sk = sock->sk; in pptp_connect() local 544 struct sock *sk = sock->sk; in pptp_release() local 575 static void pptp_sock_destruct(struct sock *sk) in pptp_sock_destruct() 587 struct sock *sk; in pptp_create() local 621 struct sock *sk = (struct sock *) chan->private; in pptp_ppp_ioctl() local
|
D | pppox.c | 57 void pppox_unbind_sock(struct sock *sk) in pppox_unbind_sock() 73 struct sock *sk = sock->sk; in pppox_ioctl() local
|
/linux-4.1.27/net/appletalk/ |
D | ddp.c | 80 static inline void __atalk_insert_socket(struct sock *sk) in __atalk_insert_socket() 85 static inline void atalk_remove_socket(struct sock *sk) in atalk_remove_socket() 139 static struct sock *atalk_find_or_insert_socket(struct sock *sk, in atalk_find_or_insert_socket() 163 struct sock *sk = (struct sock *)data; in atalk_destroy_timer() local 172 static inline void atalk_destroy_socket(struct sock *sk) in atalk_destroy_socket() 1020 struct sock *sk; in atalk_create() local 1049 struct sock *sk = sock->sk; in atalk_release() local 1075 static int atalk_pick_and_bind_port(struct sock *sk, struct sockaddr_at *sat) in atalk_pick_and_bind_port() 1110 static int atalk_autobind(struct sock *sk) in atalk_autobind() 1134 struct sock *sk = sock->sk; in atalk_bind() local [all …]
|
/linux-4.1.27/net/ipx/ |
D | af_ipx.c | 114 static void ipx_remove_socket(struct sock *sk) in ipx_remove_socket() 131 static void ipx_destroy_socket(struct sock *sk) in ipx_destroy_socket() 201 static void ipxitf_insert_socket(struct ipx_interface *intrfc, struct sock *sk) in ipxitf_insert_socket() 421 struct sock *sk = NULL; in ncp_connection_hack() local 1269 struct sock *sk = sock->sk; in ipx_setsockopt() local 1295 struct sock *sk = sock->sk; in ipx_getsockopt() local 1335 struct sock *sk; in ipx_create() local 1365 struct sock *sk = sock->sk; in ipx_release() local 1411 struct sock *sk = sock->sk; in __ipx_bind() local 1506 struct sock *sk = sock->sk; in ipx_bind() local [all …]
|
/linux-4.1.27/net/key/ |
D | af_key.c | 51 struct sock sk; member 68 static inline struct pfkey_sock *pfkey_sk(struct sock *sk) in pfkey_sk() 73 static int pfkey_can_dump(const struct sock *sk) in pfkey_can_dump() 93 static void pfkey_sock_destruct(struct sock *sk) in pfkey_sock_destruct() 114 static void pfkey_insert(struct sock *sk) in pfkey_insert() 124 static void pfkey_remove(struct sock *sk) in pfkey_remove() 141 struct sock *sk; in pfkey_create() local 173 struct sock *sk = sock->sk; in pfkey_release() local 191 gfp_t allocation, struct sock *sk) in pfkey_broadcast_one() 227 struct sock *sk; in pfkey_broadcast() local [all …]
|
/linux-4.1.27/drivers/staging/lustre/lnet/klnds/socklnd/ |
D | socklnd_lib-linux.h | 79 #define SOCKNAL_WSPACE(sk) sk_stream_wspace(sk) argument 80 #define SOCKNAL_MIN_WSPACE(sk) sk_stream_min_wspace(sk) argument
|
/linux-4.1.27/net/xfrm/ |
D | xfrm_output.c | 147 static int xfrm_output2(struct sock *sk, struct sk_buff *skb) in xfrm_output2() 152 static int xfrm_output_gso(struct sock *sk, struct sk_buff *skb) in xfrm_output_gso() 183 int xfrm_output(struct sock *sk, struct sk_buff *skb) in xfrm_output()
|
/linux-4.1.27/net/rds/ |
D | recv.c | 69 static void rds_recv_rcvbuf_delta(struct rds_sock *rs, struct sock *sk, in rds_recv_rcvbuf_delta() 161 struct sock *sk; in rds_recv_incoming() local 270 struct sock *sk = rds_rs_to_sk(rs); in rds_still_queued() local 401 struct sock *sk = sock->sk; in rds_recvmsg() local 508 struct sock *sk = rds_rs_to_sk(rs); in rds_clear_recv_queue() local
|
D | af_rds.c | 69 struct sock *sk = sock->sk; in rds_release() local 173 struct sock *sk = sock->sk; in rds_poll() local 352 struct sock *sk = sock->sk; in rds_connect() local 409 static int __rds_create(struct socket *sock, struct sock *sk, int protocol) in __rds_create() 438 struct sock *sk; in rds_create() local
|
D | tcp_listen.c | 157 void rds_tcp_listen_data_ready(struct sock *sk) in rds_tcp_listen_data_ready() 225 struct sock *sk; in rds_tcp_listen_stop() local
|
/linux-4.1.27/net/sunrpc/ |
D | xprtsock.c | 219 static inline struct rpc_xprt *xprt_from_sock(struct sock *sk) in xprt_from_sock() 456 struct sock *sk = transport->inet; in xs_nospace() local 760 static void xs_save_old_callbacks(struct sock_xprt *transport, struct sock *sk) in xs_save_old_callbacks() 768 static void xs_restore_old_callbacks(struct sock_xprt *transport, struct sock *sk) in xs_restore_old_callbacks() 798 static void xs_error_report(struct sock *sk) in xs_error_report() 824 struct sock *sk = transport->inet; in xs_reset_transport() local 909 static void xs_local_data_ready(struct sock *sk) in xs_local_data_ready() 972 static void xs_udp_data_ready(struct sock *sk) in xs_udp_data_ready() 1396 static void xs_tcp_data_ready(struct sock *sk) in xs_tcp_data_ready() 1434 static void xs_tcp_state_change(struct sock *sk) in xs_tcp_state_change() [all …]
|
D | svcsock.c | 86 struct sock *sk = sock->sk; in svc_reclassify_socket() local 282 const struct sock *sk = svsk->sk_sk; in svc_one_sock_name() local 405 static void svc_udp_data_ready(struct sock *sk) in svc_udp_data_ready() 424 static void svc_write_space(struct sock *sk) in svc_write_space() 459 static void svc_tcp_write_space(struct sock *sk) in svc_tcp_write_space() 763 static void svc_tcp_listen_data_ready(struct sock *sk) in svc_tcp_listen_data_ready() 797 static void svc_tcp_state_change(struct sock *sk) in svc_tcp_state_change() 815 static void svc_tcp_data_ready(struct sock *sk) in svc_tcp_data_ready() 1324 struct sock *sk = svsk->sk_sk; in svc_tcp_init() local 1586 struct sock *sk = svsk->sk_sk; in svc_sock_detach() local
|
/linux-4.1.27/drivers/scsi/ |
D | iscsi_tcp.c | 114 static inline int iscsi_sw_sk_state_check(struct sock *sk) in iscsi_sw_sk_state_check() 128 static void iscsi_sw_tcp_data_ready(struct sock *sk) in iscsi_sw_tcp_data_ready() 160 static void iscsi_sw_tcp_state_change(struct sock *sk) in iscsi_sw_tcp_state_change() 191 static void iscsi_sw_tcp_write_space(struct sock *sk) in iscsi_sw_tcp_write_space() 220 struct sock *sk = tcp_sw_conn->sock->sk; in iscsi_sw_tcp_conn_set_callbacks() local 239 struct sock *sk = tcp_sw_conn->sock->sk; in iscsi_sw_tcp_conn_restore_callbacks() local 268 struct socket *sk = tcp_sw_conn->sock; in iscsi_sw_tcp_xmit_segment() local 650 struct sock *sk; in iscsi_sw_tcp_conn_bind() local
|
/linux-4.1.27/net/bridge/ |
D | br_nf_core.c | 28 static void fake_update_pmtu(struct dst_entry *dst, struct sock *sk, in fake_update_pmtu() 33 static void fake_redirect(struct dst_entry *dst, struct sock *sk, in fake_redirect()
|
D | br_netfilter.c | 276 static int br_nf_pre_routing_finish_ipv6(struct sock *sk, struct sk_buff *skb) in br_nf_pre_routing_finish_ipv6() 309 static int br_nf_pre_routing_finish_bridge(struct sock *sk, struct sk_buff *skb) in br_nf_pre_routing_finish_bridge() 394 static int br_nf_pre_routing_finish(struct sock *sk, struct sk_buff *skb) in br_nf_pre_routing_finish() 689 static int br_nf_forward_finish(struct sock *sk, struct sk_buff *skb) in br_nf_forward_finish() 819 static int br_nf_push_frag_xmit(struct sock *sk, struct sk_buff *skb) in br_nf_push_frag_xmit() 838 static int br_nf_dev_queue_xmit(struct sock *sk, struct sk_buff *skb) in br_nf_dev_queue_xmit() 877 static int br_nf_dev_queue_xmit(struct sock *sk, struct sk_buff *skb) in br_nf_dev_queue_xmit()
|
/linux-4.1.27/include/net/phonet/ |
D | phonet.h | 37 struct sock sk; member 43 static inline struct pn_sock *pn_sk(struct sock *sk) in pn_sk()
|
/linux-4.1.27/net/bluetooth/cmtp/ |
D | sock.c | 51 struct sock *sk = sock->sk; in cmtp_sock_release() local 201 struct sock *sk; in cmtp_sock_create() local
|
/linux-4.1.27/net/bluetooth/bnep/ |
D | sock.c | 38 struct sock *sk = sock->sk; in bnep_sock_release() local 198 struct sock *sk; in bnep_sock_create() local
|