Lines Matching defs:gate
65 kernel_add_route (struct prefix_ipv4 *dest, struct in_addr *gate,
84 if (gate)
91 sin_gate.sin_addr = *gate;
103 if (gate)
113 if (gate && gate->s_addr != INADDR_ANY)
225 sin_gate.sin_addr = nexthop->gate.ipv4;
352 kernel_ioctl_ipv6 (u_long type, struct prefix_ipv6 *dest, struct in6_addr *gate,
381 memcpy (&rtm.rtmsg_gateway, gate, sizeof (struct in6_addr));
476 memcpy (&rtm.rtmsg_gateway, &nexthop->gate.ipv6,
541 kernel_delete_ipv6_old (struct prefix_ipv6 *dest, struct in6_addr *gate,
544 return kernel_ioctl_ipv6 (SIOCDELRT, dest, gate, index, flags);