Searched refs:tcp_hdr_size (Results 1 – 2 of 2) sorted by relevance
/linux-4.1.27/net/ipv4/netfilter/ |
D | ipt_SYNPROXY.c | 45 unsigned int tcp_hdr_size) in synproxy_send_tcp() argument 47 nth->check = ~tcp_v4_check(tcp_hdr_size, niph->saddr, niph->daddr, 0); in synproxy_send_tcp() 77 unsigned int tcp_hdr_size; in synproxy_send_client_synack() local 82 tcp_hdr_size = sizeof(*nth) + synproxy_options_size(opts); in synproxy_send_client_synack() 83 nskb = alloc_skb(sizeof(*niph) + tcp_hdr_size + MAX_TCP_HEADER, in synproxy_send_client_synack() 92 nth = (struct tcphdr *)skb_put(nskb, tcp_hdr_size); in synproxy_send_client_synack() 100 nth->doff = tcp_hdr_size / 4; in synproxy_send_client_synack() 108 niph, nth, tcp_hdr_size); in synproxy_send_client_synack() 119 unsigned int tcp_hdr_size; in synproxy_send_server_syn() local 123 tcp_hdr_size = sizeof(*nth) + synproxy_options_size(opts); in synproxy_send_server_syn() [all …]
|
/linux-4.1.27/net/ipv6/netfilter/ |
D | ip6t_SYNPROXY.c | 43 unsigned int tcp_hdr_size) in synproxy_send_tcp() argument 49 nth->check = ~tcp_v6_check(tcp_hdr_size, &niph->saddr, &niph->daddr, 0); in synproxy_send_tcp() 92 unsigned int tcp_hdr_size; in synproxy_send_client_synack() local 97 tcp_hdr_size = sizeof(*nth) + synproxy_options_size(opts); in synproxy_send_client_synack() 98 nskb = alloc_skb(sizeof(*niph) + tcp_hdr_size + MAX_TCP_HEADER, in synproxy_send_client_synack() 107 nth = (struct tcphdr *)skb_put(nskb, tcp_hdr_size); in synproxy_send_client_synack() 115 nth->doff = tcp_hdr_size / 4; in synproxy_send_client_synack() 123 niph, nth, tcp_hdr_size); in synproxy_send_client_synack() 134 unsigned int tcp_hdr_size; in synproxy_send_server_syn() local 138 tcp_hdr_size = sizeof(*nth) + synproxy_options_size(opts); in synproxy_send_server_syn() [all …]
|