Searched refs:lenlim (Results 1 – 4 of 4) sorted by relevance
/freebsd/usr.sbin/rtsold/ |
H A D | rtsock.c | 102 const ssize_t lenlim = in rtsock_input() local 110 if (lim - next < lenlim) in rtsock_input() 113 if (len < lenlim) in rtsock_input()
|
/freebsd/sys/netinet6/ |
H A D | icmp6.c | 1494 int lenlim, copied; in ni6_input() local 1499 lenlim = M_TRAILINGSPACE(n); in ni6_input() 1500 copied = ni6_store_addrs(ni6, nni6, ifp, lenlim); in ni6_input()
|
/freebsd/sys/dev/hyperv/netvsc/ |
H A D | if_hn.c | 661 hn_set_lro_lenlim(struct hn_softc *sc, int lenlim) in hn_set_lro_lenlim() argument 666 sc->hn_rx_ring[i].hn_lro.lro_length_lim = lenlim; in hn_set_lro_lenlim() 4154 unsigned int lenlim; in hn_lro_lenlim_sysctl() local 4157 lenlim = sc->hn_rx_ring[0].hn_lro.lro_length_lim; in hn_lro_lenlim_sysctl() 4158 error = sysctl_handle_int(oidp, &lenlim, 0, req); in hn_lro_lenlim_sysctl() 4163 if (lenlim < HN_LRO_LENLIM_MIN(sc->hn_ifp) || in hn_lro_lenlim_sysctl() 4164 lenlim > TCP_LRO_LENGTH_MAX) { in hn_lro_lenlim_sysctl() 4168 hn_set_lro_lenlim(sc, lenlim); in hn_lro_lenlim_sysctl()
|
/freebsd/usr.sbin/route6d/ |
H A D | route6d.c | 3337 mask2len(const struct in6_addr *addr, int lenlim) in mask2len() argument 3342 for (j = 0; j < lenlim; j++, p++) { in mask2len() 3347 if (j < lenlim) { in mask2len()
|