Home
last modified time | relevance | path

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

/external/qemu/slirp-android/
Dudp.c134 if (slirp_should_drop(ntohl(ip->ip_dst.addr), ntohs(uh->uh_dport.port), in udp_input()
141 ntohs(uh->uh_dport.port), in udp_input()
152 ntohs(uh->uh_dport.port), in udp_input()
187 if (port_geth(uh->uh_dport) == BOOTP_SERVER) { in udp_input()
198 if (port_geth(uh->uh_dport) == TFTP_SERVER) { in udp_input()
204 if (ntohs(uh->uh_dport.port) == 53) { in udp_input()
227 tmp->so_faddr_port = port_geth(uh->uh_dport); in udp_input()
270 so->so_faddr_port = port_geth(uh->uh_dport); /* XXX */ in udp_input()
Dudp.h49 port_t uh_dport; /* destination port */ member
68 #define ui_dport ui_u.uh_dport
Dtftp.c159 port_geth(recv_tp->udp.uh_dport) ); in tftp_send_oack()
201 port_geth(recv_tp->udp.uh_dport) ); in tftp_send_error()
249 port_geth(recv_tp->udp.uh_dport) ); in tftp_send_data()
/external/qemu/slirp/
Dudp.h47 u_int16_t uh_dport; /* destination port */ member
66 #define ui_dport ui_u.uh_dport
Dtftp.c158 saddr.sin_port = recv_tp->udp.uh_dport; in tftp_send_oack()
198 saddr.sin_port = recv_tp->udp.uh_dport; in tftp_send_error()
244 saddr.sin_port = recv_tp->udp.uh_dport; in tftp_send_data()
Dudp.c149 if (ntohs(uh->uh_dport) == BOOTP_SERVER) { in udp_input()
160 if (ntohs(uh->uh_dport) == TFTP_SERVER) { in udp_input()
177 tmp->so_fport = uh->uh_dport; in udp_input()
220 so->so_fport = uh->uh_dport; /* XXX */ in udp_input()
/external/tcpdump/
Dudp.h43 u_int16_t uh_dport; /* destination port */ member
Dprint-icmp.c385 TCHECK(ouh->uh_dport); in icmp_print()
386 dport = EXTRACT_16BITS(&ouh->uh_dport); in icmp_print()
Dprint-udp.c443 if (!TTEST(up->uh_dport)) { in udp_print()
450 dport = EXTRACT_16BITS(&up->uh_dport); in udp_print()
Dprint-icmp6.c300 dport = EXTRACT_16BITS(&ouh->uh_dport); in icmp6_print()
549 if (TTEST(uh->uh_dport)) { in get_upperlayer()
/external/dnsmasq/src/
Dbpf.c167 u16 uh_dport; /* destination port */ in send_via_bpf() member
220 udp.uh_dport = htons(daemon->dhcp_client_port); in send_via_bpf()
/external/dhcpcd/
Dnet.c701 udp->uh_dport = htons(DHCP_SERVER_PORT); in make_udp_packet()
/external/ipsec-tools/src/racoon/
Disakmp.c258 if (ntohs(x.lbuf.udp.uh_dport) == 501) {