Searched refs:uh_dport (Results 1 – 13 of 13) sorted by relevance
134 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()
49 port_t uh_dport; /* destination port */ member68 #define ui_dport ui_u.uh_dport
159 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()
47 u_int16_t uh_dport; /* destination port */ member66 #define ui_dport ui_u.uh_dport
158 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()
149 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()
43 u_int16_t uh_dport; /* destination port */ member
385 TCHECK(ouh->uh_dport); in icmp_print()386 dport = EXTRACT_16BITS(&ouh->uh_dport); in icmp_print()
443 if (!TTEST(up->uh_dport)) { in udp_print()450 dport = EXTRACT_16BITS(&up->uh_dport); in udp_print()
300 dport = EXTRACT_16BITS(&ouh->uh_dport); in icmp6_print()549 if (TTEST(uh->uh_dport)) { in get_upperlayer()
167 u16 uh_dport; /* destination port */ in send_via_bpf() member220 udp.uh_dport = htons(daemon->dhcp_client_port); in send_via_bpf()
701 udp->uh_dport = htons(DHCP_SERVER_PORT); in make_udp_packet()
258 if (ntohs(x.lbuf.udp.uh_dport) == 501) {