/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 | 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 | 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_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
|
/freebsd/share/man/man4/ |
H A D | genetlink.4 | 39 is a "container" family, used for dynamic registration of other families 41 These subsystems provide a string family name during registration and 42 receive a dynamically-allocated family id. 43 Allocated family identifiers are then used by applications to get access to 45 There are standard methods for resolving string family names to family 53 uint8_t cmd; /* command within the family */ 58 The family id is encoded in the 63 field is the command identifier within the family. 68 The generic Netlink framework provides the base family, 70 ("nlctrl") with a fixed family id. [all …]
|
H A D | netintro.4 | 52 .Em protocol family . 53 A protocol family provides basic services to the protocol 59 A protocol family may support multiple 62 A protocol family is normally comprised of a number of protocols, one per 65 It is not required that a protocol family support all socket types. 66 A protocol family may contain multiple 72 socket of the appropriate type and protocol family, or 76 the design of the protocol family/network architecture. 121 information regarding the support for each protocol family. 123 Associated with each protocol family is an address [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/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) 78 /* the function is supposed to return only the requested family */ 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); 149 /* the function is supposed to return only the requested family */ [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() 208 "unknown address, family"), in isc_netaddr_format() 209 na->family); in isc_netaddr_format() 221 switch (na->family) { in isc_netaddr_prefixok() [all …]
|
/freebsd/tests/sys/net/routing/ |
H A D | test_routing_l3.py | 21 @pytest.mark.parametrize("family", ["inet", "inet6"]) 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) 51 "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) [all …]
|
/freebsd/contrib/tcpdump/ |
H A D | print-null.c | 36 * 32-bit integer that specifies the family, e.g. AF_INET. 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() [all …]
|
/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/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/ |
H A D | LVOptions.h | 30 #define BOOL_FUNCTION(FAMILY, FIELD) \ argument 31 bool get##FAMILY##FIELD() const { return FAMILY.FIELD; } \ 32 void set##FAMILY##FIELD() { FAMILY.FIELD = true; } \ 33 void reset##FAMILY##FIELD() { FAMILY.FIELD = false; } 36 #define UNSIGNED_FUNCTION(FAMILY, FIELD) \ argument 37 unsigned get##FAMILY##FIELD() const { return FAMILY.FIELD; } \ 38 void set##FAMILY##FIELD(unsigned Value) { FAMILY.FIELD = Value; } \ 39 void reset##FAMILY##FIELD() { FAMILY.FIELD = -1U; } 42 #define STD_STRING_FUNCTION(FAMILY, FIELD) \ argument 43 std::string get##FAMILY##FIELD() const { return FAMILY.FIELD; } \ [all …]
|
H A D | LVSupport.h | 51 // FAMILY: instance name. 55 #define BOOL_BIT(FAMILY, ENUM, FIELD) \ argument 56 bool get##FIELD() const { return FAMILY.get(ENUM::FIELD); } \ 57 void set##FIELD() { FAMILY.set(ENUM::FIELD); } \ 58 void reset##FIELD() { FAMILY.reset(ENUM::FIELD); } 60 #define BOOL_BIT_1(FAMILY, ENUM, FIELD, F1) \ argument 61 bool get##FIELD() const { return FAMILY.get(ENUM::FIELD); } \ 63 FAMILY.set(ENUM::FIELD); \ 66 void reset##FIELD() { FAMILY.reset(ENUM::FIELD); } 68 #define BOOL_BIT_2(FAMILY, ENUM, FIELD, F1, F2) \ 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/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()
|
/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() 379 rt_tables_get_rnh(uint32_t table,sa_family_t family) rt_tables_get_rnh() argument 386 rt_tables_get_rnh_safe(uint32_t table,sa_family_t family) rt_tables_get_rnh_safe() argument 396 rt_tables_get_gen(uint32_t table,sa_family_t family) rt_tables_get_gen() 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/tests/atf_python/sys/netlink/ |
H A D | netlink_route.py | 545 def __init__(self, nla_type, family, addr: str): argument 548 self.family = family 558 family = int(data_len[0]) 559 if family not in (socket.AF_INET, socket.AF_INET6): 562 nla_type, family 565 if family == socket.AF_INET: 578 if self.family == socket.AF_INET6: 585 nla_len, nla_type, family = struct.unpack("@HHB", data[:5]) 587 if family == socket.AF_INET: 588 addr = socket.inet_ntop(family, data[off:off + 4]) [all …]
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Host/ |
H A D | SocketAddress.h | 67 // Get the length for the current socket address family 73 // Get the socket address family 76 // Set the socket address family 77 void SetFamily(sa_family_t family); 82 // Get the port if the socket address for the family has a port 85 // Set the port if the socket address for the family has a port. The family 102 // Quick way to set the SocketAddress to localhost given the family. Returns 103 // true if successful, false if "family" doesn't support localhost or if 104 // "family" is not supported by this class. 105 bool SetToLocalhost(sa_family_t family, uint16_t port); [all …]
|