Searched refs:sin_port (Results 1 – 6 of 6) sorted by relevance
11 v4->sin_port = inet->inet_sport; \15 v4->sin_port = inet->inet_dport; \
27 return ntohs(((struct sockaddr_in *)sap)->sin_port); in rpc_get_port()39 ((struct sockaddr_in *)sap)->sin_port = htons(port); in rpc_set_port()
175 return ntohs(sin->sin_port); in svc_addr_port()213 ntohs(sin->sin_port)); in __svc_print_addr()
241 __be16 sin_port; /* Port number */ member
540 addr->v4.sin_port = addr->v6.sin6_port; in sctp_v6_map_v4()549 port = addr->v4.sin_port; in sctp_v4_map_v6()
311 if (ntohs(sin->sin_port) > 1023) in __nlm_privileged_request4()