Home
last modified time | relevance | path

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

/external/ppp/pppd/plugins/rp-pppoe/
Dplugin.c164 if (lcp_allowoptions[0].mru > ifr.ifr_mtu - TOTAL_OVERHEAD) in PPPOEConnectDevice()
165 lcp_allowoptions[0].mru = ifr.ifr_mtu - TOTAL_OVERHEAD; in PPPOEConnectDevice()
166 if (lcp_wantoptions[0].mru > ifr.ifr_mtu - TOTAL_OVERHEAD) in PPPOEConnectDevice()
167 lcp_wantoptions[0].mru = ifr.ifr_mtu - TOTAL_OVERHEAD; in PPPOEConnectDevice()
Dif.c158 } else if (ifr.ifr_mtu < ETH_DATA_LEN) { in openInterface()
160 ifname, ifr.ifr_mtu, ETH_DATA_LEN); in openInterface()
Dpppoe-discovery.c164 if (ifr.ifr_mtu < ETH_DATA_LEN) { in openInterface()
166 ifname, ifr.ifr_mtu, ETH_DATA_LEN); in openInterface()
/external/ppp/pppd/include/net/
Dif_ppp.h148 #if !defined(ifr_mtu)
149 #define ifr_mtu ifr_ifru.ifru_metric macro
/external/libpcap/
Dpcap-snoop.c364 #ifndef ifr_mtu in pcap_activate_snoop()
365 #define ifr_mtu ifr_metric in pcap_activate_snoop() macro
367 if (p->snapshot > ifr.ifr_mtu + ll_hdrlen) in pcap_activate_snoop()
368 p->snapshot = ifr.ifr_mtu + ll_hdrlen; in pcap_activate_snoop()
Dpcap-linux.c6838 return ifr.ifr_mtu;
/external/autotest/client/deps/lansim/src/py/
Dtuntap.py131 ifr_name, ifr_mtu = unpack_struct_ifreq(ifs, 'ifr_mtu')
132 return ifr_mtu
/external/android-clat/
Dmtu.c48 return if_mtu.ifr_mtu; in getifmtu()
/external/curl/lib/
Dif2ip.h76 #define ifr_mtu ifr_ifru.ifru_mtu /* mtu */ macro
/external/toybox/toys/net/
Difconfig.c254 if (ioctl(TT.sockfd, SIOCGIFMTU, &ifre) < 0) ifre.ifr_mtu = 0; in display_ifconfig()
255 xprintf(" MTU:%d", ifre.ifr_mtu); in display_ifconfig()
406 {"mtu", IFREQ_OFFSZ(ifr_mtu), SIOCSIFMTU}, in ifconfig_main()
/external/iproute2/include/uapi/linux/
Dif.h262 #define ifr_mtu ifr_ifru.ifru_mtu /* mtu */ macro
/external/kernel-headers/original/uapi/linux/
Dif.h264 #define ifr_mtu ifr_ifru.ifru_mtu /* mtu */ macro
/external/linux-kselftest/tools/testing/selftests/net/
Dudpgso.c297 return ifr.ifr_mtu; in get_device_mtu()
306 ifr.ifr_mtu = mtu; in __set_device_mtu()
/external/strace/
Dsock.c181 tprintf("ifr_mtu=%d", ifr->ifr_mtu); in print_ifreq()
/external/ppp/pppd/
Dsys-linux.c1198 ifr.ifr_mtu = mtu; in netif_set_mtu()
1219 return ifr.ifr_mtu; in netif_get_mtu()
/external/wpa_supplicant_8/src/drivers/
Ddriver_hostap.c365 ifr.ifr_mtu = HOSTAPD_MTU; in hostap_set_iface_flags()
/external/dnsmasq/src/
Dnetwork.c128 if (ioctl(fd, SIOCGIFMTU, &ifr) != -1) mtu = ifr.ifr_mtu; in iface_allowed()
/external/iproute2/ip/
Diplink.c1143 struct ifreq ifr = { .ifr_mtu = mtu }; in set_mtu()