Searched refs:ifr_mtu (Results 1 – 18 of 18) sorted by relevance
/external/ppp/pppd/plugins/rp-pppoe/ |
D | plugin.c | 164 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()
|
D | if.c | 158 } else if (ifr.ifr_mtu < ETH_DATA_LEN) { in openInterface() 160 ifname, ifr.ifr_mtu, ETH_DATA_LEN); in openInterface()
|
D | pppoe-discovery.c | 164 if (ifr.ifr_mtu < ETH_DATA_LEN) { in openInterface() 166 ifname, ifr.ifr_mtu, ETH_DATA_LEN); in openInterface()
|
/external/ppp/pppd/include/net/ |
D | if_ppp.h | 148 #if !defined(ifr_mtu) 149 #define ifr_mtu ifr_ifru.ifru_metric macro
|
/external/libpcap/ |
D | pcap-snoop.c | 364 #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()
|
D | pcap-linux.c | 6838 return ifr.ifr_mtu;
|
/external/autotest/client/deps/lansim/src/py/ |
D | tuntap.py | 131 ifr_name, ifr_mtu = unpack_struct_ifreq(ifs, 'ifr_mtu') 132 return ifr_mtu
|
/external/android-clat/ |
D | mtu.c | 48 return if_mtu.ifr_mtu; in getifmtu()
|
/external/curl/lib/ |
D | if2ip.h | 76 #define ifr_mtu ifr_ifru.ifru_mtu /* mtu */ macro
|
/external/toybox/toys/net/ |
D | ifconfig.c | 254 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/ |
D | if.h | 262 #define ifr_mtu ifr_ifru.ifru_mtu /* mtu */ macro
|
/external/kernel-headers/original/uapi/linux/ |
D | if.h | 264 #define ifr_mtu ifr_ifru.ifru_mtu /* mtu */ macro
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | udpgso.c | 297 return ifr.ifr_mtu; in get_device_mtu() 306 ifr.ifr_mtu = mtu; in __set_device_mtu()
|
/external/strace/ |
D | sock.c | 181 tprintf("ifr_mtu=%d", ifr->ifr_mtu); in print_ifreq()
|
/external/ppp/pppd/ |
D | sys-linux.c | 1198 ifr.ifr_mtu = mtu; in netif_set_mtu() 1219 return ifr.ifr_mtu; in netif_get_mtu()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_hostap.c | 365 ifr.ifr_mtu = HOSTAPD_MTU; in hostap_set_iface_flags()
|
/external/dnsmasq/src/ |
D | network.c | 128 if (ioctl(fd, SIOCGIFMTU, &ifr) != -1) mtu = ifr.ifr_mtu; in iface_allowed()
|
/external/iproute2/ip/ |
D | iplink.c | 1143 struct ifreq ifr = { .ifr_mtu = mtu }; in set_mtu()
|