Searched refs:optl (Results 1 – 2 of 2) sorted by relevance
/linux-6.3-rc2/net/netfilter/ |
A D | xt_TCPOPTSTRIP.c | 35 unsigned int optl, i, j; in tcpoptstrip_mangle_packet() local 63 for (i = sizeof(struct tcphdr); i < tcp_hdrlen - 1; i += optl) { in tcpoptstrip_mangle_packet() 64 optl = optlen(opt, i); in tcpoptstrip_mangle_packet() 66 if (i + optl > tcp_hdrlen) in tcpoptstrip_mangle_packet() 72 for (j = 0; j < optl; ++j) { in tcpoptstrip_mangle_packet() 82 memset(opt + i, TCPOPT_NOP, optl); in tcpoptstrip_mangle_packet()
|
A D | nft_exthdr.c | 189 unsigned int i, optl, tcphdr_len, offset; in nft_exthdr_tcp_eval() local 200 optl = optlen(opt, i); in nft_exthdr_tcp_eval() 205 if (i + optl > tcphdr_len || priv->len + priv->offset > optl) in nft_exthdr_tcp_eval() 232 unsigned int i, optl, tcphdr_len, offset; in nft_exthdr_tcp_set_eval() local 247 optl = optlen(opt, i); in nft_exthdr_tcp_set_eval() 252 if (i + optl > tcphdr_len || priv->len + priv->offset > optl) in nft_exthdr_tcp_set_eval() 316 unsigned int i, tcphdr_len, optl; in nft_exthdr_tcp_strip_eval() local 333 optl = optlen(opt, i); in nft_exthdr_tcp_strip_eval() 337 if (i + optl > tcphdr_len) in nft_exthdr_tcp_strip_eval() 340 for (j = 0; j < optl; ++j) { in nft_exthdr_tcp_strip_eval() [all …]
|
Completed in 4 milliseconds