Home
last modified time | relevance | path

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

/external/android-clat/
Dmtu.c34 struct ifreq if_mtu; in getifmtu() local
40 strncpy(if_mtu.ifr_name, ifname, IFNAMSIZ); in getifmtu()
41 if_mtu.ifr_name[IFNAMSIZ - 1] = '\0'; in getifmtu()
42 if(ioctl(fd, SIOCGIFMTU, &if_mtu) < 0) { in getifmtu()
45 return if_mtu.ifr_mtu; in getifmtu()