/linux-2.6.39/drivers/net/sfc/ |
D | tx.c | 593 #define SKB_TCP_OFF(skb) PTR_DIFF(tcp_hdr(skb), (skb)->data) 665 EFX_BUG_ON_PARANOID((PTR_DIFF(tcp_hdr(skb), skb->data) in efx_tso_check_protocol() 666 + (tcp_hdr(skb)->doff << 2u)) > in efx_tso_check_protocol() 908 st->header_len = ((tcp_hdr(skb)->doff << 2u) in tso_start() 909 + PTR_DIFF(tcp_hdr(skb), skb->data)); in tso_start() 916 st->seqnum = ntohl(tcp_hdr(skb)->seq); in tso_start() 918 EFX_BUG_ON_PARANOID(tcp_hdr(skb)->urg); in tso_start() 919 EFX_BUG_ON_PARANOID(tcp_hdr(skb)->syn); in tso_start() 920 EFX_BUG_ON_PARANOID(tcp_hdr(skb)->rst); in tso_start() 1067 tsoh_th->fin = tcp_hdr(skb)->fin; in tso_start_new_packet() [all …]
|
/linux-2.6.39/net/ipv6/ |
D | tcp_ipv6.c | 120 tcp_hdr(skb)->dest, in tcp_v6_init_sequence() 121 tcp_hdr(skb)->source); in tcp_v6_init_sequence() 539 "Sending cookies.\n", ntohs(tcp_hdr(skb)->dest)); in syn_flood_warning() 544 "Dropping request.\n", ntohs(tcp_hdr(skb)->dest)); in syn_flood_warning() 813 struct tcphdr *th = tcp_hdr(skb); in tcp_v6_md5_hash_skb() 861 struct tcphdr *th = tcp_hdr(skb); in tcp_v6_inbound_md5_hash() 920 struct tcphdr *th = tcp_hdr(skb); in __tcp_v6_send_check() 949 th = tcp_hdr(skb); in tcp_v6_gso_send_check() 982 struct tcphdr *th = tcp_hdr(skb); in tcp6_gro_complete() 994 struct tcphdr *th = tcp_hdr(skb), *t1; in tcp_v6_send_response() [all …]
|
D | syncookies.c | 120 const struct tcphdr *th = tcp_hdr(skb); in cookie_v6_init_sequence() 142 const struct tcphdr *th = tcp_hdr(skb); in cookie_check() 160 const struct tcphdr *th = tcp_hdr(skb); in cookie_v6_check()
|
/linux-2.6.39/include/linux/ |
D | tcp.h | 214 static inline struct tcphdr *tcp_hdr(const struct sk_buff *skb) in tcp_hdr() function 221 return tcp_hdr(skb)->doff * 4; in tcp_hdrlen() 226 return (tcp_hdr(skb)->doff - 5) * 4; in tcp_optlen()
|
/linux-2.6.39/net/ipv4/ |
D | tcp_ipv4.c | 110 tcp_hdr(skb)->dest, in tcp_v4_init_sequence() 111 tcp_hdr(skb)->source); in tcp_v4_init_sequence() 533 struct tcphdr *th = tcp_hdr(skb); in __tcp_v4_send_check() 565 th = tcp_hdr(skb); in tcp_v4_gso_send_check() 588 struct tcphdr *th = tcp_hdr(skb); in tcp_v4_send_reset() 666 struct tcphdr *th = tcp_hdr(skb); in tcp_v4_send_ack() 817 ntohs(tcp_hdr(skb)->dest), msg); in syn_flood_warning() 1102 struct tcphdr *th = tcp_hdr(skb); in tcp_v4_md5_hash_skb() 1160 struct tcphdr *th = tcp_hdr(skb); in tcp_v4_inbound_md5_hash() 1329 TCP_ECN_create_request(req, tcp_hdr(skb)); in tcp_v4_conn_request() [all …]
|
D | syncookies.c | 165 const struct tcphdr *th = tcp_hdr(skb); in cookie_v4_init_sequence() 197 const struct tcphdr *th = tcp_hdr(skb); in cookie_check() 272 const struct tcphdr *th = tcp_hdr(skb); in cookie_v4_check()
|
D | tcp.c | 491 answ -= tcp_hdr(skb)->fin; in tcp_ioctl() 1309 if (tcp_hdr(skb)->syn) in tcp_recv_skb() 1311 if (offset < skb->len || tcp_hdr(skb)->fin) { in tcp_recv_skb() 1375 if (tcp_hdr(skb)->fin) { in tcp_read_sock() 1488 if (tcp_hdr(skb)->syn) in tcp_recvmsg() 1492 if (tcp_hdr(skb)->fin) in tcp_recvmsg() 1718 if (tcp_hdr(skb)->fin) in tcp_recvmsg() 1902 tcp_hdr(skb)->fin; in tcp_close() 2669 th = tcp_hdr(skb); in tcp_tso_segment() 2710 th = tcp_hdr(skb); in tcp_tso_segment() [all …]
|
D | tcp_minisocks.c | 531 newtp->snd_wnd = (ntohs(tcp_hdr(skb)->window) << in tcp_create_openreq_child() 571 const struct tcphdr *th = tcp_hdr(skb); in tcp_check_req() 769 ret = tcp_rcv_state_process(child, skb, tcp_hdr(skb), in tcp_child_process()
|
D | tcp_input.c | 156 !(tcp_flag_word(tcp_hdr(skb)) & TCP_REMNANT))) { in tcp_measure_rcv_mss() 211 if (tcp_hdr(skb)->cwr) in TCP_ECN_accept_cwr() 3444 u32 nwin = ntohs(tcp_hdr(skb)->window); in tcp_ack_update_window() 3446 if (likely(!tcp_hdr(skb)->syn)) in tcp_ack_update_window() 3677 if (TCP_ECN_rcv_ecn_echo(tp, tcp_hdr(skb))) in tcp_ack() 3751 struct tcphdr *th = tcp_hdr(skb); in tcp_parse_options() 3987 struct tcphdr *th = tcp_hdr(skb); in tcp_disordered_ack() 4341 if (tcp_hdr(skb)->fin) in tcp_ofo_queue() 4342 tcp_fin(skb, sk, tcp_hdr(skb)); in tcp_ofo_queue() 4370 struct tcphdr *th = tcp_hdr(skb); in tcp_data_queue() [all …]
|
D | tcp_output.c | 339 tcp_hdr(skb)->cwr = 1; in TCP_ECN_send() 347 tcp_hdr(skb)->ece = 1; in TCP_ECN_send() 847 th = tcp_hdr(skb); in tcp_transmit_skb() 2474 th = tcp_hdr(skb); in tcp_make_synack()
|
D | ip_output.c | 1482 .fl4_sport = tcp_hdr(skb)->dest, in ip_send_reply() 1483 .fl4_dport = tcp_hdr(skb)->source, in ip_send_reply()
|
/linux-2.6.39/security/ |
D | lsm_audit.c | 63 struct tcphdr *th = tcp_hdr(skb); in ipv4_skb_to_auditdata()
|
/linux-2.6.39/include/net/ |
D | tcp.h | 991 ireq->rmt_port = tcp_hdr(skb)->source; in tcp_openreq_init() 992 ireq->loc_port = tcp_hdr(skb)->dest; in tcp_openreq_init()
|
/linux-2.6.39/drivers/s390/net/ |
D | qeth_l3_main.c | 2971 struct tcphdr *tcph = tcp_hdr(skb); in qeth_tso_fill_header() 3005 unsigned long tcpd = (unsigned long)tcp_hdr(skb) + in qeth_l3_tso_elements() 3006 tcp_hdr(skb)->doff * 4; in qeth_l3_tso_elements() 3145 len = ((unsigned long)tcp_hdr(new_skb) + in qeth_l3_hard_start_xmit() 3146 tcp_hdr(new_skb)->doff * 4) - in qeth_l3_hard_start_xmit()
|
/linux-2.6.39/drivers/net/ixgb/ |
D | ixgb_main.c | 1211 tcp_hdr(skb)->check = ~csum_tcpudp_magic(iph->saddr, in ixgb_tso() 1218 tucso = (void *)&(tcp_hdr(skb)->check) - (void *)skb->data; in ixgb_tso()
|
/linux-2.6.39/drivers/net/bnx2x/ |
D | bnx2x_cmn.c | 1991 pbd->tcp_send_seq = swab32(tcp_hdr(skb)->seq); in bnx2x_set_pbd_gso() 2076 pbd->tcp_pseudo_csum = swab16(tcp_hdr(skb)->check); in bnx2x_set_pbd_csum()
|
D | bnx2x.h | 545 #define pbd_tcp_flags(skb) (ntohl(tcp_flag_word(tcp_hdr(skb)))>>16 & 0xff)
|
/linux-2.6.39/drivers/infiniband/hw/nes/ |
D | nes_nic.c | 390 tcph = tcp_hdr(skb); in nes_nic_send() 572 curr_tcp_seq = ntohl(tcp_hdr(skb)->seq); in nes_netdev_start_xmit()
|
/linux-2.6.39/drivers/net/pch_gbe/ |
D | pch_gbe_main.c | 975 tcp_hdr(skb)->check = 0; in pch_gbe_tx_queue() 978 tcp_hdr(skb)->check = in pch_gbe_tx_queue()
|
/linux-2.6.39/drivers/net/qlge/ |
D | qlge_main.c | 2508 tcp_hdr(skb)->check = ~csum_tcpudp_magic(iph->saddr, in ql_tso() 2514 tcp_hdr(skb)->check = in ql_tso() 2539 check = &(tcp_hdr(skb)->check); in ql_hw_csum_setup() 2543 (tcp_hdr(skb)->doff << 2)); in ql_hw_csum_setup()
|
/linux-2.6.39/drivers/net/enic/ |
D | enic_main.c | 725 tcp_hdr(skb)->check = ~csum_tcpudp_magic(ip_hdr(skb)->saddr, in enic_queue_wq_skb_tso() 728 tcp_hdr(skb)->check = ~csum_ipv6_magic(&ipv6_hdr(skb)->saddr, in enic_queue_wq_skb_tso()
|
/linux-2.6.39/drivers/net/igbvf/ |
D | netdev.c | 1894 tcp_hdr(skb)->check = ~csum_tcpudp_magic(iph->saddr, in igbvf_tso() 1900 tcp_hdr(skb)->check = ~csum_ipv6_magic(&ipv6_hdr(skb)->saddr, in igbvf_tso()
|
/linux-2.6.39/drivers/net/atl1c/ |
D | atl1c_main.c | 2034 tcp_hdr(skb)->check = ~csum_tcpudp_magic( in atl1c_tso_csum() 2058 tcp_hdr(skb)->check = ~csum_ipv6_magic( in atl1c_tso_csum()
|
/linux-2.6.39/drivers/net/ |
D | mv643xx_eth.c | 543 *tcph = tcp_hdr(skb); in mv643xx_get_skb_header() 812 l4i_chk = ntohs(sum16_as_be(tcp_hdr(skb)->check)); in txq_submit_skb()
|
/linux-2.6.39/drivers/net/e1000/ |
D | e1000_main.c | 2687 tcp_hdr(skb)->check = ~csum_tcpudp_magic(iph->saddr, in e1000_tso() 2695 tcp_hdr(skb)->check = in e1000_tso() 2704 tucso = (void *)&(tcp_hdr(skb)->check) - (void *)skb->data; in e1000_tso()
|