Searched defs:route (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/kifconf/
H A Dkifconf.c30 #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.sbin/
H A Dhostconfig.c51 #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 DMakefile38 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 Dndp.c42 #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/uts/common/sys/ib/clients/of/rdma/
H A Drdma_cm.h140 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/lib/libsip/common/
H A Dsip_dialog.c163 * 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/uts/common/net/
H A Droute.h57 * 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...]

Completed in 84 milliseconds