/linux-3.3/drivers/net/ethernet/sfc/ |
D | tx.c | 603 #define SKB_TCP_OFF(skb) PTR_DIFF(tcp_hdr(skb), (skb)->data) 675 EFX_BUG_ON_PARANOID((PTR_DIFF(tcp_hdr(skb), skb->data) in efx_tso_check_protocol() 676 + (tcp_hdr(skb)->doff << 2u)) > in efx_tso_check_protocol() 918 st->header_len = ((tcp_hdr(skb)->doff << 2u) in tso_start() 919 + PTR_DIFF(tcp_hdr(skb), skb->data)); in tso_start() 926 st->seqnum = ntohl(tcp_hdr(skb)->seq); in tso_start() 928 EFX_BUG_ON_PARANOID(tcp_hdr(skb)->urg); in tso_start() 929 EFX_BUG_ON_PARANOID(tcp_hdr(skb)->syn); in tso_start() 930 EFX_BUG_ON_PARANOID(tcp_hdr(skb)->rst); in tso_start() 1076 tsoh_th->fin = tcp_hdr(skb)->fin; in tso_start_new_packet() [all …]
|
/linux-3.3/include/linux/ |
D | tcp.h | 215 static inline struct tcphdr *tcp_hdr(const struct sk_buff *skb) in tcp_hdr() function 222 return tcp_hdr(skb)->doff * 4; in tcp_hdrlen() 227 return (tcp_hdr(skb)->doff - 5) * 4; in tcp_optlen()
|
/linux-3.3/net/ipv6/ |
D | syncookies.c | 121 const struct tcphdr *th = tcp_hdr(skb); in cookie_v6_init_sequence() 143 const struct tcphdr *th = tcp_hdr(skb); in cookie_check() 161 const struct tcphdr *th = tcp_hdr(skb); in cookie_v6_check()
|
D | tcp_ipv6.c | 122 tcp_hdr(skb)->dest, in tcp_v6_init_sequence() 123 tcp_hdr(skb)->source); in tcp_v6_init_sequence() 802 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_md5_hash_skb() 850 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_inbound_md5_hash() 909 struct tcphdr *th = tcp_hdr(skb); in __tcp_v6_send_check() 938 th = tcp_hdr(skb); in tcp_v6_gso_send_check() 971 struct tcphdr *th = tcp_hdr(skb); in tcp6_gro_complete() 983 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_send_response() 1074 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_send_reset() 1128 const struct tcphdr *th = tcp_hdr(skb); in tcp_v6_hnd_req() [all …]
|
/linux-3.3/net/ipv4/ |
D | tcp_ipv4.c | 112 tcp_hdr(skb)->dest, in tcp_v4_init_sequence() 113 tcp_hdr(skb)->source); in tcp_v4_init_sequence() 539 struct tcphdr *th = tcp_hdr(skb); in __tcp_v4_send_check() 571 th = tcp_hdr(skb); in tcp_v4_gso_send_check() 594 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_send_reset() 678 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_send_ack() 847 proto, ntohs(tcp_hdr(skb)->dest), msg); in tcp_syn_flood_action() 1139 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_md5_hash_skb() 1197 const struct tcphdr *th = tcp_hdr(skb); in tcp_v4_inbound_md5_hash() 1355 TCP_ECN_create_request(req, tcp_hdr(skb)); in tcp_v4_conn_request() [all …]
|
D | syncookies.c | 166 const struct tcphdr *th = tcp_hdr(skb); in cookie_v4_init_sequence() 198 const struct tcphdr *th = tcp_hdr(skb); in cookie_check() 273 const struct tcphdr *th = tcp_hdr(skb); in cookie_v4_check()
|
D | tcp.c | 489 answ -= tcp_hdr(skb)->fin; in tcp_ioctl() 1310 if (tcp_hdr(skb)->syn) in tcp_recv_skb() 1312 if (offset < skb->len || tcp_hdr(skb)->fin) { in tcp_recv_skb() 1376 if (tcp_hdr(skb)->fin) { in tcp_read_sock() 1489 if (tcp_hdr(skb)->syn) in tcp_recvmsg() 1493 if (tcp_hdr(skb)->fin) in tcp_recvmsg() 1719 if (tcp_hdr(skb)->fin) in tcp_recvmsg() 1917 tcp_hdr(skb)->fin; in tcp_close() 2684 th = tcp_hdr(skb); in tcp_tso_segment() 2725 th = tcp_hdr(skb); in tcp_tso_segment() [all …]
|
D | tcp_minisocks.c | 535 newtp->snd_wnd = (ntohs(tcp_hdr(skb)->window) << in tcp_create_openreq_child() 575 const struct tcphdr *th = tcp_hdr(skb); in tcp_check_req() 777 ret = tcp_rcv_state_process(child, skb, tcp_hdr(skb), in tcp_child_process()
|
D | tcp_input.c | 155 !(tcp_flag_word(tcp_hdr(skb)) & TCP_REMNANT))) { in tcp_measure_rcv_mss() 210 if (tcp_hdr(skb)->cwr) in TCP_ECN_accept_cwr() 3505 u32 nwin = ntohs(tcp_hdr(skb)->window); in tcp_ack_update_window() 3507 if (likely(!tcp_hdr(skb)->syn)) in tcp_ack_update_window() 3742 if (TCP_ECN_rcv_ecn_echo(tp, tcp_hdr(skb))) in tcp_ack() 3829 const struct tcphdr *th = tcp_hdr(skb); in tcp_parse_options() 4066 const struct tcphdr *th = tcp_hdr(skb); in tcp_disordered_ack() 4420 if (tcp_hdr(skb)->fin) in tcp_ofo_queue() 4449 const struct tcphdr *th = tcp_hdr(skb); in tcp_data_queue() 4715 if (!tcp_hdr(skb)->syn && !tcp_hdr(skb)->fin && in tcp_collapse() [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() 849 th = tcp_hdr(skb); in tcp_transmit_skb() 2493 th = tcp_hdr(skb); in tcp_make_synack()
|
D | ip_output.c | 1509 tcp_hdr(skb)->source, tcp_hdr(skb)->dest); in ip_send_reply()
|
/linux-3.3/net/openvswitch/ |
D | actions.c | 145 inet_proto_csum_replace4(&tcp_hdr(skb)->check, skb, in set_ip_addr() 252 th = tcp_hdr(skb); in set_tcp()
|
D | flow.c | 187 u8 *tcp = (u8 *)tcp_hdr(skb); in ovs_flow_used() 678 struct tcphdr *tcp = tcp_hdr(skb); in ovs_flow_extract() 745 struct tcphdr *tcp = tcp_hdr(skb); in ovs_flow_extract()
|
/linux-3.3/security/ |
D | lsm_audit.c | 63 struct tcphdr *th = tcp_hdr(skb); in ipv4_skb_to_auditdata()
|
/linux-3.3/include/net/ |
D | tcp.h | 1036 ireq->rmt_port = tcp_hdr(skb)->source; in tcp_openreq_init() 1037 ireq->loc_port = tcp_hdr(skb)->dest; in tcp_openreq_init()
|
/linux-3.3/drivers/s390/net/ |
D | qeth_l3_main.c | 2927 struct tcphdr *tcph = tcp_hdr(skb); in qeth_tso_fill_header() 2961 unsigned long tcpd = (unsigned long)tcp_hdr(skb) + in qeth_l3_tso_elements() 2962 tcp_hdr(skb)->doff * 4; in qeth_l3_tso_elements() 3107 len = ((unsigned long)tcp_hdr(new_skb) + in qeth_l3_hard_start_xmit() 3108 tcp_hdr(new_skb)->doff * 4) - in qeth_l3_hard_start_xmit()
|
/linux-3.3/drivers/infiniband/hw/nes/ |
D | nes_nic.c | 390 tcph = tcp_hdr(skb); in nes_nic_send() 573 curr_tcp_seq = ntohl(tcp_hdr(skb)->seq); in nes_netdev_start_xmit()
|
/linux-3.3/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_main.c | 1258 tcp_hdr(skb)->check = ~csum_tcpudp_magic(iph->saddr, in ixgb_tso() 1265 tucso = (void *)&(tcp_hdr(skb)->check) - (void *)skb->data; in ixgb_tso()
|
/linux-3.3/drivers/net/ethernet/qlogic/qlge/ |
D | qlge_main.c | 2534 tcp_hdr(skb)->check = ~csum_tcpudp_magic(iph->saddr, in ql_tso() 2540 tcp_hdr(skb)->check = in ql_tso() 2565 check = &(tcp_hdr(skb)->check); in ql_hw_csum_setup() 2569 (tcp_hdr(skb)->doff << 2)); in ql_hw_csum_setup()
|
/linux-3.3/drivers/net/ethernet/cisco/enic/ |
D | enic_main.c | 696 tcp_hdr(skb)->check = ~csum_tcpudp_magic(ip_hdr(skb)->saddr, in enic_queue_wq_skb_tso() 699 tcp_hdr(skb)->check = ~csum_ipv6_magic(&ipv6_hdr(skb)->saddr, in enic_queue_wq_skb_tso()
|
/linux-3.3/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_main.c | 1003 tcp_hdr(skb)->check = 0; in pch_gbe_tx_queue() 1006 tcp_hdr(skb)->check = in pch_gbe_tx_queue()
|
/linux-3.3/drivers/net/ethernet/intel/igbvf/ |
D | netdev.c | 1882 tcp_hdr(skb)->check = ~csum_tcpudp_magic(iph->saddr, in igbvf_tso() 1888 tcp_hdr(skb)->check = ~csum_ipv6_magic(&ipv6_hdr(skb)->saddr, in igbvf_tso()
|
/linux-3.3/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_main.c | 2057 tcp_hdr(skb)->check = ~csum_tcpudp_magic( in atl1c_tso_csum() 2081 tcp_hdr(skb)->check = ~csum_ipv6_magic( in atl1c_tso_csum()
|
/linux-3.3/drivers/net/ethernet/marvell/ |
D | mv643xx_eth.c | 548 *tcph = tcp_hdr(skb); in mv643xx_get_skb_header() 818 l4i_chk = ntohs(sum16_as_be(tcp_hdr(skb)->check)); in txq_submit_skb()
|
/linux-3.3/drivers/net/ethernet/intel/e1000/ |
D | e1000_main.c | 2724 tcp_hdr(skb)->check = ~csum_tcpudp_magic(iph->saddr, in e1000_tso() 2732 tcp_hdr(skb)->check = in e1000_tso() 2741 tucso = (void *)&(tcp_hdr(skb)->check) - (void *)skb->data; in e1000_tso()
|