/illumos-gate/usr/src/uts/common/netinet/ |
H A D | in_pcb.h | 40 struct route inp_route; /* placeholder for routing entry */
|
/illumos-gate/usr/src/uts/common/inet/kifconf/ |
H A D | kifconf.c | 30 #include <net/route.h> 72 struct rtentry route; local 146 (void) memset(&route, 0, sizeof (route)); 147 rt_sin = (struct sockaddr_in *)&route.rt_dst; 150 rt_sin = (struct sockaddr_in *)&route.rt_gateway; 152 route.rt_flags = RTF_GATEWAY | RTF_UP; 153 sbuf.buf = (caddr_t)&route; 154 sbuf.maxlen = sbuf.len = sizeof (route);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/ |
H A D | trace.h | 76 #define TRACE_ACTION(action, route) { \ 78 traceaction(ftrace, (action), (route)); \
|
H A D | defs.h | 56 #include <net/route.h>
|
/illumos-gate/usr/src/cmd/svc/milestone/ |
H A D | net-routing-setup | 74 # empty "/etc/defaultrouter" file will cause the default route 94 # the last route between the running system and its 98 # First, remember the original route. 106 # this, if one of the routes we add is for the route 113 route_added=`/usr/sbin/route -n add default \ 121 # Finally, delete the original default route unless it 125 /usr/sbin/route -n delete default \ 129 /usr/sbin/route -fn > /dev/null 139 # to disabled if a default route was previously added via BOOTP, DHCP, 144 # No default routes were setup by "route" comman [all...] |
H A D | net-physical | 443 *) /sbin/route -n add default -gateway $router ;; 465 # is used to add a default route. 503 [ -n "$router" ] && route add \
|
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/sol_ofs/ |
H A D | sol_cma.h | 319 bcopy(&((srcid->route).addr), &((newid->route).addr), 321 if ((srcid->route).num_paths) { 324 num_paths = (newid->route).num_paths = 325 (srcid->route).num_paths; 326 (newid->route).path_rec = kmem_zalloc(num_paths * 328 bcopy(&((srcid->route).path_rec), 329 &((newid->route).path_rec),
|
/illumos-gate/usr/src/uts/common/net/ |
H A D | Makefile | 29 HDRS= af.h if.h if_arp.h if_dl.h if_types.h route.h pfkeyv2.h pfpolicy.h \
|
H A D | route.h | 57 * A route consists of a destination address and a reference 61 struct route { struct 77 uint32_t rmx_expire; /* lifetime for route, e.g. redirect */ 83 uint32_t rmx_pksent; /* packets sent using this route */ 91 * preferring the former if available. For each route we infer 93 * the route was entered. Routes that forward packets through 114 #define RTF_UP 0x1 /* route usable */ 127 #define RTF_PRIVATE 0x2000 /* do not advertise this route */ 134 #define RTF_ZONE 0x100000 /* (NGZ only) route from global zone */ 174 #define RTM_REDIRECT 0x6 /* Told to use different route */ [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | hostconfig.c | 51 #include <net/route.h> 284 struct rtentry route; local 288 (void) memset(&route, 0, sizeof (route)); 290 /* route destination is "default" - zero */ 292 sin = (struct sockaddr_in *)&route.rt_dst; 296 sin = (struct sockaddr_in *)&route.rt_gateway; 300 route.rt_flags = RTF_GATEWAY | RTF_UP; 306 if (ioctl(s, SIOCADDRT, (char *)&route) == -1) { 307 perror("add default route"); [all...] |
H A D | Makefile | 38 ROOTFS_PROG= hostconfig route soconfig 39 SBINLINKS= hostconfig route 46 in.rwhod in.telnetd in.tftpd ipaddrsel ndp route 49 in.tftpd ipaddrsel ndp route 52 TSNETPROG= route 77 ipaddrsel ndp route \ 115 POFILES= 6to4relay.po if_mpadm.po in.comsat.po ipaddrsel.po route.po \ 161 route := CPPFLAGS += -DNDEBUG macro 266 $(LINT.c) route.c $(LDLIBS) -lsocket -lnsl -ltsnet
|
H A D | ndp.c | 42 #include <net/route.h> 108 * Macros borrowed from route(1M) for working with PF_ROUTE messages 537 ndp_initialize_lifreq(int route, struct lifreq *lifrp, struct sockaddr *sap) argument 560 if (ndp_find_interface(route, sap, lifr_name, LIFNAMSIZ) != 0) 579 int inet6, route; local 610 route = socket(PF_ROUTE, SOCK_RAW, 0); 611 if (route < 0) { 618 if (ndp_initialize_lifreq(route, &lifr, p->ai_addr) 631 if (close(route) != 0) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | Makefile | 19 MANIFEST= route.xml 20 SVCMETHOD= svc-route
|
/illumos-gate/usr/src/uts/common/sys/tsol/ |
H A D | tnet.h | 37 #include <net/route.h>
|
/illumos-gate/usr/src/man/man7p/ |
H A D | Makefile | 36 route.7p \
|
/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_dialog.c | 163 * Get the route information from the 'value' and add it to the route 206 * Check if the 'lr' param is present for this route. 222 * Depending on the route-set, determine the request URI. 254 * Free the route set. 271 * Recompute route-set 297 * If the route set is empty, the UAC MUST place the remote target URI 301 * If the route set is not empty, and the first URI in the route set 304 * header field containing the route se 325 sip_dlg_route_set_t *route; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/ |
H A D | defs.h | 62 #include <net/route.h>
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/nwamcfg/ |
H A D | nwamcfg_lex.l | 181 <TSTATE>ipv4-default-route { return IPV4_DEFAULT_ROUTE; } 184 <TSTATE>ipv6-default-route { return IPV6_DEFAULT_ROUTE; }
|
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/rdma/ |
H A D | rdma_cm.h | 140 struct rdma_route route; member in struct:rdma_cm_id 210 * into route information needed to establish a connection. 245 * Users must have resolved a route for the rdma_cm_id to connect with 332 * performing route resolution, as existing communication on the
|
/illumos-gate/usr/src/boot/include/netinet/ |
H A D | ip_var.h | 122 uint64_t ips_noroute; /* packets discarded due to no route */ 174 struct route; 219 struct mbuf *, struct route *, int, struct ip_moptions *,
|
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/ |
H A D | sol_ib_cma.c | 243 (idp->route).num_paths = 0; 450 &(ep_idp->route.addr.src_addr), NULL); 1267 &(idp->route.addr.src_addr), NULL); 1287 (idp->route).num_paths = ibchanp->chan_numpaths; 1288 idp->route.path_rec = kmem_zalloc(sizeof (struct ib_sa_path_rec) * 1294 &((idp->route.path_rec)[i]), base_lid); 1420 (event_idp->route).num_paths = 0; 1429 &(event_idp->route.addr.dst_addr), &info.src_port); 1433 &(event_idp->route.addr.src_addr), &info.src_port); 1627 * Fill the route, devic [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/ |
H A D | mpd_defs.h | 71 #include <net/route.h>
|
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | select.c | 34 #include <net/route.h>
|
/illumos-gate/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_nicmon.c | 37 #include <net/route.h>
|
/illumos-gate/usr/src/boot/include/net/ |
H A D | ethernet.h | 166 #define ETHERTYPE_DECnet 0x6003 /* DEC DECNET Phase IV route */ 387 struct route; 398 const struct sockaddr *, struct route *);
|