Home
last modified time | relevance | path

Searched refs:sctp_mtu_sizes (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/netinet/
H A Dsctputil.c919 static uint32_t sctp_mtu_sizes[] = { variable
952 if (val <= sctp_mtu_sizes[0]) { in sctp_get_prev_mtu()
955 for (i = 1; i < (sizeof(sctp_mtu_sizes) / sizeof(uint32_t)); i++) { in sctp_get_prev_mtu()
956 if (val <= sctp_mtu_sizes[i]) { in sctp_get_prev_mtu()
960 KASSERT((sctp_mtu_sizes[i - 1] & 0x00000003) == 0, in sctp_get_prev_mtu()
962 return (sctp_mtu_sizes[i - 1]); in sctp_get_prev_mtu()
978 for (i = 0; i < (sizeof(sctp_mtu_sizes) / sizeof(uint32_t)); i++) { in sctp_get_next_mtu()
979 if (val < sctp_mtu_sizes[i]) { in sctp_get_next_mtu()
980 KASSERT((sctp_mtu_sizes[i] & 0x00000003) == 0, in sctp_get_next_mtu()
982 return (sctp_mtu_sizes[i]); in sctp_get_next_mtu()