Searched refs:gw_p (Results 1 – 1 of 1) sorted by relevance
366 static struct ip4_gateway_info *gw_p; /* pointor to gateway */ in return_icmp4_redirect() local378 if (gw_p == NULL) in return_icmp4_redirect()379 if ((gw_p = malloc(sizeof(struct ip4_gateway_info))) == NULL) in return_icmp4_redirect()381 *gw_p = *new_gw_p; in return_icmp4_redirect()382 } else if (gw_p == NULL in return_icmp4_redirect()383 || memcmp(rcveth_p->hdr.h_dest, gw_p->hd_addr, ETH_ALEN)) in return_icmp4_redirect()401 memcpy(sndeth.hdr.h_source, gw_p->hd_addr, ETH_ALEN); in return_icmp4_redirect()414 memcpy((unsigned char *)&sndip_p->hdr.saddr, gw_p->ip_addr, 4); in return_icmp4_redirect()423 memcpy((unsigned char *)&(sndicmp_p->hdr.un.gateway), gw_p->nexthop, 4); in return_icmp4_redirect()587 static struct ip6_gateway_info *gw_p = NULL; /* pointor to gateway */ in return_icmp6_redirect() local[all …]