Searched refs:gw_sa (Results 1 - 14 of 14) sorted by relevance
/freebsd-13-stable/sys/net/route/ |
H A D | nhop_ctl.c | 140 nh->gw_sa.sa_family == AF_LINK) { 258 memcpy(&nh->gw_sa, gw, gw->sa_len); 478 memcpy(&nh->gw_sa, &nh_orig->gw_sa, nh_orig->gw_sa.sa_len); 596 print_nhop_sa(addr_buf, sizeof(addr_buf), &nh->gw_sa); 814 struct sockaddr *gw_sa, *src_sa; local 849 gw_sa = (struct sockaddr *)&nh->gw4_sa; 850 addrs_len += gw_sa->sa_len; 870 error = SYSCTL_OUT(w, gw_sa, gw_s [all...] |
H A D | nhop.c | 222 key.family = nh->gw_sa.sa_family; 224 if (nh->gw_sa.sa_family == AF_INET6) 226 else if (nh->gw_sa.sa_family == AF_INET)
|
H A D | nhop.h | 105 * gw_sa contains AF_LINK sa with nh_aifp ifindex (compat) 111 * gw_sa contains AF_LINK sa with nh_aifp ifindex (compat) 116 * gw_sa contains L3 address (either AF_INET or AF_INET6). 131 struct sockaddr gw_sa; member in union:nhop_object::__anon14929
|
H A D | route_ddb.c | 142 rt_dumpaddr_ddb("gateway", &rt->rt_nhop->gw_sa);
|
H A D | route_ctl.c | 406 if (nh->gw_sa.sa_family != gw->sa_family) 435 return (memcmp(&nh->gw_sa, gw, nh->gw_sa.sa_len) == 0);
|
/freebsd-13-stable/sys/net/ |
H A D | route.c | 369 src = &nh->gw_sa; 386 info->rti_info[RTAX_GATEWAY] = &nh->gw_sa; 663 i += p_sockaddr(buf + i, buflen - i, &rt->rt_nhop->gw_sa);
|
H A D | debugnet.c | 676 if (nh->gw_sa.sa_family == AF_INET) 679 if (nh->gw_sa.sa_family == AF_LINK)
|
H A D | rtsock.c | 954 info->rti_info[RTAX_GATEWAY] = &nh->gw_sa; 1990 info.rti_info[RTAX_GATEWAY] = &nh->gw_sa; 2249 info.rti_info[RTAX_GATEWAY] = &nh->gw_sa;
|
/freebsd-13-stable/sys/dev/cxgbe/tom/ |
H A D | t4_connect.c | 278 nh->nh_flags & NHF_GATEWAY ? &nh->gw_sa : nam);
|
/freebsd-13-stable/sys/ofed/drivers/infiniband/core/ |
H A D | ib_addr.c | 401 &nh->gw_sa : (const struct sockaddr *)&dst_tmp, 589 &nh->gw_sa : (const struct sockaddr *)&dst_tmp,
|
/freebsd-13-stable/sys/netgraph/netflow/ |
H A D | netflow.c | 363 if (nh->gw_sa.sa_len == AF_INET) 437 if (nh->gw_sa.sa_len == AF_INET6)
|
/freebsd-13-stable/sys/netinet/ |
H A D | ip_icmp.c | 971 if (!sa_equal((struct sockaddr *)src, &nh->gw_sa))
|
H A D | sctp_output.c | 13799 SCTPDBG_ADDR(SCTP_DEBUG_OUTPUT2, &ro->ro_nh->gw_sa); 13800 if (sctp_cmpaddr((struct sockaddr *)&gw6, &ro->ro_nh->gw_sa)) { 13835 SCTPDBG_ADDR(SCTP_DEBUG_OUTPUT2, &ro->ro_nh->gw_sa);
|
/freebsd-13-stable/sys/netinet6/ |
H A D | nd6_rtr.c | 2380 if (nh->gw_sa.sa_family != AF_INET6)
|
Completed in 285 milliseconds