Home
last modified time | relevance | path

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

/external/qemu/slirp-android/
Dudp.c415 static const struct tos_t udptos[] = { variable
428 while(udptos[i].tos) { in udp_tos()
429 if ((udptos[i].fport && so->so_faddr_port == udptos[i].fport) || in udp_tos()
430 (udptos[i].lport && so->so_laddr_port == udptos[i].lport)) { in udp_tos()
431 so->so_emu = udptos[i].emu; in udp_tos()
432 return udptos[i].tos; in udp_tos()
/external/qemu/slirp/
Dudp.c371 static const struct tos_t udptos[] = { variable
384 while(udptos[i].tos) { in udp_tos()
385 if ((udptos[i].fport && ntohs(so->so_fport) == udptos[i].fport) || in udp_tos()
386 (udptos[i].lport && ntohs(so->so_lport) == udptos[i].lport)) { in udp_tos()
387 so->so_emu = udptos[i].emu; in udp_tos()
388 return udptos[i].tos; in udp_tos()