Lines Matching refs:s_addr
56 hp.s_addr = htonl(n_addrp->s_addr);
58 s_addrp->s_addr = ntohl(tp.s_addr);
65 if (IN_CLASSA(n_addrp->s_addr))
66 s_addrp->s_addr = IN_CLASSA_NET;
67 else if (IN_CLASSB(n_addrp->s_addr))
68 s_addrp->s_addr = IN_CLASSB_NET;
69 else if (IN_CLASSC(n_addrp->s_addr))
70 s_addrp->s_addr = IN_CLASSC_NET;
72 s_addrp->s_addr = IN_CLASSE_NET;
95 return (addr1.s_addr == addr2.s_addr);
211 return (((struct sockaddr_in *)&data)->sin_addr.s_addr ==