• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/net/

Lines Matching refs:sock

40 #include <net/sock.h>
52 extern void tcp_time_wait(struct sock *sk, int state, int timeo);
271 static inline bool tcp_too_many_orphans(struct sock *sk, int shift)
289 static inline void tcp_synq_overflow(struct sock *sk)
295 static inline int tcp_synq_no_recent_overflow(const struct sock *sk)
311 extern void tcp_shutdown (struct sock *sk, int how);
315 extern int tcp_v4_remember_stamp(struct sock *sk);
317 extern int tcp_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
319 extern int tcp_sendpage(struct sock *sk, struct page *page, int offset,
321 extern int tcp_ioctl(struct sock *sk, int cmd, unsigned long arg);
322 extern int tcp_rcv_state_process(struct sock *sk, struct sk_buff *skb,
324 extern int tcp_rcv_established(struct sock *sk, struct sk_buff *skb,
326 extern void tcp_rcv_space_adjust(struct sock *sk);
327 extern void tcp_cleanup_rbuf(struct sock *sk, int copied);
328 extern int tcp_twsk_unique(struct sock *sk, struct sock *sktw, void *twp);
329 extern void tcp_twsk_destructor(struct sock *sk);
334 static inline void tcp_dec_quickack_mode(struct sock *sk,
349 extern void tcp_enter_quickack_mode(struct sock *sk);
373 extern struct sock * tcp_check_req(struct sock *sk,struct sk_buff *skb,
376 extern int tcp_child_process(struct sock *parent, struct sock *child,
378 extern int tcp_use_frto(struct sock *sk);
379 extern void tcp_enter_frto(struct sock *sk);
380 extern void tcp_enter_loss(struct sock *sk, int how);
382 extern void tcp_update_metrics(struct sock *sk);
383 extern void tcp_close(struct sock *sk, long timeout);
384 extern unsigned int tcp_poll(struct file * file, struct socket *sock,
386 extern int tcp_getsockopt(struct sock *sk, int level, int optname,
388 extern int tcp_setsockopt(struct sock *sk, int level, int optname,
390 extern int compat_tcp_getsockopt(struct sock *sk, int level, int optname,
392 extern int compat_tcp_setsockopt(struct sock *sk, int level, int optname,
394 extern void tcp_set_keepalive(struct sock *sk, int val);
395 extern void tcp_syn_ack_timeout(struct sock *sk, struct request_sock *req);
396 extern int tcp_recvmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
407 extern void tcp_v4_send_check(struct sock *sk, struct sk_buff *skb);
408 extern int tcp_v4_conn_request(struct sock *sk, struct sk_buff *skb);
409 extern struct sock * tcp_create_openreq_child(struct sock *sk,
412 extern struct sock * tcp_v4_syn_recv_sock(struct sock *sk, struct sk_buff *skb,
415 extern int tcp_v4_do_rcv(struct sock *sk, struct sk_buff *skb);
416 extern int tcp_v4_connect(struct sock *sk, struct sockaddr *uaddr,
418 extern int tcp_connect(struct sock *sk);
419 extern struct sk_buff * tcp_make_synack(struct sock *sk, struct dst_entry *dst,
422 extern int tcp_disconnect(struct sock *sk, int flags);
427 extern struct sock *cookie_v4_check(struct sock *sk, struct sk_buff *skb,
429 extern __u32 cookie_v4_init_sequence(struct sock *sk, struct sk_buff *skb,
436 extern struct sock *cookie_v6_check(struct sock *sk, struct sk_buff *skb);
437 extern __u32 cookie_v6_init_sequence(struct sock *sk, struct sk_buff *skb,
442 extern void __tcp_push_pending_frames(struct sock *sk, unsigned int cur_mss,
444 extern int tcp_may_send_now(struct sock *sk);
445 extern int tcp_retransmit_skb(struct sock *, struct sk_buff *);
446 extern void tcp_retransmit_timer(struct sock *sk);
447 extern void tcp_xmit_retransmit_queue(struct sock *);
448 extern void tcp_simple_retransmit(struct sock *);
449 extern int tcp_trim_head(struct sock *, struct sk_buff *, u32);
450 extern int tcp_fragment(struct sock *, struct sk_buff *, u32, unsigned int);
452 extern void tcp_send_probe0(struct sock *);
453 extern void tcp_send_partial(struct sock *);
454 extern int tcp_write_wakeup(struct sock *);
455 extern void tcp_send_fin(struct sock *sk);
456 extern void tcp_send_active_reset(struct sock *sk, gfp_t priority);
457 extern int tcp_send_synack(struct sock *);
458 extern void tcp_push_one(struct sock *, unsigned int mss_now);
459 extern void tcp_send_ack(struct sock *sk);
460 extern void tcp_send_delayed_ack(struct sock *sk);
463 extern void tcp_cwnd_application_limited(struct sock *sk);
466 extern void tcp_init_xmit_timers(struct sock *);
467 static inline void tcp_clear_xmit_timers(struct sock *sk)
472 extern unsigned int tcp_sync_mss(struct sock *sk, u32 pmtu);
473 extern unsigned int tcp_current_mss(struct sock *sk);
499 extern void tcp_get_info(struct sock *, struct tcp_info *);
504 extern int tcp_read_sock(struct sock *sk, read_descriptor_t *desc,
507 extern void tcp_initialize_rcv_mss(struct sock *sk);
509 extern int tcp_mtu_to_mss(struct sock *sk, int pmtu);
510 extern int tcp_mss_to_mtu(struct sock *sk, int mss);
511 extern void tcp_mtup_init(struct sock *sk);
513 static inline void tcp_bound_rto(const struct sock *sk)
536 static inline void tcp_fast_path_check(struct sock *sk)
548 static inline u32 tcp_rto_min(struct sock *sk)
575 extern u32 __tcp_select_window(struct sock *sk);
661 void (*init)(struct sock *sk);
663 void (*release)(struct sock *sk);
666 u32 (*ssthresh)(struct sock *sk);
668 u32 (*min_cwnd)(const struct sock *sk);
670 void (*cong_avoid)(struct sock *sk, u32 ack, u32 in_flight);
672 void (*set_state)(struct sock *sk, u8 new_state);
674 void (*cwnd_event)(struct sock *sk, enum tcp_ca_event ev);
676 u32 (*undo_cwnd)(struct sock *sk);
678 void (*pkts_acked)(struct sock *sk, u32 num_acked, s32 rtt_us);
680 void (*get_info)(struct sock *sk, u32 ext, struct sk_buff *skb);
689 extern void tcp_init_congestion_control(struct sock *sk);
690 extern void tcp_cleanup_congestion_control(struct sock *sk);
696 extern int tcp_set_congestion_control(struct sock *sk, const char *name);
701 extern u32 tcp_reno_ssthresh(struct sock *sk);
702 extern void tcp_reno_cong_avoid(struct sock *sk, u32 ack, u32 in_flight);
703 extern u32 tcp_reno_min_cwnd(const struct sock *sk);
706 static inline void tcp_set_ca_state(struct sock *sk, const u8 ca_state)
715 static inline void tcp_ca_event(struct sock *sk, const enum tcp_ca_event event)
786 static inline __u32 tcp_current_ssthresh(const struct sock *sk)
800 extern void tcp_enter_cwr(struct sock *sk, const int set_ssthresh);
819 extern int tcp_is_cwnd_limited(const struct sock *sk, u32 in_flight);
828 static inline void tcp_check_probe_timer(struct sock *sk)
892 static inline int tcp_prequeue(struct sock *sk, struct sk_buff *skb)
934 extern void tcp_set_state(struct sock *sk, int state);
936 extern void tcp_done(struct sock *sk);
958 static inline int tcp_space(const struct sock *sk)
964 static inline int tcp_full_space(const struct sock *sk)
990 extern void tcp_enter_memory_pressure(struct sock *sk);
1015 static inline int tcp_fin_time(const struct sock *sk)
1103 /* - sock block */
1148 struct sock *sk, struct request_sock *req,
1150 extern struct tcp_md5sig_key * tcp_v4_md5_lookup(struct sock *sk,
1151 struct sock *addr_sk);
1152 extern int tcp_v4_md5_do_add(struct sock *sk, __be32 addr, u8 *newkey,
1154 extern int tcp_v4_md5_do_del(struct sock *sk, __be32 addr);
1166 extern struct tcp_md5sig_pool * __percpu *tcp_alloc_md5sig_pool(struct sock *);
1179 static inline void tcp_write_queue_purge(struct sock *sk)
1189 static inline struct sk_buff *tcp_write_queue_head(struct sock *sk)
1194 static inline struct sk_buff *tcp_write_queue_tail(struct sock *sk)
1199 static inline struct sk_buff *tcp_write_queue_next(struct sock *sk, struct sk_buff *skb)
1204 static inline struct sk_buff *tcp_write_queue_prev(struct sock *sk, struct sk_buff *skb)
1218 static inline struct sk_buff *tcp_send_head(struct sock *sk)
1223 static inline bool tcp_skb_is_last(const struct sock *sk,
1229 static inline void tcp_advance_send_head(struct sock *sk, struct sk_buff *skb)
1237 static inline void tcp_check_send_head(struct sock *sk, struct sk_buff *skb_unlinked)
1243 static inline void tcp_init_send_head(struct sock *sk)
1248 static inline void __tcp_add_write_queue_tail(struct sock *sk, struct sk_buff *skb)
1253 static inline void tcp_add_write_queue_tail(struct sock *sk, struct sk_buff *skb)
1266 static inline void __tcp_add_write_queue_head(struct sock *sk, struct sk_buff *skb)
1274 struct sock *sk)
1282 struct sock *sk)
1290 static inline void tcp_unlink_write_queue(struct sk_buff *skb, struct sock *sk)
1295 static inline int tcp_write_queue_empty(struct sock *sk)
1300 static inline void tcp_push_pending_frames(struct sock *sk)
1323 static inline void tcp_advance_highest_sack(struct sock *sk, struct sk_buff *skb)
1329 static inline struct sk_buff *tcp_highest_sack(struct sock *sk)
1334 static inline void tcp_highest_sack_reset(struct sock *sk)
1340 static inline void tcp_highest_sack_combine(struct sock *sk,
1375 struct sock *syn_wait_sk;
1386 extern void tcp_v4_destroy_sock(struct sock *sk);
1405 struct tcp_md5sig_key *(*md5_lookup) (struct sock *sk,
1406 struct sock *addr_sk);
1409 struct sock *sk,
1412 int (*md5_add) (struct sock *sk,
1413 struct sock *addr_sk,
1416 int (*md5_parse) (struct sock *sk,
1424 struct tcp_md5sig_key *(*md5_lookup) (struct sock *sk,
1428 struct sock *sk,