Home
last modified time | relevance | path

Searched refs:route (Results 1 – 23 of 23) sorted by relevance

/net/ax25/
Dax25_route.c75 static int __must_check ax25_rt_add(struct ax25_routes_struct *route) in ax25_rt_add() argument
81 if ((ax25_dev = ax25_addr_ax25dev(&route->port_addr)) == NULL) in ax25_rt_add()
83 if (route->digi_count > AX25_MAX_DIGIS) in ax25_rt_add()
90 if (ax25cmp(&ax25_rt->callsign, &route->dest_addr) == 0 && in ax25_rt_add()
94 if (route->digi_count != 0) { in ax25_rt_add()
100 ax25_rt->digipeat->ndigi = route->digi_count; in ax25_rt_add()
101 for (i = 0; i < route->digi_count; i++) { in ax25_rt_add()
103 ax25_rt->digipeat->calls[i] = route->digi_addr[i]; in ax25_rt_add()
118 ax25_rt->callsign = route->dest_addr; in ax25_rt_add()
122 if (route->digi_count != 0) { in ax25_rt_add()
[all …]
Dax25_ip.c107 ax25_route *route; in ax25_rebuild_header() local
121 route = ax25_get_route(dst, NULL); in ax25_rebuild_header()
122 if (route) { in ax25_rebuild_header()
123 digipeat = route->digipeat; in ax25_rebuild_header()
124 dev = route->dev; in ax25_rebuild_header()
125 ip_mode = route->ip_mode; in ax25_rebuild_header()
201 if ((ourskb = ax25_rt_build_path(skb, src, dst, route->digipeat)) == NULL) { in ax25_rebuild_header()
212 if (route) in ax25_rebuild_header()
213 ax25_put_route(route); in ax25_rebuild_header()
DKconfig101 The Packet Layer Protocol (PLP) is a way to route packets over X.25
/net/ipv4/
Dxfrm4_policy.c83 struct rtable *rt = (struct rtable *)xdst->route; in xfrm4_fill_dst()
200 struct dst_entry *path = xdst->route; in xfrm4_update_pmtu()
209 struct dst_entry *path = xdst->route; in xfrm4_redirect()
DMakefile5 obj-y := route.o inetpeer.o protocol.o \
Dnetfilter.c190 .route = nf_ip_route,
DKconfig97 bool "IP: verbose route monitoring"
/net/ipv6/
Dxfrm6_policy.c103 struct rt6_info *rt = (struct rt6_info*)xdst->route; in xfrm6_fill_dst()
225 struct dst_entry *path = xdst->route; in xfrm6_update_pmtu()
234 struct dst_entry *path = xdst->route; in xfrm6_redirect()
DMakefile9 route.o ip6_fib.o ipv6_sockglue.o ndisc.o udp.o udplite.o \
Dnetfilter.c199 .route = nf_ip6_route,
DKconfig151 tristate "IPv6: MIPv6 route optimization mode"
154 Support for MIPv6 route optimization mode.
/net/sunrpc/xprtrdma/
Dsvc_rdma_transport.c568 sa = (struct sockaddr *)&newxprt->sc_cm_id->route.addr.dst_addr; in handle_connect_req()
570 sa = (struct sockaddr *)&newxprt->sc_cm_id->route.addr.src_addr; in handle_connect_req()
713 sa = (struct sockaddr *)&cma_xprt->sc_cm_id->route.addr.src_addr; in svc_rdma_create()
1065 route.addr.src_addr)->sin_addr.s_addr, in svc_rdma_accept()
1067 route.addr.src_addr)->sin_port), in svc_rdma_accept()
1069 route.addr.dst_addr)->sin_addr.s_addr, in svc_rdma_accept()
1071 route.addr.dst_addr)->sin_port), in svc_rdma_accept()
/net/rds/
Diw_rdma.c104 src_addr = (struct sockaddr_in *)&i_cm_id->cm_id->route.addr.src_addr;
105 dst_addr = (struct sockaddr_in *)&i_cm_id->cm_id->route.addr.dst_addr;
187 src_addr = (struct sockaddr_in *)&cm_id->route.addr.src_addr;
188 dst_addr = (struct sockaddr_in *)&cm_id->route.addr.dst_addr;
Diw.c187 dev_addr = &ic->i_cm_id->route.addr.dev_addr; in rds_iw_conn_info_visitor()
Dib_cm.c448 __be64 lguid = cm_id->route.path_rec->sgid.global.interface_id; in rds_ib_cm_handle_connect()
449 __be64 fguid = cm_id->route.path_rec->dgid.global.interface_id; in rds_ib_cm_handle_connect()
Dib.c286 dev_addr = &ic->i_cm_id->route.addr.dev_addr; in rds_ib_conn_info_visitor()
/net/xfrm/
Dxfrm_policy.c1384 if (xdst->route == NULL) { in xfrm_bundle_flo_get()
1407 if (!xdst->route) in xfrm_bundle_flo_check()
1563 xdst->route = dst; in xfrm_bundle_create()
1886 xdst->route = dst; in xfrm_create_dummy_bundle()
2051 struct dst_entry *dst, *route; in xfrm_lookup() local
2059 route = NULL; in xfrm_lookup()
2095 route = xdst->route; in xfrm_lookup()
2118 route = xdst->route; in xfrm_lookup()
2122 if (route == NULL && num_xfrms > 0) { in xfrm_lookup()
2585 route_mtu_cached = dst_mtu(xdst->route); in xfrm_init_pmtu()
[all …]
/net/can/
DKconfig47 The CAN Gateway/Router is used to route (and modify) CAN frames.
/net/netfilter/
Dxt_addrtype.c61 route_err = afinfo->route(net, (struct dst_entry **)&rt, in match_lookup_rt6()
Dxt_TCPMSS.c185 ai->route(&init_net, (struct dst_entry **)&rt, &fl, false); in tcpmss_reverse_mtu()
Dnf_conntrack_h323_main.c753 if (!afinfo->route(&init_net, (struct dst_entry **)&rt1, in callforward_do_filter()
755 if (!afinfo->route(&init_net, (struct dst_entry **)&rt2, in callforward_do_filter()
777 if (!afinfo->route(&init_net, (struct dst_entry **)&rt1, in callforward_do_filter()
779 if (!afinfo->route(&init_net, (struct dst_entry **)&rt2, in callforward_do_filter()
Dnf_nat_core.c98 dst = ((struct xfrm_dst *)dst)->route; in nf_xfrm_me_harder()
/net/sched/
DKconfig344 according to the route table entry they matched.