Data Structures |
| struct | sk_buff_head |
| struct | skb_frag_t |
| struct | skb_shared_info |
| struct | sk_buff |
| struct | _sockaddr |
| struct | msghdr |
| struct | proto |
| struct | tcp_sack_block |
| struct | tcp_opt |
| struct | socket_lock_t |
| struct | sock |
| struct | dst_entry |
| struct | dst_ops |
| struct | tcp_ehash_bucket |
| struct | tcp_bind_bucket |
| struct | tcp_bind_hashbucket |
| struct | tcp_hashinfo |
| struct | tcp_tw_bucket |
| struct | or_calltable |
| struct | tcp_v4_open_req |
| struct | open_request |
| struct | tcp_func |
| struct | tcp_skb_cb |
| struct | tcp_listen_opt |
Defines |
| #define | HAVE_ALLOC_SKB /* For the drivers to know */ |
| #define | HAVE_ALIGNABLE_SKB /* Ditto 8) */ |
| #define | SLAB_SKB /* Slabified skbuffs */ |
| #define | CHECKSUM_NONE 0 |
| #define | CHECKSUM_HW 1 |
| #define | CHECKSUM_UNNECESSARY 2 |
| #define | SKB_DATA_ALIGN(X) (((X) + (SMP_CACHE_BYTES-1)) & ~(SMP_CACHE_BYTES-1)) |
| #define | SKB_MAX_ORDER(X, ORDER) (((PAGE_SIZE<<(ORDER)) - (X) - sizeof(struct skb_shared_info))&~(SMP_CACHE_BYTES-1)) |
| #define | SKB_MAX_HEAD(X) (SKB_MAX_ORDER((X),0)) |
| #define | SKB_MAX_ALLOC (SKB_MAX_ORDER(0,2)) |
| #define | NET_CALLER(arg) __builtin_return_address(0) |
| #define | MAX_SKB_FRAGS 6 |
| #define | SK_WMEM_MAX 65535 |
| #define | SK_RMEM_MAX 65535 |
| #define | dev_kfree_skb(a) kfree_skb(a) |
| #define | skb_shinfo(SKB) ((struct skb_shared_info *)((SKB)->end)) |
| #define | SKB_PAGE_ASSERT(skb) do { if (skb_shinfo(skb)->nr_frags) out_of_line_bug(); } while (0) |
| #define | SKB_FRAG_ASSERT(skb) do { if (skb_shinfo(skb)->frag_list) out_of_line_bug(); } while (0) |
| #define | SKB_LINEAR_ASSERT(skb) do { if (skb_is_nonlinear(skb)) out_of_line_bug(); } while (0) |
| #define | skb_queue_walk(queue, skb) |
| #define | RT_CACHE_DEBUG 0 |
| #define | DST_GC_MIN (1*HZ) |
| #define | DST_GC_INC (5*HZ) |
| #define | DST_GC_MAX (120*HZ) |
| #define | DST_HOST 1 |
| #define | TCP_DEBUG 1 |
| #define | FASTRETRANS_DEBUG 1 |
| #define | TCP_LHTABLE_SIZE 32 /* Yes, really, this is all you need. */ |
| #define | tcp_ehash (tcp_hashinfo.__tcp_ehash) |
| #define | tcp_bhash (tcp_hashinfo.__tcp_bhash) |
| #define | tcp_ehash_size (tcp_hashinfo.__tcp_ehash_size) |
| #define | tcp_bhash_size (tcp_hashinfo.__tcp_bhash_size) |
| #define | tcp_listening_hash (tcp_hashinfo.__tcp_listening_hash) |
| #define | tcp_lhash_lock (tcp_hashinfo.__tcp_lhash_lock) |
| #define | tcp_lhash_users (tcp_hashinfo.__tcp_lhash_users) |
| #define | tcp_lhash_wait (tcp_hashinfo.__tcp_lhash_wait) |
| #define | tcp_portalloc_lock (tcp_hashinfo.__tcp_portalloc_lock) |
| #define | TCP_COMBINED_PORTS(__sport, __dport) (((__u32)(__dport)<<16) | (__u32)(__sport)) |
| #define | TCP_V4_ADDR_COOKIE(__name, __saddr, __daddr) |
| #define | TCP_IPV4_MATCH(__sk, __cookie, __saddr, __daddr, __ports, __dif) |
| #define | TCP_IPV6_MATCH(__sk, __saddr, __daddr, __ports, __dif) |
| #define | MAX_TCP_HEADER (128 + MAX_HEADER) |
| #define | MAX_TCP_WINDOW 32767U |
| #define | TCP_MIN_MSS 88U |
| #define | TCP_MIN_RCVMSS 536U |
| #define | TCP_FASTRETRANS_THRESH 3 |
| #define | TCP_MAX_REORDERING 127 |
| #define | TCP_MAX_QUICKACKS 16U |
| #define | TCP_URG_VALID 0x0100 |
| #define | TCP_URG_NOTYET 0x0200 |
| #define | TCP_URG_READ 0x0400 |
| #define | TCP_RETR1 |
| #define | TCP_RETR2 |
| #define | TCP_SYN_RETRIES |
| #define | TCP_SYNACK_RETRIES |
| #define | TCP_ORPHAN_RETRIES |
| #define | TCP_TIMEWAIT_LEN (60*1000) |
| #define | TCP_FIN_TIMEOUT TCP_TIMEWAIT_LEN |
| #define | TCP_DELACK_MAX ((unsigned)(HZ/5)) /* maximal time to delay before sending an ACK */ |
| #define | TCP_DELACK_MIN 4U |
| #define | TCP_ATO_MIN 4U |
| #define | TCP_RTO_MAX ((unsigned)(120*HZ)) |
| #define | TCP_RTO_MIN ((unsigned)(HZ/5)) |
| #define | TCP_TIMEOUT_INIT ((unsigned)(3*HZ)) /* RFC 1122 initial RTO value */ |
| #define | TCP_RESOURCE_PROBE_INTERVAL |
| #define | TCP_KEEPALIVE_TIME (120*60*HZ) /* two hours */ |
| #define | TCP_KEEPALIVE_PROBES 9 /* Max of 9 keepalive probes */ |
| #define | TCP_KEEPALIVE_INTVL (75*HZ) |
| #define | MAX_TCP_KEEPIDLE 32767 |
| #define | MAX_TCP_KEEPINTVL 32767 |
| #define | MAX_TCP_KEEPCNT 127 |
| #define | MAX_TCP_SYNCNT 127 |
| #define | TCP_TWKILL_SLOTS 8 /* Please keep this a power of 2. */ |
| #define | TCP_TWKILL_PERIOD (TCP_TIMEWAIT_LEN/TCP_TWKILL_SLOTS) |
| #define | TCP_SYNQ_INTERVAL (HZ/5) /* Period of SYNACK timer */ |
| #define | TCP_SYNQ_HSIZE 512 /* Size of SYNACK hash table */ |
| #define | TCP_PAWS_24DAYS (60 * 60 * 24 * 24) |
| #define | TCP_PAWS_MSL |
| #define | TCP_PAWS_WINDOW |
| #define | TCP_TW_RECYCLE_SLOTS_LOG 5 |
| #define | TCP_TW_RECYCLE_SLOTS (1<<TCP_TW_RECYCLE_SLOTS_LOG) |
| #define | TCP_TW_RECYCLE_TICK (0) |
| #define | TCPOPT_NOP 1 /* Padding */ |
| #define | TCPOPT_EOL 0 /* End of options */ |
| #define | TCPOPT_MSS 2 /* Segment size negotiating */ |
| #define | TCPOPT_WINDOW 3 /* Window scaling */ |
| #define | TCPOPT_SACK_PERM 4 /* SACK Permitted */ |
| #define | TCPOPT_SACK 5 /* SACK Block */ |
| #define | TCPOPT_TIMESTAMP 8 /* Better RTT estimations/PAWS */ |
| #define | TCPOLEN_MSS 4 |
| #define | TCPOLEN_WINDOW 3 |
| #define | TCPOLEN_SACK_PERM 2 |
| #define | TCPOLEN_TIMESTAMP 10 |
| #define | TCPOLEN_TSTAMP_ALIGNED 12 |
| #define | TCPOLEN_WSCALE_ALIGNED 4 |
| #define | TCPOLEN_SACKPERM_ALIGNED 4 |
| #define | TCPOLEN_SACK_BASE 2 |
| #define | TCPOLEN_SACK_BASE_ALIGNED 4 |
| #define | TCPOLEN_SACK_PERBLOCK 8 |
| #define | TCP_TIME_RETRANS 1 /* Retransmit timer */ |
| #define | TCP_TIME_DACK 2 /* Delayed ack timer */ |
| #define | TCP_TIME_PROBE0 3 /* Zero window probe timer */ |
| #define | TCP_TIME_KEEPOPEN 4 /* Keepalive timer */ |
| #define | tcp_openreq_alloc() kmem_cache_alloc(tcp_openreq_cachep, SLAB_ATOMIC) |
| #define | tcp_openreq_fastfree(req) kmem_cache_free(tcp_openreq_cachep, req) |
| #define | TCP_INET_FAMILY(fam) 1 |
| #define | tcp_time_stamp ((__u32)(jiffies)) |
| #define | TCPCB_FLAG_FIN 0x01 |
| #define | TCPCB_FLAG_SYN 0x02 |
| #define | TCPCB_FLAG_RST 0x04 |
| #define | TCPCB_FLAG_PSH 0x08 |
| #define | TCPCB_FLAG_ACK 0x10 |
| #define | TCPCB_FLAG_URG 0x20 |
| #define | TCPCB_FLAG_ECE 0x40 |
| #define | TCPCB_FLAG_CWR 0x80 |
| #define | TCPCB_SACKED_ACKED 0x01 /* SKB ACK'd by a SACK block */ |
| #define | TCPCB_SACKED_RETRANS 0x02 /* SKB retransmitted */ |
| #define | TCPCB_LOST 0x04 /* SKB is lost */ |
| #define | TCPCB_TAGBITS 0x07 /* All tag bits */ |
| #define | TCPCB_EVER_RETRANS 0x80 /* Ever retransmitted frame */ |
| #define | TCPCB_RETRANS (TCPCB_SACKED_RETRANS|TCPCB_EVER_RETRANS) |
| #define | TCPCB_URG 0x20 /* Urgent pointer advenced here */ |
| #define | TCPCB_AT_TAIL (TCPCB_URG) |
| #define | TCP_SKB_CB(__skb) ((struct tcp_skb_cb *)&((__skb)->cb[0])) |
| #define | for_retrans_queue(skb, sk, tp) |
| #define | TCP_MEM_QUANTUM ((int)PAGE_SIZE) |
| #define | TCP_CHECK_TIMER(sk) do { } while (0) |
Typedefs |
| typedef int(* | sk_read_actor_t )(read_descriptor_t *, struct sk_buff *, unsigned int, size_t) |
Enumerations |
| enum | tcp_ack_state_t { TCP_ACK_SCHED = 1,
TCP_ACK_TIMER = 2,
TCP_ACK_PUSHED = 4
} |
| enum | tcp_tw_status { TCP_TW_SUCCESS = 0,
TCP_TW_RST = 1,
TCP_TW_ACK = 2,
TCP_TW_SYN = 3
} |
Functions |
| void | __kfree_skb (struct sk_buff *skb) |
| struct sk_buff * | alloc_skb (unsigned int size, int priority) |
| void | kfree_skbmem (struct sk_buff *skb) |
| struct sk_buff * | skb_clone (struct sk_buff *skb, int priority) |
| struct sk_buff * | skb_copy (const struct sk_buff *skb, int priority) |
| struct sk_buff * | pskb_copy (struct sk_buff *skb, int gfp_mask) |
| int | pskb_expand_head (struct sk_buff *skb, int nhead, int ntail, int gfp_mask) |
| struct sk_buff * | skb_realloc_headroom (struct sk_buff *skb, unsigned int headroom) |
| struct sk_buff * | skb_copy_expand (const struct sk_buff *skb, int newheadroom, int newtailroom, int priority) |
| void | skb_over_panic (struct sk_buff *skb, int len, void *here) |
| void | skb_under_panic (struct sk_buff *skb, int len, void *here) |
| static __inline int | skb_queue_empty (struct sk_buff_head *list) |
| static __inline struct sk_buff * | skb_get (struct sk_buff *skb) |
| static __inline void | kfree_skb (struct sk_buff *skb) |
| static __inline void | kfree_skb_fast (struct sk_buff *skb) |
| static __inline int | skb_cloned (struct sk_buff *skb) |
| static __inline int | skb_shared (struct sk_buff *skb) |
| static __inline struct sk_buff * | skb_share_check (struct sk_buff *skb, int pri) |
| static __inline struct sk_buff * | skb_unshare (struct sk_buff *skb, int pri) |
| static __inline struct sk_buff * | skb_peek (struct sk_buff_head *list_) |
| static __inline struct sk_buff * | skb_peek_tail (struct sk_buff_head *list_) |
| static __inline __u32 | skb_queue_len (struct sk_buff_head *list_) |
| static __inline void | skb_queue_head_init (struct sk_buff_head *list) |
| static __inline void | __skb_queue_head (struct sk_buff_head *list, struct sk_buff *newsk) |
| static __inline void | skb_queue_head (struct sk_buff_head *list, struct sk_buff *newsk) |
| static __inline void | __skb_queue_tail (struct sk_buff_head *list, struct sk_buff *newsk) |
| static __inline void | skb_queue_tail (struct sk_buff_head *list, struct sk_buff *newsk) |
| static __inline struct sk_buff * | __skb_dequeue (struct sk_buff_head *list) |
| static __inline struct sk_buff * | skb_dequeue (struct sk_buff_head *list) |
| static __inline void | __skb_insert (struct sk_buff *newsk, struct sk_buff *prev, struct sk_buff *next, struct sk_buff_head *list) |
| static __inline void | skb_insert (struct sk_buff *old, struct sk_buff *newsk) |
| static __inline void | __skb_append (struct sk_buff *old, struct sk_buff *newsk) |
| static __inline void | skb_append (struct sk_buff *old, struct sk_buff *newsk) |
| static __inline void | __skb_unlink (struct sk_buff *skb, struct sk_buff_head *list) |
| static __inline void | skb_unlink (struct sk_buff *skb) |
| static __inline struct sk_buff * | __skb_dequeue_tail (struct sk_buff_head *list) |
| static __inline struct sk_buff * | skb_dequeue_tail (struct sk_buff_head *list) |
| static __inline int | skb_is_nonlinear (const struct sk_buff *skb) |
| static __inline int | skb_headlen (const struct sk_buff *skb) |
| static __inline unsigned char * | __skb_put (struct sk_buff *skb, unsigned int len) |
| static __inline unsigned char * | skb_put (struct sk_buff *skb, unsigned int len) |
| static __inline unsigned char * | __skb_push (struct sk_buff *skb, unsigned int len) |
| static __inline unsigned char * | skb_push (struct sk_buff *skb, unsigned int len) |
| static __inline char * | __skb_pull (struct sk_buff *skb, unsigned int len) |
| static __inline unsigned char * | skb_pull (struct sk_buff *skb, unsigned int len) |
| unsigned char * | __pskb_pull_tail (struct sk_buff *skb, int delta) |
| static __inline char * | __pskb_pull (struct sk_buff *skb, unsigned int len) |
| static __inline unsigned char * | pskb_pull (struct sk_buff *skb, unsigned int len) |
| static __inline int | pskb_may_pull (struct sk_buff *skb, unsigned int len) |
| static __inline int | skb_headroom (const struct sk_buff *skb) |
| static __inline int | skb_tailroom (const struct sk_buff *skb) |
| static __inline void | skb_reserve (struct sk_buff *skb, unsigned int len) |
| int | ___pskb_trim (struct sk_buff *skb, unsigned int len, int realloc) |
| static __inline void | __skb_trim (struct sk_buff *skb, unsigned int len) |
| static __inline void | skb_trim (struct sk_buff *skb, unsigned int len) |
| static __inline int | __pskb_trim (struct sk_buff *skb, unsigned int len) |
| static __inline int | pskb_trim (struct sk_buff *skb, unsigned int len) |
| static __inline void | skb_orphan (struct sk_buff *skb) |
| static __inline void | skb_queue_purge (struct sk_buff_head *list) |
| static __inline void | __skb_queue_purge (struct sk_buff_head *list) |
| static __inline struct sk_buff * | __dev_alloc_skb (unsigned int length, int gfp_mask) |
| static __inline struct sk_buff * | dev_alloc_skb (unsigned int length) |
| static __inline int | skb_cow (struct sk_buff *skb, unsigned int headroom) |
| int | skb_linearize (struct sk_buff *skb, int gfp) |
| static __inline void * | kmap_skb_frag (const skb_frag_t *frag) |
| static __inline void | kunmap_skb_frag (void *vaddr) |
| struct sk_buff * | skb_recv_datagram (struct sock *sk, unsigned flags, int noblock, int *err) |
| unsigned int | datagram_poll (struct file *file, struct socket *sock, struct poll_table_struct *wait) |
| int | skb_copy_datagram (const struct sk_buff *from, int offset, char *to, int size) |
| int | skb_copy_datagram_iovec (const struct sk_buff *from, int offset, struct iovec *to, int size) |
| int | skb_copy_and_csum_datagram (const struct sk_buff *skb, int offset, u8 *to, int len, unsigned int *csump) |
| int | skb_copy_and_csum_datagram_iovec (const struct sk_buff *skb, int hlen, struct iovec *iov) |
| void | skb_free_datagram (struct sock *sk, struct sk_buff *skb) |
| unsigned int | skb_checksum (const struct sk_buff *skb, int offset, int len, unsigned int csum) |
| int | skb_copy_bits (const struct sk_buff *skb, int offset, void *to, int len) |
| unsigned int | skb_copy_and_csum_bits (const struct sk_buff *skb, int offset, u8 *to, int len, unsigned int csum) |
| void | skb_copy_and_csum_dev (const struct sk_buff *skb, u8 *to) |
| void | skb_init (void) |
| void | skb_add_mtu (int mtu) |
| struct tcp_ehash_bucket | __attribute__ ((__aligned__(8))) |
| struct tcp_bind_bucket * | tcp_bucket_create (struct tcp_bind_hashbucket *head, unsigned short snum) |
| void | tcp_bucket_unlock (struct sock *sk) |
| struct sock * | tcp_v4_lookup_listener (u32 addr, unsigned short hnum, int dif) |
| static __inline int | tcp_bhashfn (__u16 lport) |
| static __inline void | tcp_tw_put (struct tcp_tw_bucket *tw) |
| void | tcp_time_wait (struct sock *sk, int state, int timeo) |
| void | tcp_timewait_kill (struct tcp_tw_bucket *tw) |
| void | tcp_tw_schedule (struct tcp_tw_bucket *tw, int timeo) |
| void | tcp_tw_deschedule (struct tcp_tw_bucket *tw) |
| static __inline int | tcp_lhashfn (unsigned short num) |
| static __inline int | tcp_sk_listen_hashfn (struct sock *sk) |
| static __inline void | tcp_openreq_free (struct open_request *req) |
| __inline int | before (__u32 seq1, __u32 seq2) |
| __inline int | after (__u32 seq1, __u32 seq2) |
| __inline int | between (__u32 seq1, __u32 seq2, __u32 seq3) |
| void | tcp_put_port (struct sock *sk) |
| void | __tcp_put_port (struct sock *sk) |
| void | tcp_inherit_port (struct sock *sk, struct sock *child) |
| void | tcp_v4_err (struct sk_buff *skb, u32) |
| void | tcp_shutdown (struct sock *sk, int how) |
| int | tcp_v4_rcv (struct sk_buff *skb) |
| int | tcp_v4_remember_stamp (struct sock *sk) |
| int | tcp_v4_tw_remember_stamp (struct tcp_tw_bucket *tw) |
| int | tcp_sendmsg (struct sock *sk, struct msghdr *msg, int size) |
| ssize_t | tcp_sendpage (struct socket *sock, struct page *page, int offset, size_t size, int flags) |
| int | tcp_ioctl (struct sock *sk, int cmd, unsigned long arg) |
| int | tcp_rcv_state_process (struct sock *sk, struct sk_buff *skb, struct tcphdr *th, unsigned len) |
| int | tcp_rcv_established (struct sock *sk, struct sk_buff *skb, struct tcphdr *th, unsigned len) |
| static __inline void | tcp_schedule_ack (struct tcp_opt *tp) |
| static __inline int | tcp_ack_scheduled (struct tcp_opt *tp) |
| static __inline void | tcp_dec_quickack_mode (struct tcp_opt *tp) |
| void | tcp_enter_quickack_mode (struct tcp_opt *tp) |
| static __inline void | tcp_delack_init (struct tcp_opt *tp) |
| static __inline void | tcp_clear_options (struct tcp_opt *tp) |
| enum tcp_tw_status | tcp_timewait_state_process (struct tcp_tw_bucket *tw, struct sk_buff *skb, struct tcphdr *th, unsigned len) |
| struct sock * | tcp_check_req (struct sock *sk, struct sk_buff *skb, struct open_request *req, struct open_request **prev) |
| int | tcp_child_process (struct sock *parent, struct sock *child, struct sk_buff *skb) |
| void | tcp_enter_loss (struct sock *sk, int how) |
| void | tcp_clear_retrans (struct tcp_opt *tp) |
| void | tcp_update_metrics (struct sock *sk) |
| void | tcp_close (struct sock *sk, long timeout) |
| struct sock * | tcp_accept (struct sock *sk, int flags, int *err) |
| unsigned int | tcp_poll (struct file *file, struct socket *sock, struct poll_table_struct *wait) |
| void | tcp_write_space (struct sock *sk) |
| int | tcp_getsockopt (struct sock *sk, int level, int optname, char *optval, int *optlen) |
| int | tcp_setsockopt (struct sock *sk, int level, int optname, char *optval, int optlen) |
| void | tcp_set_keepalive (struct sock *sk, int val) |
| int | tcp_recvmsg (struct sock *sk, struct msghdr *msg, int len, int nonblock, int flags, int *addr_len) |
| int | tcp_listen_start (struct sock *sk) |
| void | tcp_parse_options (struct sk_buff *skb, struct tcp_opt *tp, int estab) |
| int | tcp_v4_rebuild_header (struct sock *sk) |
| int | tcp_v4_build_header (struct sock *sk, struct sk_buff *skb) |
| void | tcp_v4_send_check (struct sock *sk, struct tcphdr *th, int len, struct sk_buff *skb) |
| int | tcp_v4_conn_request (struct sock *sk, struct sk_buff *skb) |
| struct sock * | tcp_create_openreq_child (struct sock *sk, struct open_request *req, struct sk_buff *skb) |
| struct sock * | tcp_v4_syn_recv_sock (struct sock *sk, struct sk_buff *skb, struct open_request *req, struct dst_entry *dst) |
| int | tcp_v4_do_rcv (struct sock *sk, struct sk_buff *skb) |
| int | tcp_v4_connect (struct sock *sk, struct sockaddr *uaddr, int addr_len) |
| int | tcp_connect (struct sock *sk) |
| struct sk_buff * | tcp_make_synack (struct sock *sk, struct dst_entry *dst, struct open_request *req) |
| int | tcp_disconnect (struct sock *sk, int flags) |
| void | tcp_unhash (struct sock *sk) |
| int | tcp_v4_hash_connecting (struct sock *sk) |
| struct sock * | cookie_v4_check (struct sock *sk, struct sk_buff *skb, struct ip_options *opt) |
| __u32 | cookie_v4_init_sequence (struct sock *sk, struct sk_buff *skb, __u16 *mss) |
| int | tcp_write_xmit (struct sock *, int nonagle) |
| int | tcp_retransmit_skb (struct sock *, struct sk_buff *) |
| void | tcp_xmit_retransmit_queue (struct sock *) |
| void | tcp_simple_retransmit (struct sock *) |
| void | tcp_send_probe0 (struct sock *) |
| void | tcp_send_partial (struct sock *) |
| int | tcp_write_wakeup (struct sock *) |
| void | tcp_send_fin (struct sock *sk) |
| void | tcp_send_active_reset (struct sock *sk, int priority) |
| int | tcp_send_synack (struct sock *) |
| int | tcp_transmit_skb (struct sock *, struct sk_buff *) |
| void | tcp_send_skb (struct sock *, struct sk_buff *, int force_queue, unsigned mss_now) |
| void | tcp_push_one (struct sock *, unsigned mss_now) |
| void | tcp_send_ack (struct sock *sk) |
| void | tcp_send_delayed_ack (struct sock *sk) |
| void | tcp_init_xmit_timers (struct sock *) |
| void | tcp_clear_xmit_timers (struct sock *) |
| void | tcp_delete_keepalive_timer (struct sock *) |
| void | tcp_reset_keepalive_timer (struct sock *, unsigned long) |
| int | tcp_sync_mss (struct sock *sk, u32 pmtu) |
| int | tcp_read_sock (struct sock *sk, read_descriptor_t *desc, sk_read_actor_t recv_actor) |
| static __inline void | tcp_clear_xmit_timer (struct sock *sk, int what) |
| static __inline void | tcp_reset_xmit_timer (struct sock *sk, int what, unsigned long when) |
| static __inline unsigned int | tcp_current_mss (struct sock *sk) |
| static __inline void | tcp_initialize_rcv_mss (struct sock *sk) |
| static __inline void | __tcp_fast_path_on (struct tcp_opt *tp, u32 snd_wnd) |
| static __inline void | tcp_fast_path_on (struct tcp_opt *tp) |
| static __inline void | tcp_fast_path_check (struct sock *sk, struct tcp_opt *tp) |
| static __inline u32 | tcp_receive_window (struct tcp_opt *tp) |
| u32 | __tcp_select_window (struct sock *sk) |
| static __inline int | tcp_min_write_space (struct sock *sk) |
| static __inline int | tcp_wspace (struct sock *sk) |
| static __inline unsigned int | tcp_packets_in_flight (struct tcp_opt *tp) |
| static __inline __u32 | tcp_recalc_ssthresh (struct tcp_opt *tp) |
| static __inline __u32 | tcp_current_ssthresh (struct tcp_opt *tp) |
| static __inline void | tcp_sync_left_out (struct tcp_opt *tp) |
| void | tcp_cwnd_application_limited (struct sock *sk) |
| static __inline void | tcp_cwnd_validate (struct sock *sk, struct tcp_opt *tp) |
| static __inline void | __tcp_enter_cwr (struct tcp_opt *tp) |
| static __inline void | tcp_enter_cwr (struct tcp_opt *tp) |
| __u32 | tcp_init_cwnd (struct tcp_opt *tp) |
| static __inline __u32 | tcp_max_burst (struct tcp_opt *tp) |
| static __inline__ int | tcp_minshall_check (struct tcp_opt *tp) |
| static __inline void | tcp_minshall_update (struct tcp_opt *tp, int mss, struct sk_buff *skb) |
| static __inline int | tcp_nagle_check (struct tcp_opt *tp, struct sk_buff *skb, unsigned mss_now, int nonagle) |
| static __inline int | tcp_snd_test (struct tcp_opt *tp, struct sk_buff *skb, unsigned cur_mss, int nonagle) |
| static __inline void | tcp_check_probe_timer (struct sock *sk, struct tcp_opt *tp) |
| static __inline int | tcp_skb_is_last (struct sock *sk, struct sk_buff *skb) |
| static __inline void | __tcp_push_pending_frames (struct sock *sk, struct tcp_opt *tp, unsigned cur_mss, int nonagle) |
| static __inline void | tcp_push_pending_frames (struct sock *sk, struct tcp_opt *tp) |
| static __inline int | tcp_may_send_now (struct sock *sk, struct tcp_opt *tp) |
| static __inline void | tcp_init_wl (struct tcp_opt *tp, u32 ack, u32 seq) |
| static __inline void | tcp_update_wl (struct tcp_opt *tp, u32 ack, u32 seq) |
| void | tcp_destroy_sock (struct sock *sk) |
| static __inline u16 | tcp_v4_check (struct tcphdr *th, int len, unsigned long saddr, unsigned long daddr, unsigned long base) |
| static __inline int | __tcp_checksum_complete (struct sk_buff *skb) |
| static __inline int | tcp_checksum_complete (struct sk_buff *skb) |
| static __inline void | tcp_prequeue_init (struct tcp_opt *tp) |
| static __inline int | tcp_prequeue (struct sock *sk, struct sk_buff *skb) |
| static __inline void | tcp_set_state (struct sock *sk, int state) |
| static __inline void | tcp_done (struct sock *sk) |
| static __inline void | tcp_sack_reset (struct tcp_opt *tp) |
| static __inline void | tcp_build_and_update_options (__u32 *ptr, struct tcp_opt *tp, __u32 tstamp) |
| static __inline void | tcp_syn_build_options (__u32 *ptr, int mss, int ts, int sack, int offer_wscale, int wscale, __u32 tstamp, __u32 ts_recent) |
| static __inline void | tcp_select_initial_window (int __space, __u32 mss, __u32 *rcv_wnd, __u32 *window_clamp, int wscale_ok, __u8 *rcv_wscale) |
| static __inline int | tcp_win_from_space (int space) |
| static __inline int | tcp_space (struct sock *sk) |
| static __inline int | tcp_full_space (struct sock *sk) |
| static __inline void | tcp_acceptq_removed (struct sock *sk) |
| static __inline void | tcp_acceptq_added (struct sock *sk) |
| static __inline int | tcp_acceptq_is_full (struct sock *sk) |
| static __inline void | tcp_acceptq_queue (struct sock *sk, struct open_request *req, struct sock *child) |
| static __inline void | tcp_synq_removed (struct sock *sk, struct open_request *req) |
| static __inline void | tcp_synq_added (struct sock *sk) |
| static __inline int | tcp_synq_len (struct sock *sk) |
| static __inline int | tcp_synq_young (struct sock *sk) |
| static __inline int | tcp_synq_is_full (struct sock *sk) |
| static __inline void | tcp_synq_unlink (struct tcp_opt *tp, struct open_request *req, struct open_request **prev) |
| static __inline void | tcp_synq_drop (struct sock *sk, struct open_request *req, struct open_request **prev) |
| static __inline void | tcp_openreq_init (struct open_request *req, struct tcp_opt *tp, struct sk_buff *skb) |
| static __inline void | tcp_free_skb (struct sock *sk, struct sk_buff *skb) |
| static __inline void | tcp_charge_skb (struct sock *sk, struct sk_buff *skb) |
| void | __tcp_mem_reclaim (struct sock *sk) |
| int | tcp_mem_schedule (struct sock *sk, int size, int kind) |
| static __inline void | tcp_mem_reclaim (struct sock *sk) |
| static __inline void | tcp_enter_memory_pressure (void) |
| static __inline void | tcp_moderate_sndbuf (struct sock *sk) |
| static __inline struct sk_buff * | tcp_alloc_pskb (struct sock *sk, int size, int mem, int gfp) |
| static __inline struct sk_buff * | tcp_alloc_skb (struct sock *sk, int size, int gfp) |
| static __inline struct page * | tcp_alloc_page (struct sock *sk) |
| static __inline void | tcp_writequeue_purge (struct sock *sk) |
| void | tcp_rfree (struct sk_buff *skb) |
| static __inline void | tcp_set_owner_r (struct sk_buff *skb, struct sock *sk) |
| void | tcp_listen_wlock (void) |
| static __inline void | tcp_listen_lock (void) |
| static __inline void | tcp_listen_unlock (void) |
| static __inline int | keepalive_intvl_when (struct tcp_opt *tp) |
| static __inline int | keepalive_time_when (struct tcp_opt *tp) |
| static __inline int | tcp_fin_time (struct tcp_opt *tp) |
| static __inline int | tcp_paws_check (struct tcp_opt *tp, int rst) |
Variables |
| rwlock_t | lock |
| struct sock * | chain |
| struct tcp_bind_bucket | __attribute__ |
| struct tcp_hashinfo | tcp_hashinfo |
| kmem_cache_t * | tcp_bucket_cachep |
| int | tcp_port_rover |
| kmem_cache_t * | tcp_timewait_cachep |
| atomic_t | tcp_orphan_count |
| int | tcp_tw_count |
| atomic_t | tcp_memory_allocated |
| atomic_t | tcp_sockets_allocated |
| int | tcp_memory_pressure |
| kmem_cache_t * | tcp_openreq_cachep |
| struct proto | tcp_prot |
| const char | timer_bug_msg [] |