Searched refs:gw4_sa (Results 1 – 15 of 15) sorted by relevance
/freebsd/sys/net/route/ |
H A D | nhop_ctl.c | 840 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 D | nhop.h | 127 struct sockaddr_in gw4_sa; /* GW accessor as IPv4 */ member
|
H A D | nhop.c | 222 nh->gw4_sa.sin_addr.s_addr in hash_priv()
|
H A D | route_ctl.c | 259 return (nh->gw4_sa.sin_addr.s_addr == in match_nhop_gw()
|
/freebsd/sys/netinet/ |
H A D | ip_fastfwd.c | 142 newgw->s_addr = nh->gw4_sa.sin_addr.s_addr; in ip_redir_alloc()
|
H A D | ip_input.c | 1039 dest.s_addr = nh->gw4_sa.sin_addr.s_addr; in ip_forward()
|
H A D | sctp_output.c | 13918 sin = &ro->ro_nh->gw4_sa; in sctp_v4src_match_nexthop()
|
/freebsd/sys/net/ |
H A D | debugnet.c | 722 gw_sin = &nh->gw4_sa; in debugnet_connect()
|
H A D | if_ovpn.c | 1781 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 D | nexthop.c | 460 nlattr_add(nw, NHA_GATEWAY, 4, &nh->gw4_sa.sin_addr); in dump_nhop()
|
H A D | rt.c | 135 nlattr_add(nw, NL_RTA_GATEWAY, 4, &nh->gw4_sa.sin_addr); in dump_rc_nhop_gw()
|
/freebsd/sys/netgraph/netflow/ |
H A D | netflow.c | 365 fle->f.next_hop = nh->gw4_sa.sin_addr; in hash_insert()
|
/freebsd/sys/netpfil/ipfw/nat64/ |
H A D | nat64_translate.c | 782 dst->sin_addr = nh->gw4_sa.sin_addr; in nat64_find_route4()
|
/freebsd/sys/dev/cxgbe/tom/ |
H A D | t4_listen.c | 1266 ((struct sockaddr_in *)dst)->sin_addr = nh->gw4_sa.sin_addr; in get_l2te_for_nexthop()
|
/freebsd/sys/compat/linprocfs/ |
H A D | linprocfs.c | 1545 ? nh->gw4_sa.sin_addr.s_addr : 0; in linux_route_print()
|