Lines Matching defs:myaddr
5035 struct sockaddr_in *myaddr;
5055 myaddr = (struct sockaddr_in *)malloc(sizeof(struct sockaddr_in));
5056 if (myaddr == NULL) {
5063 bzero((char *)myaddr,
5065 myaddr->sin_family = AF_INET;
5243 myaddr->sin_port = htons(myport);
5275 (struct sockaddr *)myaddr,
5278 ntohs(myaddr->sin_port));
5297 printf(" from port %d \n",ntohs(myaddr->sin_port));
5355 ntohs(myaddr->sin_port));
5361 myport = ntohs(myaddr->sin_port);
5375 myaddr->sin_port = htons(myport);