Lines Matching refs:gw
154 struct sockaddr_in gw;
1084 if (ifctx->gw.sin_addr.s_addr == htonl(INADDR_ANY))
1091 (struct sockaddr *) &ifctx->gw, (struct sockaddr *)&defmask,
1105 if (ifctx->gw.sin_addr.s_addr == htonl(INADDR_ANY))
1112 (struct sockaddr *) &ifctx->gw, (struct sockaddr *)&defmask,
1431 clear_sinaddr(&ifctx->gw);
1440 ifctx->gw.sin_addr = ifctx->reply.giaddr;
1479 bcopy(p, &ifctx->gw.sin_addr, 4);
1481 print_sin_addr(&ifctx->gw);
1794 bcopy(&ifctx->gw, &nd->mygateway, sizeof(ifctx->gw));