Lines Matching defs:cp
125 char *cp = (char *)(ifam + 1);
132 if(((struct sockaddr *)cp)->sa_family == AF_UNSPEC)
133 ((struct sockaddr *)cp)->sa_family = AF_INET;
136 for (cp0 = cp, i = 0; i < RTAX_MAX; i++) {
139 sa = (struct sockaddr *)cp;
143 cp += SA_SIZE(sa);
145 ADVANCE(cp, sa);
157 for(cp = cp0, i = 0; i < RTAX_MAX; i++)
161 sa = (struct sockaddr *)cp;
202 cp += SA_SIZE(sa);
204 ADVANCE(cp, sa);