Searched refs:MAX_TCPOPTLEN (Results 1 - 5 of 5) sorted by relevance

/xnu-2782.1.97/bsd/netinet/
H A Dmptcp_opt.c233 if ((MAX_TCPOPTLEN - optlen) < sizeof (struct mptcp_mpjoin_opt_rsp2)) {
292 if ((MAX_TCPOPTLEN - optlen) < sizeof (struct mptcp_mpfail_opt)) {
336 if ((MAX_TCPOPTLEN - optlen) < (len + csum_len)) {
416 if ((MAX_TCPOPTLEN - optlen) <
466 if ((MAX_TCPOPTLEN - optlen) <
508 if ((MAX_TCPOPTLEN - optlen) <
544 if ((optlen + rem_opt_len) <= MAX_TCPOPTLEN) {
595 if ((MAX_TCPOPTLEN - optlen) < len) { \
784 VERIFY(optlen <= MAX_TCPOPTLEN);
816 VERIFY(optlen <= MAX_TCPOPTLEN);
[all...]
H A Dtcp.h126 #define MAX_TCPOPTLEN 40 /* Absolute maximum TCP options len */ macro
H A Dtcp_output.c1358 MAX_TCPOPTLEN - optlen - 2 >= TCPOLEN_SACK) {
1363 nsack = (MAX_TCPOPTLEN - optlen - 2) / TCPOLEN_SACK;
1372 padlen = (MAX_TCPOPTLEN - optlen - sackoptlen) % 4;
1391 if (optlen < MAX_TCPOPTLEN && (optlen % sizeof(u_int32_t))) {
/xnu-2782.1.97/bsd/net/
H A Dpf_norm.c2748 u_char opts[MAX_TCPOPTLEN];
H A Dpf.c2324 u_int8_t opts[MAX_TCPOPTLEN], *opt = opts;

Completed in 56 milliseconds