Searched refs:IP_MAX_OPT_LENGTH (Results 1 – 12 of 12) sorted by relevance
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | tn_ipopt.c | 647 uchar_t tempopt[IP_MAX_OPT_LENGTH], *toptr; in tsol_prepend_option() 655 optbuf[IPOPT_OLEN] <= IP_MAX_OPT_LENGTH); in tsol_prepend_option() 704 if (olen + totlen > IP_MAX_OPT_LENGTH) { in tsol_prepend_option() 706 if (olen + totlen > IP_MAX_OPT_LENGTH) in tsol_prepend_option() 741 ASSERT(toptr < tempopt + IP_MAX_OPT_LENGTH); in tsol_prepend_option() 755 ASSERT(toptr + olen <= tempopt + IP_MAX_OPT_LENGTH); in tsol_prepend_option() 767 ASSERT(toptr + olen <= tempopt + IP_MAX_OPT_LENGTH); in tsol_prepend_option() 823 uchar_t opt_storage[IP_MAX_OPT_LENGTH]; in tsol_check_label_v4() 1056 if (sec_opt_len < IP_MAX_OPT_LENGTH) in tsol_compute_label_v6()
|
H A D | icmp_opt_data.c | 91 IP_MAX_OPT_LENGTH + IP_ADDR_LEN, -1 /* not initialized */ }, 94 IP_MAX_OPT_LENGTH + IP_ADDR_LEN, -1 /* not initialized */ },
|
H A D | conn_opt.c | 1267 if ((inlen & 0x3) || newlen > IP_MAX_OPT_LENGTH) { in conn_opt_set_ip() 2794 uchar_t opt_storage[IP_MAX_OPT_LENGTH]; in conn_update_label()
|
H A D | tnet.c | 730 (co->cipso_length > IP_MAX_OPT_LENGTH)) in tsol_get_pkt_label()
|
/illumos-gate/usr/src/uts/common/sys/tsol/ |
H A D | tnet.h | 45 #define TSOL_MAX_IPV6_OPTION (8 + IP_MAX_OPT_LENGTH)
|
H A D | tndb.h | 119 #define TSOL_CIPSO_MAX_LENGTH IP_MAX_OPT_LENGTH
|
/illumos-gate/usr/src/uts/common/inet/udp/ |
H A D | udp_opt_data.c | 103 IP_MAX_OPT_LENGTH + IP_ADDR_LEN, -1 /* not initialized */ }, 106 IP_MAX_OPT_LENGTH + IP_ADDR_LEN, -1 /* not initialized */ },
|
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_opt_data.c | 154 IP_MAX_OPT_LENGTH + IP_ADDR_LEN, -1 /* not initialized */ }, 157 IP_MAX_OPT_LENGTH + IP_ADDR_LEN, -1 /* not initialized */ },
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | sadb.h | 322 uchar_t ipsa_opt_storage[IP_MAX_OPT_LENGTH];
|
H A D | ip.h | 121 #define IP_MAX_OPT_LENGTH (IP_MAX_HDR_LENGTH-IP_SIMPLE_HDR_LENGTH) macro
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ip.c | 1266 if (((int)opt[1] + 6) < IP_MAX_OPT_LENGTH) in cipso_high()
|
/illumos-gate/usr/src/uts/common/inet/iptun/ |
H A D | iptun.c | 1999 header_size += IP_MAX_OPT_LENGTH; in iptun_get_maxmtu()
|