Searched refs:tcp_hdr_size (Results 1 – 2 of 2) sorted by relevance
| /linux-4.4.14/net/ipv4/netfilter/ |
| D | ipt_SYNPROXY.c | 46 unsigned int tcp_hdr_size) in synproxy_send_tcp() argument 50 nth->check = ~tcp_v4_check(tcp_hdr_size, niph->saddr, niph->daddr, 0); in synproxy_send_tcp() 81 unsigned int tcp_hdr_size; in synproxy_send_client_synack() local 86 tcp_hdr_size = sizeof(*nth) + synproxy_options_size(opts); in synproxy_send_client_synack() 87 nskb = alloc_skb(sizeof(*niph) + tcp_hdr_size + MAX_TCP_HEADER, in synproxy_send_client_synack() 96 nth = (struct tcphdr *)skb_put(nskb, tcp_hdr_size); in synproxy_send_client_synack() 104 nth->doff = tcp_hdr_size / 4; in synproxy_send_client_synack() 112 niph, nth, tcp_hdr_size); in synproxy_send_client_synack() 123 unsigned int tcp_hdr_size; in synproxy_send_server_syn() local 127 tcp_hdr_size = sizeof(*nth) + synproxy_options_size(opts); in synproxy_send_server_syn() [all …]
|
| /linux-4.4.14/net/ipv6/netfilter/ |
| D | ip6t_SYNPROXY.c | 44 unsigned int tcp_hdr_size) in synproxy_send_tcp() argument 50 nth->check = ~tcp_v6_check(tcp_hdr_size, &niph->saddr, &niph->daddr, 0); in synproxy_send_tcp() 94 unsigned int tcp_hdr_size; in synproxy_send_client_synack() local 99 tcp_hdr_size = sizeof(*nth) + synproxy_options_size(opts); in synproxy_send_client_synack() 100 nskb = alloc_skb(sizeof(*niph) + tcp_hdr_size + MAX_TCP_HEADER, in synproxy_send_client_synack() 109 nth = (struct tcphdr *)skb_put(nskb, tcp_hdr_size); in synproxy_send_client_synack() 117 nth->doff = tcp_hdr_size / 4; in synproxy_send_client_synack() 125 niph, nth, tcp_hdr_size); in synproxy_send_client_synack() 136 unsigned int tcp_hdr_size; in synproxy_send_server_syn() local 140 tcp_hdr_size = sizeof(*nth) + synproxy_options_size(opts); in synproxy_send_server_syn() [all …]
|