Searched refs:next_hop (Results 1 – 4 of 4) sorted by relevance
/external/syslinux/gpxe/src/net/ |
D | ipv6.c | 184 struct in6_addr next_hop; in ipv6_tx() local 202 next_hop = dest->sin6_addr; in ipv6_tx() 210 next_hop = miniroute->gateway; in ipv6_tx() 230 if ( next_hop.in6_u.u6_addr8[0] == 0xff ) { in ipv6_tx() 233 ll_dest_buf[2] = next_hop.in6_u.u6_addr8[12]; in ipv6_tx() 234 ll_dest_buf[3] = next_hop.in6_u.u6_addr8[13]; in ipv6_tx() 235 ll_dest_buf[4] = next_hop.in6_u.u6_addr8[14]; in ipv6_tx() 236 ll_dest_buf[5] = next_hop.in6_u.u6_addr8[15]; in ipv6_tx() 239 if ( ( rc = ndp_resolve ( netdev, &next_hop, &ip6hdr->src, in ipv6_tx() 241 DBG ( "No entry for %s\n", inet6_ntoa ( next_hop ) ); in ipv6_tx()
|
D | ipv4.c | 311 struct in_addr next_hop; in ipv4_tx() local 326 next_hop = iphdr->dest; in ipv4_tx() 329 if ( ( next_hop.s_addr != INADDR_BROADCAST ) && in ipv4_tx() 330 ( ! IN_MULTICAST ( ntohl ( next_hop.s_addr ) ) ) && in ipv4_tx() 331 ( ( miniroute = ipv4_route ( &next_hop ) ) != NULL ) ) { in ipv4_tx() 342 if ( ( rc = ipv4_ll_addr ( next_hop, iphdr->src, netdev, in ipv4_tx() 345 inet_ntoa ( next_hop ), strerror ( rc ) ); in ipv4_tx()
|
/external/iw/ |
D | mpath.c | 32 char dst[20], next_hop[20], dev[20]; in print_mpath_handler() local 64 mac_addr_n2a(next_hop, nla_data(tb[NL80211_ATTR_MPATH_NEXT_HOP])); in print_mpath_handler() 66 printf("%s %s %s", dst, next_hop, dev); in print_mpath_handler() 136 unsigned char next_hop[ETH_ALEN]; in handle_mpath_set() local 153 if (mac_addr_a2n(next_hop, argv[0])) { in handle_mpath_set() 164 NLA_PUT(msg, NL80211_ATTR_MPATH_NEXT_HOP, ETH_ALEN, next_hop); in handle_mpath_set()
|
D | mpp.c | 20 char dst[20], next_hop[20], dev[20]; in print_mpp_handler() local 32 mac_addr_n2a(next_hop, nla_data(tb[NL80211_ATTR_MPATH_NEXT_HOP])); in print_mpp_handler() 34 printf("%s %s %s\n", dst, next_hop, dev); in print_mpp_handler()
|