/freebsd-9.3-release/tools/test/netfibs/ |
H A D | initiator.sh | 223 ipfw add 5 permit ipv6-icmp from any to any icmp6types 135,136 fib 0 \ 514 local fib i _n _o 518 fib=0 519 while test ${fib} -lt ${RT_NUMFIBS}; do 521 print_debug "${_n} ${fib}" 528 ${fib}) 535 ip6 from any to any fib ${i} via ${IFACE} \ 542 testtx_ulp6_connected "${_n}${fib}" "${_o}" ${fib} 547 fib [all...] |
H A D | reflector.sh | 226 local _opts fib 235 fib=0 236 while test ${fib} -lt ${RT_NUMFIBS}; do 238 "-t testtx_icmp6_connected_blackhole${fib} ${_opts}" 240 -t testtx_icmp6_connected_blackhole${fib} ${_opts} 242 fib=$((fib + 1)) 248 local _opts fib 257 fib=0 258 while test ${fib} [all...] |
H A D | reflect.c | 52 static u_int fib = -1; variable 208 if (fib != (u_int)-1) { 209 rc = setsockopt(s, SOL_SOCKET, SO_SETFIB, &fib, sizeof(fib)); 320 fib = (u_int)l;
|
H A D | forwarding.sh | 147 ifconfig ${IFACE} fib 0 162 ifconfig ${IFACE} fib 0 166 ifconfig ${IFACEFAR} fib 0 172 ifconfig ${IFACE} fib 0 393 local _txt _opts port fib 397 fib=$4 399 print_debug "./reflect -p $((port + 1 + fib)) -t ${_txt}" "${_opts}" 400 ./reflect -p $((port + 1 + fib)) -t ${_txt} ${_opts} 466 local maxfibs _msg _addr port fib i _txt testno _rc _reply 471 fib [all...] |
/freebsd-9.3-release/usr.sbin/setfib/ |
H A D | setfib.c | 51 long fib = 0; local 75 fib = strtol(optarg, &ep, 10); 77 fib < 0 || fib >= numfibs) 92 if (setfib((int)fib))
|
/freebsd-9.3-release/sbin/ifconfig/ |
H A D | iffib.c | 68 unsigned long fib; local 71 fib = strtoul(val, &ep, 0); 72 if (*ep != '\0' || fib > UINT_MAX) { 73 warn("fib %s not valid", val); 78 ifr.ifr_fib = fib; 84 DEF_CMD_ARG("fib", setiffib),
|
/freebsd-9.3-release/sys/dev/aac/ |
H A D | aac_disk.c | 178 struct aac_fib *fib; local 183 fib = (struct aac_fib *)arg; 184 bw = (struct aac_blockwrite *)&fib->data[0]; 195 fib->Header.Size = nsegs * sizeof(struct aac_sg_entry); 205 struct aac_fib *fib; local 210 fib = (struct aac_fib *)arg; 211 bw = (struct aac_blockwrite64 *)&fib->data[0]; 220 fib->Header.Size = nsegs * sizeof(struct aac_sg_entry64); 234 struct aac_fib *fib; local 261 fib [all...] |
H A D | aac.c | 107 struct aac_fib *fib); 198 struct aac_fib *fib); 211 aac_get_container_info(struct aac_softc *sc, struct aac_fib *fib, int cid); 353 struct aac_fib *fib; local 362 aac_alloc_sync_fib(sc, &fib); 363 *(uint32_t *)fib->data = tv.tv_sec; 364 aac_sync_fib(sc, SendHostTime, 0, fib, sizeof(uint32_t)); 388 aac_get_container_info(struct aac_softc *sc, struct aac_fib *fib, int cid) argument 392 mi = (struct aac_mntinfo *)&fib->data[0]; 399 if (aac_sync_fib(sc, ContainerCommand, 0, fib, 415 struct aac_fib *fib; local 727 struct aac_fib *fib; local 821 struct aac_fib *fib; local 1018 struct aac_fib *fib; local 1121 struct aac_fib *fib; local 1193 struct aac_fib *fib; local 1556 struct aac_fib *fib; local 2069 aac_sync_fib(struct aac_softc *sc, u_int32_t command, u_int32_t xferstate, struct aac_fib *fib, u_int16_t datasize) argument 2286 aac_enqueue_response(struct aac_softc *sc, int queue, struct aac_fib *fib) argument 2693 struct aac_fib *fib; local 3051 struct aac_fib *fib; local 3208 aac_handle_aif(struct aac_softc *sc, struct aac_fib *fib) argument 3682 struct aac_fib *fib; local [all...] |
H A D | aac_debug.c | 170 aac_print_fib(struct aac_softc *sc, struct aac_fib *fib, const char *caller) argument 172 if (fib == NULL) { 174 "aac_print_fib called with NULL fib\n"); 177 device_printf(sc->aac_dev, "%s: FIB @ %p\n", caller, fib); 178 device_printf(sc->aac_dev, " XferState %b\n", fib->Header.XferState, 201 device_printf(sc->aac_dev, " Command %d\n", fib->Header.Command); 203 fib->Header.StructType); 204 device_printf(sc->aac_dev, " Flags 0x%x\n", fib->Header.Flags); 205 device_printf(sc->aac_dev, " Size %d\n", fib->Header.Size); 207 fib [all...] |
H A D | aac_cam.c | 261 struct aac_fib *fib; local 402 fib = cm->cm_fib; 403 srb = (struct aac_srb *)&fib->data[0]; 444 fib->Header.Command = (sc->flags & AAC_FLAGS_SG_64BIT) ? 462 fib->Header.Command = ScsiPortCommand; 505 fib->Header.XferState = 511 fib->Header.Size = sizeof(struct aac_fib_header) + 629 struct aac_fib *fib; local 644 aac_alloc_sync_fib(sc, &fib); 646 vmi = (struct aac_vmioctl *)&fib [all...] |
H A D | aacvar.h | 228 /* fib for synchronous commands */ 299 /* fib context (IOCTL) */ 347 /* command/fib resources */ 371 * The general I/O lock. This protects the sync fib, the lists, the 468 u_int32_t xferstate, struct aac_fib *fib, 488 extern void aac_print_fib(struct aac_softc *sc, struct aac_fib *fib, 493 #define AAC_PRINT_FIB(sc, fib) aac_print_fib(sc, fib, __func__) 501 # define AAC_PRINT_FIB(sc, fib) 635 aac_alloc_sync_fib(struct aac_softc *sc, struct aac_fib **fib) argument [all...] |
/freebsd-9.3-release/sys/dev/aacraid/ |
H A D | aacraid_debug.c | 85 aacraid_print_fib(struct aac_softc *sc, struct aac_fib *fib, const char *caller) argument 87 if (fib == NULL) { 89 "aac_print_fib called with NULL fib\n"); 92 device_printf(sc->aac_dev, "%s: FIB @ %p\n", caller, fib); 93 device_printf(sc->aac_dev, " XferState %b\n", fib->Header.XferState, 116 device_printf(sc->aac_dev, " Command %d\n", fib->Header.Command); 118 fib->Header.StructType); 119 device_printf(sc->aac_dev, " Size %d\n", fib->Header.Size); 121 fib->Header.SenderSize); 123 fib [all...] |
H A D | aacraid.c | 87 u_int32_t xferstate, struct aac_fib *fib, 195 static void aac_handle_aif(struct aac_softc *sc, struct aac_fib *fib); 210 struct aac_fib *fib, int cid, 244 struct aac_fib *fib; local 322 aac_alloc_sync_fib(sc, &fib); 325 if ((aac_get_container_info(sc, fib, i, &mir, &uid)) != 0) 373 struct aac_fib *fib; local 389 fib = cm->cm_fib; 394 fib->Header.Size = 396 fib 447 struct aac_fib *fib; local 815 struct aac_fib *fib; local 893 struct aac_fib *fib; local 1307 struct aac_fib *fib; local 1985 struct aac_fib *fib; local 2087 aac_sync_fib(struct aac_softc *sc, u_int32_t command, u_int32_t xferstate, struct aac_fib *fib, u_int16_t datasize) argument 2453 struct aac_fib *fib; local 2815 struct aac_fib *fib; local 3013 struct aac_fib *fib; local 3075 aac_handle_aif(struct aac_softc *sc, struct aac_fib *fib) argument 3583 struct aac_fib *fib; local 3720 struct aac_fib *fib; local [all...] |
H A D | aacraid_cam.c | 376 struct aac_fib *fib; local 403 fib = cm->cm_fib; 426 fib->Header.Size = sizeof(struct aac_fib_header); 427 fib->Header.XferState = 439 raw = (struct aac_raw_io2 *)&fib->data[0]; 441 fib->Header.Command = RawIo2; 446 fib->Header.Size += sizeof(struct aac_raw_io2); 454 raw = (struct aac_raw_io *)&fib->data[0]; 456 fib->Header.Command = RawIo; 460 fib 626 struct aac_fib *fib; local 858 struct aac_fib *fib; local 1258 struct aac_fib *fib; local [all...] |
H A D | aacraid_var.h | 260 /* fib for synchronous commands */ 330 /* fib context (IOCTL) */ 394 /* command/fib resources */ 416 * The general I/O lock. This protects the sync fib, the lists, the 539 extern void aacraid_print_fib(struct aac_softc *sc, struct aac_fib *fib, 544 #define AAC_PRINT_FIB(sc, fib) aacraid_print_fib(sc, fib, __func__) 551 # define AAC_PRINT_FIB(sc, fib) 664 aac_alloc_sync_fib(struct aac_softc *sc, struct aac_fib **fib) argument 668 *fib [all...] |
/freebsd-9.3-release/sbin/route/ |
H A D | route.c | 257 set_sofib(int fib) argument 260 if (fib < 0) 262 return (setsockopt(s, SOL_SOCKET, SO_SETFIB, (void *)&fib, 263 sizeof(fib))); 267 set_procfib(int fib) argument 270 if (fib < 0) 272 return (setfib(fib)); 280 int fib[2], i, error; local 290 fib[i] = strtol(token, &endptr, 0); 293 fib[ 331 int fib, error; local 445 flushroutes_fib(int fib) argument 1093 newroute_fib(int fib, char *cmd, int flags) argument 1467 int n, fib, error; local 1519 rtmsg(int cmd, int flags, int fib) argument 1760 print_getmsg(struct rt_msghdr *rtm, int msglen, int fib) argument [all...] |
/freebsd-9.3-release/sys/netgraph/netflow/ |
H A D | netflow.c | 114 * via flow_rec bcmp() containing fib id. In IPv6 world addresses are 365 rt = rtalloc1_fib((struct sockaddr *)&sin, 0, 0, r->fib); 389 rt = rtalloc1_fib((struct sockaddr *)&sin, 0, 0, r->fib); 454 rin6.ro_rt = rtalloc1_fib((struct sockaddr *)dst, 0, 0, r->fib); 480 rin6.ro_rt = rtalloc1_fib((struct sockaddr *)src, 0, 0, r->fib); 550 ng_netflow_fib_init(priv_p priv, int fib) argument 552 fib_export_p fe = priv_to_fib(priv, fib); 554 CTR1(KTR_NET, "ng_netflow(): fib init: %d", fib); 564 fe->fib [all...] |
H A D | ng_netflow.h | 155 * casted to flow_entry_data. After casting, fle->r.fib is accessed. 156 * So beginning of these structs up to fib should be kept common. 162 uint16_t fib; member in struct:flow_rec 185 uint16_t fib; member in struct:flow6_rec 377 /* Structure contatining fib-specific data */ 379 uint32_t fib; /* kernel fib id */ member in struct:fib_export 433 fib_export_p *fib_data; /* array of pointers to per-fib data */ 468 #define priv_to_fib(priv, fib) (priv)->fib_data[(fib)] [all...] |
H A D | ng_netflow.c | 243 /* Initialize fib data */ 594 uint32_t fib; local 896 fib = M_GETFIB(m); 897 if (fib >= priv->maxfibs) { 898 CTR2(KTR_NET, "ng_netflow_rcvdata(): packet fib %d is out of " 900 fib, priv->maxfibs); 904 if ((fe = priv_to_fib(priv, fib)) == NULL) { 906 if (ng_netflow_fib_init(priv, fib) != 0) { 911 fe = priv_to_fib(priv, fib);
|
/freebsd-9.3-release/sys/netpfil/ipfw/ |
H A D | ip_fw2.c | 412 verify_path(struct in_addr src, struct ifnet *ifp, u_int fib) argument 426 in_rtalloc_ign(&ro, 0, fib); 511 verify_path6(struct in6_addr *src, struct ifnet *ifp, u_int fib) argument 523 in6_rtalloc_ign(&ro, 0, fib); 984 args->f_id.fib = M_GETFIB(m); /* note mbuf not altered) */ 1800 m->m_pkthdr.rcvif, args->f_id.fib) : 1803 args->f_id.fib))); 1812 NULL, args->f_id.fib) : 1814 verify_path(src_ip, NULL, args->f_id.fib))); 1831 args->f_id.fib) 2359 uint32_t fib; local [all...] |
/freebsd-9.3-release/sys/net/ |
H A D | route.c | 33 * Note: In this file a 'fib' is a "forwarding information base" * 106 * fib * af RNH allocation etc. but allow tuning the number of tables per 118 * always work given the fib can be overridden and prefixes can be added 182 /* rnh is [fib=0][af=0]. */ 824 * Look up rt_addrinfo for a specific fib. Note that if rti_ifa is defined, 878 int fib; 895 fib = rt->rt_fibnum; 903 error = rtrequest1_fib(RTM_DELETE, &info, &rt0, fib); 1561 * requested action. Realistically, this will either be fib 0 1744 int fib local [all...] |
H A D | rtsock.c | 239 /* Check if it is a rts and the fib matches the one of the socket. */ 1804 int fib = 0; local 1814 fib = req->td->td_proc->p_fibnum; 1816 fib = (name[3] == RT_ALL_FIBS) ? 1820 if (fib < 0 || fib >= rt_numfibs) 1861 rnh = rt_tables_get_rnh(fib, i);
|
/freebsd-9.3-release/etc/rc.d/ |
H A D | jail | 132 debug "$_j fib: $_fib"
|
/freebsd-9.3-release/sys/netinet/ |
H A D | ip_fw.h | 213 O_FIB, /* arg1=FIB desired fib number */ 530 * fib is used in the kernel to record the fib in use. 538 uint8_t fib; member in struct:ipfw_flow_id
|
/freebsd-9.3-release/usr.sbin/jail/ |
H A D | command.c | 264 int argc, bg, clean, consfd, down, fib, i, injail, sjuser, timeout; local 573 if (int_param(j->intparams[IP_EXEC_FIB], &fib) && 574 setfib(fib) < 0) {
|