Lines Matching defs:inaddr
962 struct in_addr inaddr;
974 (void) memcpy(&inaddr, ack->opts[CD_SERVER_ID]->value,
975 sizeof (inaddr));
976 IN6_INADDR_TO_V4MAPPED(&inaddr, &dsmp->dsm_server);
1032 ack->opts[CD_SUBNETMASK]->len == sizeof (inaddr)) {
1034 (void) memcpy(&inaddr, ack->opts[CD_SUBNETMASK]->value,
1035 sizeof (inaddr));
1040 ack->opts[CD_SUBNETMASK]->len != sizeof (inaddr)) {
1060 inaddr.s_addr = htonl(IN_CLASSA_NET);
1062 inaddr.s_addr = htonl(IN_CLASSB_NET);
1064 inaddr.s_addr = htonl(IN_CLASSC_NET);
1070 inaddr.s_addr = htonl(IN_CLASSE_NET);
1073 lif->lif_v6mask._S6_un._S6_u32[3] = inaddr.s_addr;
1075 sin->sin_addr = inaddr;
1101 ack->opts[CD_BROADCASTADDR]->len == sizeof (inaddr)) {
1103 (void) memcpy(&inaddr, ack->opts[CD_BROADCASTADDR]->value,
1104 sizeof (inaddr));
1109 ack->opts[CD_BROADCASTADDR]->len != sizeof (inaddr)) {
1113 sizeof (inaddr));
1125 IN6_V4MAPPED_TO_INADDR(&lif->lif_v6addr, &inaddr);
1126 inaddr.s_addr |= ~lif->lif_v6mask._S6_un._S6_u32[3];
1145 if (inaddr.s_addr != sin->sin_addr.s_addr) {
1147 "address %s specified for %s; ignoring", inet_ntoa(inaddr),
1154 inet_ntoa(inaddr), lif->lif_name);