Home
last modified time | relevance | path

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

12

/freebsd/sys/net/route/
H A Droute_tables.c207 struct rib_head *rh_src = new_rt_tables[i * (AF_MAX + 1) + rh->rib_family]; in populate_kernel_routes()
231 new_rt_tables = mallocarray(num_tables * (AF_MAX + 1), sizeof(void *), in grow_rtables()
250 V_rt_numfibs * (AF_MAX + 1) * sizeof(void *)); in grow_rtables()
258 prnh = &new_rt_tables[i * (AF_MAX + 1) + family]; in grow_rtables()
372 KASSERT(family < (AF_MAX + 1), in rt_tables_get_rnh_ptr()
373 ("%s: fam out of bounds (%d < %d)", __func__, family, AF_MAX + 1)); in rt_tables_get_rnh_ptr()
378 prnh += table * (AF_MAX + 1) + family; in rt_tables_get_rnh_ptr()
395 if (__predict_false(family >= (AF_MAX + 1))) in rt_tables_get_rnh_safe()
H A Droute_ddb.c177 lim = AF_MAX; in DB_SHOW_COMMAND()
H A Droute_helpers.c187 for (int i = 1; i <= AF_MAX; i++) in rib_foreach_table_walk()
209 for (int i = 1; i <= AF_MAX; i++) in rib_foreach_table_walk_del()
/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 + 1];
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/crypto/openssh/openbsd-compat/
H A Dfake-rfc2553.h84 #define AF_INET6 AF_MAX
/freebsd/contrib/ntp/include/
H A Dntp_rfc2553.h104 # 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.h269 #define AF_MAX 44 macro
396 #define PF_MAX AF_MAX
/freebsd/sys/net/
H A Dif_private.h104 void *if_afdata[AF_MAX];
H A Droute.c519 for (i = 1; i <= AF_MAX; i++) { in rt_updatemtu()
H A Drtsock.c2592 if (af > AF_MAX) in sysctl_rtsock()
2616 lim = AF_MAX; in sysctl_rtsock()
/freebsd/contrib/blocklist/bin/
H A Dconf.c288 sif->sif_family = AF_MAX; in conf_gethostport()
679 case AF_MAX: in conf_addr_eq()
817 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.c162 if (saddr->sa_family == AF_UNSPEC || saddr->sa_family > AF_MAX) { in vfs_hang_addrlist()
H A Duipc_syscalls.c1483 if (sa->sa_family == 0 && sa->sa_len < AF_MAX && in sockargs()
1509 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/sys/netlink/route/
H A Drt.c588 for (int i = 0; i < AF_MAX; i++) { in dump_rtable_fib()
/freebsd/contrib/sendmail/include/sm/
H A Dconf.h1890 # define AF_MAX AF_INET macro

12