/freebsd/contrib/netbsd-tests/lib/libc/net/getaddrinfo/ |
H A D | no_host_v4v6.exp | 1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv http 2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http 3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http 4 ai3: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http 5 ai4: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http 7 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv echo 8 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv echo 9 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv echo 10 ai3: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv echo 11 ai4: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv echo [all …]
|
H A D | basics_v4v6.exp | 1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv http 2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http 3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http 5 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host 127.0.0.1 serv http 6 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http 7 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http 9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host localhost serv http 10 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http 11 ai2: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http 12 ai3: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http [all …]
|
H A D | no_host_v4.exp | 1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv http 2 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http 3 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http 5 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv echo 6 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv echo 7 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv echo 9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv tftp 10 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv tftp 11 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv tftp 13 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv 80 [all …]
|
H A D | basics_v4.exp | 1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv http 2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http 3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http 5 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host 127.0.0.1 serv http 6 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http 7 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http 9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host localhost serv http 10 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http 11 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http 13 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv tftp [all …]
|
H A D | no_serv_v4v6.exp | 1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv (empty) 2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv 0 3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv 0 5 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host 127.0.0.1 serv (empty) 6 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv 0 7 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv 0 9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host localhost serv (empty) 10 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv 0 11 ai2: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv 0 12 ai3: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv 0 [all …]
|
H A D | no_serv_v4.exp | 1 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host ::1 serv (empty) 2 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv 0 3 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv 0 5 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host 127.0.0.1 serv (empty) 6 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv 0 7 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv 0 9 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host localhost serv (empty) 10 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv 0 11 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv 0 13 arg: flags 0x2 family 0 socktype 0 protocol 0 addrlen 0 host (empty) serv (empty)
|
H A D | sock_raw_v4v6.exp | 1 arg: flags 0x2 family 0 socktype 3 protocol 0 addrlen 0 host localhost serv (empty) 2 ai1: flags 0x2 family 24 socktype 3 protocol 0 addrlen 28 host ::1 serv 0 3 ai2: flags 0x2 family 2 socktype 3 protocol 0 addrlen 16 host 127.0.0.1 serv 0 5 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv (empty) 6 ai1: flags 0x2 family 24 socktype 3 protocol 59 addrlen 28 host ::1 serv 0 7 ai2: flags 0x2 family 2 socktype 3 protocol 59 addrlen 16 host 127.0.0.1 serv 0 9 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv 80 11 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv www 13 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host ::1 serv (empty) 14 ai1: flags 0x2 family 24 socktype 3 protocol 59 addrlen 28 host ::1 serv 0
|
H A D | sock_raw_v4.exp | 1 arg: flags 0x2 family 0 socktype 3 protocol 0 addrlen 0 host localhost serv (empty) 2 ai1: flags 0x2 family 2 socktype 3 protocol 0 addrlen 16 host 127.0.0.1 serv 0 4 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv (empty) 5 ai1: flags 0x2 family 2 socktype 3 protocol 59 addrlen 16 host 127.0.0.1 serv 0 7 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv 80 9 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host localhost serv www 11 arg: flags 0x2 family 0 socktype 3 protocol 59 addrlen 0 host ::1 serv (empty) 12 ai1: flags 0x2 family 24 socktype 3 protocol 59 addrlen 28 host ::1 serv 0
|
H A D | spec_fam_v4v6.exp | 1 arg: flags 0x2 family 2 socktype 0 protocol 0 addrlen 0 host localhost serv http 2 ai1: flags 0x2 family 2 socktype 2 protocol 17 addrlen 16 host 127.0.0.1 serv http 3 ai2: flags 0x2 family 2 socktype 1 protocol 6 addrlen 16 host 127.0.0.1 serv http 5 arg: flags 0x2 family 24 socktype 0 protocol 0 addrlen 0 host localhost serv http 6 ai1: flags 0x2 family 24 socktype 2 protocol 17 addrlen 28 host ::1 serv http 7 ai2: flags 0x2 family 24 socktype 1 protocol 6 addrlen 28 host ::1 serv http
|
/freebsd/contrib/tcpdump/ |
H A D | print-null.c | 55 null_hdr_print(netdissect_options *ndo, uint32_t family, u_int length) in null_hdr_print() argument 59 tok2str(bsd_af_values,"Unknown",family),family); in null_hdr_print() 62 tok2str(bsd_af_values,"Unknown AF %u",family)); in null_hdr_print() 79 uint32_t family; in null_if_print() local 85 family = GET_HE_U_4(p); in null_if_print() 95 if ((family & 0xFFFF0000) != 0) in null_if_print() 96 family = SWAPLONG(family); in null_if_print() 99 null_hdr_print(ndo, family, length); in null_if_print() 105 switch (family) { in null_if_print() 132 null_hdr_print(ndo, family, length + NULL_HDRLEN); in null_if_print()
|
H A D | print-rip.c | 191 u_short family; in rip_entry_print_v1() local 198 family = GET_BE_U_2(ni->rip_family); in rip_entry_print_v1() 199 if (family != BSD_AFNUM_INET && family != 0) { in rip_entry_print_v1() 200 ND_PRINT("\n\t AFI %s, ", tok2str(bsd_af_values, "Unknown (%u)", family)); in rip_entry_print_v1() 211 if (family == 0) { in rip_entry_print_v1() 230 u_short family; in rip_entry_print_v2() local 236 family = GET_BE_U_2(eh->rip_family); in rip_entry_print_v2() 237 if (family == 0xFFFF) { /* variable-sized authentication structures */ in rip_entry_print_v2() 271 } else if (family != BSD_AFNUM_INET && family != 0) { in rip_entry_print_v2() 272 ND_PRINT("\n\t AFI %s", tok2str(bsd_af_values, "Unknown (%u)", family)); in rip_entry_print_v2() [all …]
|
/freebsd/contrib/ntp/libntp/lib/isc/ |
H A D | netaddr.c | 40 if (a->family != b->family) in isc_netaddr_equal() 46 switch (a->family) { in isc_netaddr_equal() 80 if (a->family != b->family) in isc_netaddr_eqprefix() 86 switch (a->family) { in isc_netaddr_eqprefix() 138 switch (netaddr->family) { in isc_netaddr_totext() 158 r = inet_ntop(netaddr->family, type, abuf, sizeof(abuf)); in isc_netaddr_totext() 166 if (netaddr->family == AF_INET6 && netaddr->zone != 0) { in isc_netaddr_totext() 209 na->family); in isc_netaddr_format() 221 switch (na->family) { in isc_netaddr_prefixok() 254 switch (s->family) { in isc_netaddr_masktoprefixlen() [all …]
|
/freebsd/contrib/sendmail/libmilter/ |
H A D | sm_gethost.c | 46 sm_getipnodebyname(name, family, flags, err) in sm_getipnodebyname() argument 48 int family; 55 h = gethostbyname2(name, family); 64 if (family == AF_INET6) 79 if (h != NULL && h->h_addrtype != family) 109 mi_gethostbyname(name, family) in mi_gethostbyname() argument 111 int family; 141 h = sm_getipnodebyname(name, family, flags, &err); 150 if (h != NULL && h->h_addrtype != family) 179 mi_inet_pton(family, src, dst) in mi_inet_pton() argument [all …]
|
/freebsd/contrib/processor-trace/libipt/src/ |
H A D | pt_cpu.c | 96 long family, model, stepping; in pt_cpu_parse() local 101 family = strtol(s, &endptr, 0); in pt_cpu_parse() 105 if (family < 0 || family > USHRT_MAX) in pt_cpu_parse() 134 cpu->family = (uint16_t) family; in pt_cpu_parse() 144 uint16_t family; in pt_cpu_read() local 153 cpu->family = family = (info>>8) & 0xf; in pt_cpu_read() 154 if (family == 0xf) in pt_cpu_read() 155 cpu->family += (info>>20) & 0xf; in pt_cpu_read() 158 if (family == 0x6 || family == 0xf) in pt_cpu_read()
|
/freebsd/contrib/netbsd-tests/net/net/ |
H A D | t_udp.c | 17 sendit(int family) in sendit() argument 26 hints.ai_family = family; in sendit() 32 ATF_REQUIRE_MSG(e == 0, "getaddrinfo AF=%d: %s", family, in sendit() 37 ATF_REQUIRE_MSG(S >= 0, "server-socket AF=%d: %s", family, in sendit() 41 ATF_REQUIRE_MSG(e == 0, "bind AF=%d: %s", family, in sendit() 46 ATF_REQUIRE_MSG(s >= 0, "client-socket AF=%d: %s", family, in sendit() 51 ATF_REQUIRE_MSG(e == sizeof(msg), "sendto(1) AF=%d: %s", family, in sendit() 55 ATF_REQUIRE_MSG(e == sizeof(msg), "sendto(2) AF=%d: %s", family, in sendit() 60 ATF_REQUIRE_MSG(e == 0, "connect(1) AF=%d: %s", family, in sendit() 64 ATF_REQUIRE_MSG(e == sizeof(msg), "send(1) AF=%d: %s", family, in sendit() [all …]
|
/freebsd/sys/net/route/ |
H A D | route_tables.c | 224 int family; in grow_rtables() local 251 family = dom->dom_family; in grow_rtables() 253 prnh = &new_rt_tables[i * (AF_MAX + 1) + family]; in grow_rtables() 325 int family; in rtables_destroy() local 331 family = dom->dom_family; in rtables_destroy() 333 rnh = rt_tables_get_rnh(i, family); in rtables_destroy() 360 rt_tables_get_rnh_ptr(uint32_t table, sa_family_t family) in rt_tables_get_rnh_ptr() argument 367 KASSERT(family < (AF_MAX + 1), in rt_tables_get_rnh_ptr() 368 ("%s: fam out of bounds (%d < %d)", __func__, family, AF_MAX + 1)); in rt_tables_get_rnh_ptr() 373 prnh += table * (AF_MAX + 1) + family; in rt_tables_get_rnh_ptr() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/arm/omap/ |
H A D | l4.txt | 6 - compatible : Should be "ti,omap2-l4" for OMAP2 family l4 core bus 7 Should be "ti,omap2-l4-wkup" for OMAP2 family l4 wkup bus 8 Should be "ti,omap3-l4-core" for OMAP3 family l4 core bus 9 Should be "ti,omap4-l4-cfg" for OMAP4 family l4 cfg bus 10 Should be "ti,omap4-l4-per" for OMAP4 family l4 per bus 11 Should be "ti,omap4-l4-wkup" for OMAP4 family l4 wkup bus 12 Should be "ti,omap5-l4-cfg" for OMAP5 family l4 cfg bus 13 Should be "ti,omap5-l4-wkup" for OMAP5 family l4 wkup bus 14 Should be "ti,dra7-l4-cfg" for DRA7 family l4 cfg bus 15 Should be "ti,dra7-l4-wkup" for DRA7 family l4 wkup bus [all …]
|
/freebsd/sbin/ipf/libipf/ |
H A D | printaddr.c | 12 printaddr(int family, int type, char *base, int ifidx, u_32_t *addr, in printaddr() argument 25 printmask(family, mask); in printaddr() 48 printhostmask(family, addr, mask); in printaddr() 52 printhost(family, addr); in printaddr() 54 printhost(family, mask); in printaddr() 58 printhost(family, addr); in printaddr() 60 printhost(family, mask); in printaddr() 65 printmask(family, mask); in printaddr()
|
H A D | alist_new.c | 13 alist_new(int family, char *host) in alist_new() argument 20 if (family == AF_UNSPEC) { in alist_new() 22 family = AF_INET6; in alist_new() 24 family = AF_INET; in alist_new() 26 if (family != AF_INET && family != AF_INET6) in alist_new() 52 if (family == AF_INET) { in alist_new() 80 if (gethost(family, host, &al->al_i6addr) == -1) { in alist_new() 86 al->al_family = family; in alist_new()
|
H A D | printfraginfo.c | 16 int family; in printfraginfo() local 21 family = AF_INET6; in printfraginfo() 24 family = AF_INET; in printfraginfo() 27 PRINTF(" %s -> ", hostname(family, &ifr->ipfr_src)); in printfraginfo() 29 hostname(family, &ifr->ipfr_dst), ifr->ipfr_id, in printfraginfo()
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | getaddrinfo.c | 190 int family = PF_UNSPEC; in get_null() local 194 family = hints->ai_family; in get_null() 209 if (family == PF_INET6 || family == PF_UNSPEC) { in get_null() 216 if (family == PF_INET || family == PF_UNSPEC) { in get_null() 280 int family = PF_UNSPEC; in get_number() local 284 family = hints->ai_family; in get_number() 288 if (family == PF_INET6 || family == PF_UNSPEC) { in get_number() 299 if (family == PF_INET || family == PF_UNSPEC) { in get_number() 320 int family = PF_UNSPEC; in get_nodes() local 326 family = hints->ai_family; in get_nodes() [all …]
|
/freebsd/tests/sys/net/routing/ |
H A D | test_routing_l3.py | 23 def test_change_prefix_route(self, family): argument 28 if family == "inet": 39 routes = ToolsHelper.get_routes(family) 46 routes = ToolsHelper.get_routes(family) 58 def test_change_prefix_route_same_iface(self, family): argument 63 if family == "inet": 74 routes = ToolsHelper.get_routes(family) 81 routes = ToolsHelper.get_routes(family) 85 nhops = ToolsHelper.get_nhops(family) 93 def test_add_direct_route_p2p_wo_ifa(self, family): argument [all …]
|
/freebsd/sys/netlink/route/ |
H A D | neigh.c | 65 int family; member 72 lle_state_to_nl_state(int family, struct llentry *lle) in lle_state_to_nl_state() argument 76 switch (family) { in lle_state_to_nl_state() 157 ndm->ndm_family = wa->family; in dump_lle_locked() 159 ndm->ndm_state = lle_state_to_nl_state(wa->family, lle); in dump_lle_locked() 162 switch (wa->family) { in dump_lle_locked() 228 dump_llts_iface(struct netlink_walkargs *wa, if_t ifp, int family) in dump_llts_iface() argument 236 if (llt != NULL && (family == 0 || family == fam)) { in dump_llts_iface() 238 wa->family = fam; in dump_llts_iface() 250 dump_llts(struct netlink_walkargs *wa, if_t ifp, int family) in dump_llts() argument [all …]
|
/freebsd/usr.bin/genl/ |
H A D | genl.c | 61 const char *family; member 185 dump_family(struct genl_family *family) in dump_family() argument 189 family->name, family->id, family->version, in dump_family() 190 family->hdrsize, family->max_attr); in dump_family() 191 dump_operations(&family->ops); in dump_family() 192 dump_mcast_groups(&family->mcast_groups); in dump_family() 198 struct genl_family family = {}; in parser_nlctrl_notify() local 201 &family)) in parser_nlctrl_notify() 202 dump_family(&family); in parser_nlctrl_notify() 269 if (strcmp(mcast_parsers[i].family, argv[0]) == 0) { in monitor_mcast() [all …]
|
/freebsd/contrib/ntp/libntp/lib/isc/unix/ |
H A D | ifiter_ioctl.c | 421 dst->family = AF_INET; in get_inaddr() 453 int family; in internal_current4() local 480 family = ifreq.ifr_addr.sa_family; in internal_current4() 482 if (family != AF_INET && family != AF_INET6) in internal_current4() 484 if (family != AF_INET) in internal_current4() 489 iter->current.af = family; in internal_current4() 495 get_addr(family, &iter->current.address, in internal_current4() 501 switch (family) { in internal_current4() 551 if (family == AF_INET) in internal_current4() 584 iter->current.netmask.family = family; in internal_current4() [all …]
|