Lines Matching refs:sin_port
187 ((struct sockaddr_in *)addr)->sin_port = htons(prt);
308 in2->sin_port = htons(prt);
370 prt = ntohs(in->sin_port);
459 prt = ntohs(in->sin_port);
791 unsigned short src_port = src_addr->sin_port;
792 unsigned short dest_port = dest_addr->sin_port;
866 src_port = dest_addr->sin_port;
867 dest_port = src_addr->sin_port;
885 packet->ip.p.udp.source_port = src_addr->sin_port;
886 packet->ip.p.udp.dest_port = dest_addr->sin_port;
1693 unsigned int prt = ntohs(((const struct sockaddr_in *)to)->sin_port);