Home
last modified time | relevance | path

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

12

/freebsd-14.2/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()
232 new_rt_tables = mallocarray(num_tables * (AF_MAX + 1), sizeof(void *), in grow_rtables()
253 V_rt_numfibs * (AF_MAX + 1) * sizeof(void *)); in grow_rtables()
261 prnh = &new_rt_tables[i * (AF_MAX + 1) + family]; in grow_rtables()
375 KASSERT(family < (AF_MAX + 1), in rt_tables_get_rnh_ptr()
376 ("%s: fam out of bounds (%d < %d)", __func__, family, AF_MAX + 1)); in rt_tables_get_rnh_ptr()
381 prnh += table * (AF_MAX + 1) + family; in rt_tables_get_rnh_ptr()
398 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-14.2/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-14.2/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-14.2/contrib/unbound/compat/
H A Dfake-rfc2553.h84 #define AF_INET6 AF_MAX
/freebsd-14.2/contrib/ldns/compat/
H A Dfake-rfc2553.h89 #define AF_INET6 AF_MAX
/freebsd-14.2/contrib/ntp/include/
H A Dntp_rfc2553.h104 # define AF_INET6 AF_MAX
/freebsd-14.2/crypto/openssh/openbsd-compat/
H A Dfake-rfc2553.h84 #define AF_INET6 AF_MAX
/freebsd-14.2/cddl/usr.sbin/dwatch/libexec/
H A Dsendrecv97 af == AF_MAX ? "AF_MAX" :
/freebsd-14.2/sys/sys/
H A Dsocket.h273 #define AF_MAX 44 macro
400 #define PF_MAX AF_MAX
/freebsd-14.2/sys/net/
H A Dif_private.h106 void *if_afdata[AF_MAX];
H A Droute.c521 for (i = 1; i <= AF_MAX; i++) { in rt_updatemtu()
H A Drtsock.c2584 if (af > AF_MAX) in sysctl_rtsock()
2608 lim = AF_MAX; in sysctl_rtsock()
/freebsd-14.2/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-14.2/usr.bin/logger/
H A Dlogger.c253 struct sockaddr_storage *ss_src[AF_MAX]; in socksetup()
/freebsd-14.2/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-14.2/sys/kern/
H A Dvfs_export.c164 if (saddr->sa_family == AF_UNSPEC || saddr->sa_family > AF_MAX) { in vfs_hang_addrlist()
H A Duipc_syscalls.c1538 if (sa->sa_family == 0 && sa->sa_len < AF_MAX && in sockargs()
1564 if (sa->sa_family == 0 && sa->sa_len < AF_MAX && in getsockaddr()
/freebsd-14.2/sbin/ifconfig/
H A Difconfig.c972 uint8_t afmask[howmany(AF_MAX, NBBY)]; in af_other_status()
989 uint8_t afmask[howmany(AF_MAX, NBBY)]; in af_all_tunnel_status()
/freebsd-14.2/sys/netlink/route/
H A Drt.c592 for (int i = 0; i < AF_MAX; i++) { in dump_rtable_fib()
/freebsd-14.2/contrib/sendmail/include/sm/
H A Dconf.h1890 # define AF_MAX AF_INET macro

12