/src/tests/sbin/ifconfig/ |
t_repeated_mtu.sh | 51 mtu=$(ifconfig $i | grep "mtu" | sed "s/.*mtu //") 53 if [ -z $mtu ]; then 59 echo "Request: ifconfig $i mtu $j" 60 ifconfig $i mtu $j >/dev/null 2>&1 63 ifconfig $i mtu $mtu 64 echo "Restored the MTU of $i to $mtu" [all...] |
t_repeated_mtu.sh | 51 mtu=$(ifconfig $i | grep "mtu" | sed "s/.*mtu //") 53 if [ -z $mtu ]; then 59 echo "Request: ifconfig $i mtu $j" 60 ifconfig $i mtu $j >/dev/null 2>&1 63 ifconfig $i mtu $mtu 64 echo "Restored the MTU of $i to $mtu" [all...] |
t_repeated_mtu.sh | 51 mtu=$(ifconfig $i | grep "mtu" | sed "s/.*mtu //") 53 if [ -z $mtu ]; then 59 echo "Request: ifconfig $i mtu $j" 60 ifconfig $i mtu $j >/dev/null 2>&1 63 ifconfig $i mtu $mtu 64 echo "Restored the MTU of $i to $mtu" [all...] |
t_repeated_mtu.sh | 51 mtu=$(ifconfig $i | grep "mtu" | sed "s/.*mtu //") 53 if [ -z $mtu ]; then 59 echo "Request: ifconfig $i mtu $j" 60 ifconfig $i mtu $j >/dev/null 2>&1 63 ifconfig $i mtu $mtu 64 echo "Restored the MTU of $i to $mtu" [all...] |
/src/usr.sbin/altq/tbrconfig/ |
tbrconfig.c | 245 u_int size, mtu; local in function:size_bucket 247 mtu = get_ifmtu(ifname); 248 if (mtu > 1500) 249 mtu = 1500; /* assume that the path mtu is still 1500 */ 260 size = size * mtu; 271 u_int size, freq, mtu; local in function:autosize_bucket 273 mtu = get_ifmtu(ifname); 276 if (size < mtu) 277 size = mtu; 301 int s, mtu; local in function:get_ifmtu [all...] |
tbrconfig.c | 245 u_int size, mtu; local in function:size_bucket 247 mtu = get_ifmtu(ifname); 248 if (mtu > 1500) 249 mtu = 1500; /* assume that the path mtu is still 1500 */ 260 size = size * mtu; 271 u_int size, freq, mtu; local in function:autosize_bucket 273 mtu = get_ifmtu(ifname); 276 if (size < mtu) 277 size = mtu; 301 int s, mtu; local in function:get_ifmtu [all...] |
tbrconfig.c | 245 u_int size, mtu; local in function:size_bucket 247 mtu = get_ifmtu(ifname); 248 if (mtu > 1500) 249 mtu = 1500; /* assume that the path mtu is still 1500 */ 260 size = size * mtu; 271 u_int size, freq, mtu; local in function:autosize_bucket 273 mtu = get_ifmtu(ifname); 276 if (size < mtu) 277 size = mtu; 301 int s, mtu; local in function:get_ifmtu [all...] |
tbrconfig.c | 245 u_int size, mtu; local in function:size_bucket 247 mtu = get_ifmtu(ifname); 248 if (mtu > 1500) 249 mtu = 1500; /* assume that the path mtu is still 1500 */ 260 size = size * mtu; 271 u_int size, freq, mtu; local in function:autosize_bucket 273 mtu = get_ifmtu(ifname); 276 if (size < mtu) 277 size = mtu; 301 int s, mtu; local in function:get_ifmtu [all...] |
/src/usr.sbin/btpand/ |
client.c | 49 uint16_t mru, mtu; local in function:client_init 116 len = sizeof(mtu); 117 if (getsockopt(fd, BTPROTO_L2CAP, SO_L2CAP_OMTU, &mtu, &len) == -1) { 121 if (mtu < BNEP_MTU_MIN) { 122 log_err("L2CAP OMTU too small (%d)", mtu); 132 if (n < (mtu * 2)) { 133 n = mtu * 2; 140 n = mtu; 155 chan->mtu = mtu; [all...] |
client.c | 49 uint16_t mru, mtu; local in function:client_init 116 len = sizeof(mtu); 117 if (getsockopt(fd, BTPROTO_L2CAP, SO_L2CAP_OMTU, &mtu, &len) == -1) { 121 if (mtu < BNEP_MTU_MIN) { 122 log_err("L2CAP OMTU too small (%d)", mtu); 132 if (n < (mtu * 2)) { 133 n = mtu * 2; 140 n = mtu; 155 chan->mtu = mtu; [all...] |
client.c | 49 uint16_t mru, mtu; local in function:client_init 116 len = sizeof(mtu); 117 if (getsockopt(fd, BTPROTO_L2CAP, SO_L2CAP_OMTU, &mtu, &len) == -1) { 121 if (mtu < BNEP_MTU_MIN) { 122 log_err("L2CAP OMTU too small (%d)", mtu); 132 if (n < (mtu * 2)) { 133 n = mtu * 2; 140 n = mtu; 155 chan->mtu = mtu; [all...] |
client.c | 49 uint16_t mru, mtu; local in function:client_init 116 len = sizeof(mtu); 117 if (getsockopt(fd, BTPROTO_L2CAP, SO_L2CAP_OMTU, &mtu, &len) == -1) { 121 if (mtu < BNEP_MTU_MIN) { 122 log_err("L2CAP OMTU too small (%d)", mtu); 132 if (n < (mtu * 2)) { 133 n = mtu * 2; 140 n = mtu; 155 chan->mtu = mtu; [all...] |
server.c | 138 uint16_t mru, mtu; local in function:server_read 178 len = sizeof(mtu); 179 if (getsockopt(fd, BTPROTO_L2CAP, SO_L2CAP_OMTU, &mtu, &len) == -1) { 184 if (mtu < BNEP_MTU_MIN) { 185 log_err("L2CAP OMTU too small (%d)", mtu); 196 if (n < (mtu * 2)) { 197 n = mtu * 2; 204 n = mtu; 230 chan->mtu = mtu; [all...] |
server.c | 138 uint16_t mru, mtu; local in function:server_read 178 len = sizeof(mtu); 179 if (getsockopt(fd, BTPROTO_L2CAP, SO_L2CAP_OMTU, &mtu, &len) == -1) { 184 if (mtu < BNEP_MTU_MIN) { 185 log_err("L2CAP OMTU too small (%d)", mtu); 196 if (n < (mtu * 2)) { 197 n = mtu * 2; 204 n = mtu; 230 chan->mtu = mtu; [all...] |
server.c | 138 uint16_t mru, mtu; local in function:server_read 178 len = sizeof(mtu); 179 if (getsockopt(fd, BTPROTO_L2CAP, SO_L2CAP_OMTU, &mtu, &len) == -1) { 184 if (mtu < BNEP_MTU_MIN) { 185 log_err("L2CAP OMTU too small (%d)", mtu); 196 if (n < (mtu * 2)) { 197 n = mtu * 2; 204 n = mtu; 230 chan->mtu = mtu; [all...] |
server.c | 138 uint16_t mru, mtu; local in function:server_read 178 len = sizeof(mtu); 179 if (getsockopt(fd, BTPROTO_L2CAP, SO_L2CAP_OMTU, &mtu, &len) == -1) { 184 if (mtu < BNEP_MTU_MIN) { 185 log_err("L2CAP OMTU too small (%d)", mtu); 196 if (n < (mtu * 2)) { 197 n = mtu * 2; 204 n = mtu; 230 chan->mtu = mtu; [all...] |
/src/sys/netbt/ |
rfcomm_upper.c | 445 uint16_t mtu; local in function:rfcomm_setopt 449 err = sockopt_get(sopt, &mtu, sizeof(mtu)); 453 if (mtu < RFCOMM_MTU_MIN || mtu > RFCOMM_MTU_MAX) 456 dlc->rd_mtu = mtu;
|
rfcomm_upper.c | 445 uint16_t mtu; local in function:rfcomm_setopt 449 err = sockopt_get(sopt, &mtu, sizeof(mtu)); 453 if (mtu < RFCOMM_MTU_MIN || mtu > RFCOMM_MTU_MAX) 456 dlc->rd_mtu = mtu;
|
rfcomm_upper.c | 445 uint16_t mtu; local in function:rfcomm_setopt 449 err = sockopt_get(sopt, &mtu, sizeof(mtu)); 453 if (mtu < RFCOMM_MTU_MIN || mtu > RFCOMM_MTU_MAX) 456 dlc->rd_mtu = mtu;
|
rfcomm_upper.c | 445 uint16_t mtu; local in function:rfcomm_setopt 449 err = sockopt_get(sopt, &mtu, sizeof(mtu)); 453 if (mtu < RFCOMM_MTU_MIN || mtu > RFCOMM_MTU_MAX) 456 dlc->rd_mtu = mtu;
|
/src/sys/netinet/ |
ip_icmp.c | 148 * List of callbacks to notify when Path MTU changes are made. 217 * Register a Path MTU Discovery callback. 1148 u_long mtu = ntohs(icp->icmp_nextmtu); /* Why a long? IPv6 */ local in function:icmp_mtudisc 1179 if (mtu == 0) { 1182 mtu = ntohs(icp->icmp_ip.ip_len); 1184 if (mtu > rt->rt_rmx.rmx_mtu && rt->rt_rmx.rmx_mtu != 0) 1185 mtu -= (icp->icmp_ip.ip_hl << 2); 1188 if (mtu == 0) { 1189 mtu = rt->rt_rmx.rmx_mtu; 1191 /* If no route mtu, default to the interface mtu * [all...] |
ip_icmp.c | 148 * List of callbacks to notify when Path MTU changes are made. 217 * Register a Path MTU Discovery callback. 1148 u_long mtu = ntohs(icp->icmp_nextmtu); /* Why a long? IPv6 */ local in function:icmp_mtudisc 1179 if (mtu == 0) { 1182 mtu = ntohs(icp->icmp_ip.ip_len); 1184 if (mtu > rt->rt_rmx.rmx_mtu && rt->rt_rmx.rmx_mtu != 0) 1185 mtu -= (icp->icmp_ip.ip_hl << 2); 1188 if (mtu == 0) { 1189 mtu = rt->rt_rmx.rmx_mtu; 1191 /* If no route mtu, default to the interface mtu * [all...] |
ip_icmp.c | 148 * List of callbacks to notify when Path MTU changes are made. 217 * Register a Path MTU Discovery callback. 1148 u_long mtu = ntohs(icp->icmp_nextmtu); /* Why a long? IPv6 */ local in function:icmp_mtudisc 1179 if (mtu == 0) { 1182 mtu = ntohs(icp->icmp_ip.ip_len); 1184 if (mtu > rt->rt_rmx.rmx_mtu && rt->rt_rmx.rmx_mtu != 0) 1185 mtu -= (icp->icmp_ip.ip_hl << 2); 1188 if (mtu == 0) { 1189 mtu = rt->rt_rmx.rmx_mtu; 1191 /* If no route mtu, default to the interface mtu * [all...] |
ip_icmp.c | 148 * List of callbacks to notify when Path MTU changes are made. 217 * Register a Path MTU Discovery callback. 1148 u_long mtu = ntohs(icp->icmp_nextmtu); /* Why a long? IPv6 */ local in function:icmp_mtudisc 1179 if (mtu == 0) { 1182 mtu = ntohs(icp->icmp_ip.ip_len); 1184 if (mtu > rt->rt_rmx.rmx_mtu && rt->rt_rmx.rmx_mtu != 0) 1185 mtu -= (icp->icmp_ip.ip_hl << 2); 1188 if (mtu == 0) { 1189 mtu = rt->rt_rmx.rmx_mtu; 1191 /* If no route mtu, default to the interface mtu * [all...] |
/src/sbin/route/ |
keywords.sh | 38 mtu
|