Home
last modified time | relevance | path

Searched refs:gw4_sa (Results 1 – 15 of 15) sorted by relevance

/freebsd/sys/net/route/
H A Dnhop_ctl.c840 nh->gw4_sa.sin_family = AF_INET; in nhop_set_blackhole()
841 nh->gw4_sa.sin_len = sizeof(struct sockaddr_in); in nhop_set_blackhole()
842 nh->gw4_sa.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in nhop_set_blackhole()
1144 inet_ntop(AF_INET, &nh->gw4_sa.sin_addr, abuf, sizeof(abuf)); in nhop_print_buf()
1230 gw_sa = (struct sockaddr *)&nh->gw4_sa; in dump_nhop_entry()
H A Dnhop.h127 struct sockaddr_in gw4_sa; /* GW accessor as IPv4 */ member
H A Dnhop.c222 nh->gw4_sa.sin_addr.s_addr in hash_priv()
H A Droute_ctl.c259 return (nh->gw4_sa.sin_addr.s_addr == in match_nhop_gw()
/freebsd/sys/netinet/
H A Dip_fastfwd.c142 newgw->s_addr = nh->gw4_sa.sin_addr.s_addr; in ip_redir_alloc()
H A Dip_input.c1039 dest.s_addr = nh->gw4_sa.sin_addr.s_addr; in ip_forward()
H A Dsctp_output.c13918 sin = &ro->ro_nh->gw4_sa; in sctp_v4src_match_nexthop()
/freebsd/sys/net/
H A Ddebugnet.c722 gw_sin = &nh->gw4_sa; in debugnet_connect()
H A Dif_ovpn.c1781 nh->gw4_sa.sin_addr); in ovpn_route_peer()
1783 &nh->gw4_sa.sin_addr, peer); in ovpn_route_peer()
/freebsd/sys/netlink/route/
H A Dnexthop.c460 nlattr_add(nw, NHA_GATEWAY, 4, &nh->gw4_sa.sin_addr); in dump_nhop()
H A Drt.c135 nlattr_add(nw, NL_RTA_GATEWAY, 4, &nh->gw4_sa.sin_addr); in dump_rc_nhop_gw()
/freebsd/sys/netgraph/netflow/
H A Dnetflow.c365 fle->f.next_hop = nh->gw4_sa.sin_addr; in hash_insert()
/freebsd/sys/netpfil/ipfw/nat64/
H A Dnat64_translate.c782 dst->sin_addr = nh->gw4_sa.sin_addr; in nat64_find_route4()
/freebsd/sys/dev/cxgbe/tom/
H A Dt4_listen.c1266 ((struct sockaddr_in *)dst)->sin_addr = nh->gw4_sa.sin_addr; in get_l2te_for_nexthop()
/freebsd/sys/compat/linprocfs/
H A Dlinprocfs.c1545 ? nh->gw4_sa.sin_addr.s_addr : 0; in linux_route_print()