Searched refs:s_port (Results 1 – 20 of 20) sorted by relevance
184 if (sp != NULL) tcp_port = ntohs(sp->s_port); in pcap_nametoport()186 if (sp != NULL) udp_port = ntohs(sp->s_port); in pcap_nametoport()
113 serv->port[serv->max] = ntohs ((unsigned int) svp->s_port); in set_option_srv()118 serv->port[serv->max] = ntohs ((unsigned int) svp->s_port); in set_option_srv()
454 uint16_t s_port; // source port in udp_emu() member477 cu_head->s_port = htons( sock_address_get_port(&sockaddr)); in udp_emu()
78 dest.sin_port = sp->s_port; in tcp_OpenConnection()
222 dev->sock.sin_port = sp->s_port; in udp_CreateDevice()
337 *port = ntohs(sp->s_port); in StrToPort()
84 return ntohs(servent->s_port); in ParsePort()
1517 iport = ntohs(s->s_port); in SetServer()
168 port = sp->s_port; in getaddrinfo()
176 port = sp->s_port; in getaddrinfo()
117 sin.sin_port = pse->s_port; in connectsock()
429 uint16_t s_port; // source port in udp_emu() member621 cu_head->s_port = addr.sin_port; in udp_emu()
561 *port_ptr=ntohs((unsigned short)s->s_port); in extract_port()
170 short s_port; /* port # */ member
200 *port_ptr=ntohs((unsigned short)s->s_port); in BIO_get_port()
1112 if (se1 && se2 && se1->s_port != se2->s_port) { in parse_hostcond()1119 a.port = ntohs(se1->s_port); in parse_hostcond()
696 int port = ntohs(sv->s_port); in init_servarray()
1083 port = sp->s_port;
730 options.port = sp ? ntohs(sp->s_port) : SSH_DEFAULT_PORT; in main()
477 return ntohs((unsigned short) service->s_port); in xtables_service_to_port()