Home
last modified time | relevance | path

Searched refs:AF_MAX (Results 1 – 25 of 27) sorted by relevance

12

/freebsd/sys/net/route/
H A Droute_tables.c207 struct rib_head *rh_src = new_rt_tables[i * AF_MAX + rh->rib_family]; in populate_kernel_routes()
231 new_rt_tables = mallocarray(num_tables * AF_MAX, sizeof(void *), in grow_rtables()
245 V_rt_numfibs * AF_MAX * sizeof(void *)); in grow_rtables()
253 prnh = &new_rt_tables[i * AF_MAX + family]; in grow_rtables()
373 KASSERT(family < AF_MAX, in rt_tables_get_rnh_ptr()
374 ("%s: fam out of bounds (%d < %d)", __func__, family, AF_MAX)); in rt_tables_get_rnh_ptr()
379 prnh += table * AF_MAX + family; in rt_tables_get_rnh_ptr()
396 if (__predict_false(family >= AF_MAX)) in rt_tables_get_rnh_safe()
H A Droute_ddb.c177 lim = AF_MAX - 1; in DB_SHOW_COMMAND()
H A Droute_helpers.c186 for (int i = 1; i < AF_MAX; i++) in rib_foreach_table_walk()
208 for (int i = 1; i < AF_MAX; i++) in rib_foreach_table_walk_del()
H A Dnhop_ctl.c1342 for (iter.family = 1; iter.family < AF_MAX; iter.family++) { in nhops_ifnet_state_changed()
/freebsd/cddl/lib/libdtrace/
H A Dsocket.d210 #pragma D binding "1.13" AF_MAX
211 inline int AF_MAX = 42; variable
299 inline int PF_MAX = AF_MAX;
/freebsd/lib/libifconfig/
H A Dlibifconfig_internal.h52 int sockets[AF_MAX];
H A Dlibifconfig_internal.c81 if (addressfamily >= AF_MAX) { in ifconfig_socket()
H A Dlibifconfig.c84 for (int i = 0; i < AF_MAX; i++) { in ifconfig_open()
95 for (int i = 0; i < AF_MAX; i++) { in ifconfig_close()
/freebsd/contrib/unbound/compat/
H A Dfake-rfc2553.h84 #define AF_INET6 AF_MAX
/freebsd/contrib/ldns/compat/
H A Dfake-rfc2553.h89 #define AF_INET6 AF_MAX
/freebsd/contrib/ntp/include/
H A Dntp_rfc2553.h104 # define AF_INET6 AF_MAX
/freebsd/crypto/openssh/openbsd-compat/
H A Dfake-rfc2553.h84 #define AF_INET6 AF_MAX
/freebsd/cddl/usr.sbin/dwatch/libexec/
H A Dsendrecv97 af == AF_MAX ? "AF_MAX" :
/freebsd/sys/sys/
H A Dsocket.h276 #define AF_MAX 47 macro
406 #define PF_MAX AF_MAX
/freebsd/sys/netlink/route/
H A Drt.c677 for (int i = 0; i < AF_MAX; i++) { in dump_rtable_fib()
1056 if (attrs.rta_table >= V_rt_numfibs || attrs.rtm_family >= AF_MAX) { in rtnl_handle_newroute()
1123 if (attrs.rta_table >= V_rt_numfibs || attrs.rtm_family >= AF_MAX) { in rtnl_handle_delroute()
1147 if (attrs.rta_table >= V_rt_numfibs || attrs.rtm_family >= AF_MAX) { in rtnl_handle_getroute()
/freebsd/contrib/blocklist/bin/
H A Dconf.c293 sif->sif_family = AF_MAX; in conf_gethostport()
684 case AF_MAX: in conf_addr_eq()
841 case AF_MAX: in conf_print()
/freebsd/usr.bin/logger/
H A Dlogger.c240 struct sockaddr_storage *ss_src[AF_MAX]; in socksetup()
/freebsd/lib/libc/tests/nss/
H A Dgetaddrinfo_test.c353 if (!(ai->ai_family >= 0 && ai->ai_family < AF_MAX)) in addrinfo_test_correctness()
H A Dgethostby_test.c689 if (!((ht->h_addrtype >= 0) && (ht->h_addrtype < AF_MAX))) in hostent_test_correctness()
/freebsd/sys/kern/
H A Dvfs_export.c149 if (saddr->sa_family == AF_UNSPEC || saddr->sa_family >= AF_MAX) { in vfs_hang_addrlist()
H A Duipc_syscalls.c1500 if (sa->sa_family == 0 && sa->sa_len < AF_MAX && in sockargs()
1526 if (sa->sa_family == 0 && sa->sa_len < AF_MAX && in getsockaddr()
/freebsd/sbin/ifconfig/
H A Difconfig.c963 uint8_t afmask[howmany(AF_MAX, NBBY)]; in af_other_status()
980 uint8_t afmask[howmany(AF_MAX, NBBY)]; in af_all_tunnel_status()
/freebsd/contrib/sendmail/include/sm/
H A Dconf.h1890 # define AF_MAX AF_INET macro
/freebsd/sys/net/
H A Drtsock.c2626 if (af >= AF_MAX) in sysctl_rtsock()
2650 lim = AF_MAX - 1; in sysctl_rtsock()
/freebsd/contrib/sendmail/src/
H A Ddaemon.c1972 static DAEMON_T ClientSettings[AF_MAX + 1];
2066 for (i = 0; i < AF_MAX; i++)

12