Lines Matching refs:sinptr
232 struct sockaddr_in *sinptr; in get_ifi_info() local
340 sinptr = (struct sockaddr_in *) &ifr->ifr_addr; in get_ifi_info()
346 memcpy(ifi->ifi_addr, sinptr, sizeof(struct sockaddr_in)); in get_ifi_info()
368 sinptr = (struct sockaddr_in *) &ifrcopy.ifr_addr; in get_ifi_info()
371 sinptr->sin_len = sizeof(struct sockaddr_in); in get_ifi_info()
373 sinptr->sin_family = AF_INET; in get_ifi_info()
374 memcpy(ifi->ifi_netmask, sinptr, sizeof(struct sockaddr_in)); in get_ifi_info()
382 sinptr = (struct sockaddr_in *) &ifrcopy.ifr_broadaddr; in get_ifi_info()
385 sinptr->sin_len = sizeof( struct sockaddr_in ); in get_ifi_info()
387 sinptr->sin_family = AF_INET; in get_ifi_info()
392 memcpy(ifi->ifi_brdaddr, sinptr, sizeof(struct sockaddr_in)); in get_ifi_info()
401 sinptr = (struct sockaddr_in *) &ifrcopy.ifr_dstaddr; in get_ifi_info()
404 sinptr->sin_len = sizeof( struct sockaddr_in ); in get_ifi_info()
406 sinptr->sin_family = AF_INET; in get_ifi_info()
411 memcpy(ifi->ifi_dstaddr, sinptr, sizeof(struct sockaddr_in)); in get_ifi_info()