Home
last modified time | relevance | path

Searched refs:rtentry (Results 1 – 25 of 66) sorted by relevance

123

/freebsd-12-stable/sys/net/
Dradix_mpath.c97 struct rtentry *rt; in rn_mpath_count()
100 rt = (struct rtentry *)rn; in rn_mpath_count()
107 struct rtentry *
108 rt_mpath_matchgate(struct rtentry *rt, struct sockaddr *gate) in rt_mpath_matchgate()
118 rt = (struct rtentry *)rn; in rt_mpath_matchgate()
140 return (struct rtentry *)rn; in rt_mpath_matchgate()
148 rt_mpath_deldup(struct rtentry *headrt, struct rtentry *rt) in rt_mpath_deldup()
175 rt_mpath_conflict(struct rib_head *rnh, struct rtentry *rt, in rt_mpath_conflict()
179 struct rtentry *rt1; in rt_mpath_conflict()
188 rt1 = (struct rtentry *)rn1; in rt_mpath_conflict()
[all …]
Dradix_mpath.h47 struct rtentry;
54 struct rtentry *rt_mpath_matchgate(struct rtentry *, struct sockaddr *);
55 int rt_mpath_conflict(struct rib_head *, struct rtentry *,
58 struct rtentry *rt_mpath_select(struct rtentry *, uint32_t);
59 int rt_mpath_deldup(struct rtentry *, struct rtentry *);
Droute.h54 struct rtentry *ro_rt;
139 struct rtentry { struct
160 struct rtentry *rt_chain; /* pointer to next rtentry to delete */ argument
337 typedef int rt_filter_f_t(const struct rtentry *, void *);
447 void rt_newaddrmsg(int, struct ifaddr *, int, struct rtentry *);
448 void rt_newaddrmsg_fib(int, struct ifaddr *, int, struct rtentry *, int);
450 int rt_routemsg(int, struct ifnet *ifp, int, struct rtentry *, int);
452 int rt_setgate(struct rtentry *, struct sockaddr *, struct sockaddr *);
459 int rtsock_routemsg(int, struct ifnet *ifp, int, struct rtentry *, int);
471 void rtfree(struct rtentry *);
[all …]
Droute.c131 #define RNTORT(p) ((struct rtentry *)(p))
139 struct rtentry **, u_int);
140 static void rt_setmetrics(const struct rt_addrinfo *, struct rtentry *);
141 static int rt_ifdelroute(const struct rtentry *rt, void *arg);
142 static struct rtentry *rt_unlinkrte(struct rib_head *rnh,
144 static void rt_notifydelete(struct rtentry *rt, struct rt_addrinfo *info);
147 struct rt_addrinfo *info, struct rtentry *rto, int *perror);
149 static int rt_exportinfo(struct rtentry *rt, struct rt_addrinfo *info,
233 struct rtentry *rt = mem; in rtentry_zinit()
247 struct rtentry *rt = mem; in rtentry_zfini()
[all …]
Drtsock.c174 static void rt_getmetrics(const struct rtentry *rt, struct rt_metrics *out);
442 struct rtentry *rt, union sockaddr_union *saun, struct ucred *cred) in rtm_get_jailed()
551 struct rtentry *rt = NULL; in route_output()
679 struct rtentry *saved_nrt; in route_output()
752 rt = (struct rtentry *) rnh->rnh_matchaddr( in route_output()
755 rt = (struct rtentry *) rnh->rnh_lookup( in route_output()
809 rt = (struct rtentry *)rnh->rnh_matchaddr(&laddr, in route_output()
959 rt_getmetrics(const struct rtentry *rt, struct rt_metrics *out) in rt_getmetrics()
1374 rtsock_routemsg(int cmd, struct ifnet *ifp, int error, struct rtentry *rt, in rtsock_routemsg()
1560 struct rtentry *rt = (struct rtentry *)rn; in sysctl_dumpentry()
Dif_var.h63 struct rtentry; /* ifa_rtrequest */
326 struct rtentry *);
535 (int, struct rtentry *, struct rt_addrinfo *);
/freebsd-12-stable/sys/netinet6/
Din6_fib.c71 static void fib6_rte_to_nh_extended(struct rtentry *rte,
73 static void fib6_rte_to_nh_basic(struct rtentry *rte, const struct in6_addr *dst,
75 static struct ifnet *fib6_get_ifaifp(struct rtentry *rte);
76 #define RNTORT(p) ((struct rtentry *)(p))
85 fib6_get_ifaifp(struct rtentry *rte) in fib6_get_ifaifp()
101 fib6_rte_to_nh_basic(struct rtentry *rte, const struct in6_addr *dst, in fib6_rte_to_nh_basic()
129 fib6_rte_to_nh_extended(struct rtentry *rte, const struct in6_addr *dst, in fib6_rte_to_nh_extended()
178 struct rtentry *rte; in fib6_lookup_nh_basic()
228 struct rtentry *rte; in fib6_lookup_nh_ext()
Din6_rmx.c111 struct rtentry *rt = (struct rtentry *)treenodes; in in6_addroute()
166 in6_mtuexpire(struct rtentry *rt, void *rock) in in6_mtuexpire()
261 struct sockaddr *mask, int flags, struct rtentry **ret_nrt, u_int fibnum) in in6_rtrequest()
281 struct rtentry *
Din6_src.c137 struct rtentry **, int, u_int);
628 struct ifnet **retifp, struct rtentry **retrt, int norouteok, u_int fibnum) in selectroute()
632 struct rtentry *rt = NULL; in selectroute()
746 ro->ro_rt = (struct rtentry *)NULL; in selectroute()
748 if (ro->ro_rt == (struct rtentry *)NULL) { in selectroute()
848 struct rtentry *rt = NULL; in in6_selectif()
907 struct ifnet **retifp, struct rtentry **retrt) in in6_selectroute()
918 struct ifnet **retifp, struct rtentry **retrt, u_int fibnum) in in6_selectroute_fib()
Dtcp6_var.h79 struct rtentry *tcp_rtlookup6(struct in_conninfo *);
Dip6_var.h412 struct rtentry **);
415 struct rtentry **, u_int);
Dnd6_rtr.c495 nd6_rtmsg(int cmd, struct rtentry *rt) in nd6_rtmsg()
590 struct rtentry *newrt = NULL; in defrouter_addreq()
622 struct rtentry *oldrt = NULL; in defrouter_delreq()
1921 struct rtentry *rt; in nd6_prefix_onlink_rtrequest()
2092 struct rtentry *rt; in nd6_prefix_offlink()
2324 rt6_deleteroute(const struct rtentry *rt, void *arg) in rt6_deleteroute()
/freebsd-12-stable/sys/netinet/
Din_fib.c63 static void fib4_rte_to_nh_basic(struct rtentry *rte, struct in_addr dst,
65 static void fib4_rte_to_nh_extended(struct rtentry *rte, struct in_addr dst,
68 #define RNTORT(p) ((struct rtentry *)(p))
71 fib4_rte_to_nh_basic(struct rtentry *rte, struct in_addr dst, in fib4_rte_to_nh_basic()
95 fib4_rte_to_nh_extended(struct rtentry *rte, struct in_addr dst, in fib4_rte_to_nh_extended()
141 struct rtentry *rte; in fib4_lookup_nh_basic()
190 struct rtentry *rte; in fib4_lookup_nh_ext()
Dtoecore.h51 int (*tod_connect)(struct toedev *, struct socket *, struct rtentry *,
95 struct rtentry *, struct rtentry *);
Din_rmx.c64 struct rtentry *rt = (struct rtentry *)treenodes; in in_addroute()
156 in_ifadownkill(const struct rtentry *rt, void *xap) in in_ifadownkill()
Dtoecore.c79 struct rtentry *rt __unused, struct sockaddr *nam __unused) in toedev_connect()
140 struct rtentry *rt0 __unused, struct rtentry *rt1 __unused) in toedev_route_redirect()
Dtcp_offload.c63 struct rtentry *rt; in tcp_offload_connect()
Dicmp6.h690 struct rtentry;
703 void icmp6_redirect_output(struct mbuf *, struct rtentry *);
/freebsd-12-stable/sys/i386/ibcs2/
Dibcs2_socksys.h78 #define IBCS2_SIOCADDRT _IOW('R', 9, struct rtentry)
79 #define IBCS2_SIOCDELRT _IOW('R', 10, struct rtentry)
/freebsd-12-stable/sbin/ipf/ipftest/
Dip_fil.c24 struct rtentry;
29 struct sockaddr *, struct rtentry *);
31 struct sockaddr *, struct rtentry *);
113 struct rtentry *rt; in no_output()
124 struct rtentry *rt; in write_output()
/freebsd-12-stable/contrib/tcpdump/
Dprint-sunatm.c42 struct rtentry;
/freebsd-12-stable/contrib/traceroute/
Difaddrlist.c50 struct rtentry;
Dfindsaddr-socket.c54 struct rtentry;
/freebsd-12-stable/contrib/libpcap/
Dfad-gifc.c48 struct rtentry; /* declarations in <net/if.h> */
Dfad-glifc.c49 struct rtentry; /* declarations in <net/if.h> */

123