Searched refs:family (Results 1 - 25 of 262) sorted by relevance

1234567891011

/freebsd-head/contrib/ipfilter/lib/
H A Dfamilyname.c3 const char *familyname(int family) argument
5 if (family == AF_INET)
8 if (family == AF_INET6)
H A Dgeticmptype.c10 int geticmptype(family, name)
11 int family;
18 if (family == AF_INET)
21 if (family == AF_INET6)
H A Dicmptypename.c10 char *icmptypename(family, type)
11 int family, type;
19 if ((family == AF_INET) && (i->it_v4 == type))
22 if ((family == AF_INET6) && (i->it_v6 == type))
H A Dprinthost.c13 printhost(family, addr)
14 int family;
23 if ((family == -1) || !*addr)
29 PRINTF("%s", inet_ntop(family, ptr, ipbuf, sizeof(ipbuf)));
H A Dprinthostmask.c15 printhostmask(family, addr, mask)
16 int family;
25 if ((family == -1) || ((!addr || !*addr) && (!mask || !*mask)))
31 PRINTF("%s", inet_ntop(family, ptr, ipbuf, sizeof(ipbuf)));
37 printmask(family, mask);
H A Dntomask.c13 int ntomask(family, nbits, ap)
14 int family, nbits;
22 switch (family)
H A Dprintmask.c15 printmask(family, mask)
16 int family;
22 if (family == AF_INET6) {
H A Dprintfraginfo.c20 int family; local
25 family = AF_INET6;
28 family = AF_INET;
32 PRINTF(" %s -> ", hostname(family, &ifr->ipfr_src));
39 hostname(family, &ifr->ipfr_dst), ifr->ipfr_id,
H A Dprintip.c15 printip(family, addr)
16 int family;
21 if (family == AF_INET) {
29 else if (family == AF_INET6) {
42 PRINTF("?(%d)?", family);
H A Dalist_new.c13 alist_new(int family, char *host) argument
20 if (family == AF_UNSPEC) {
22 family = AF_INET6;
24 family = AF_INET;
26 if (family != AF_INET && family != AF_INET6)
52 if (family == AF_INET) {
80 if (gethost(family, host, &al->al_i6addr) == -1) {
86 al->al_family = family;
H A Dprintaddr.c12 printaddr(family, type, base, ifidx, addr, mask)
13 int family, type, ifidx;
27 printmask(family, mask);
50 printhostmask(family, addr, mask);
54 printhost(family, addr);
56 printhost(family, mask);
60 printhost(family, addr);
62 printhost(family, mask);
67 printmask(family, mask);
H A Dprint_toif.c15 print_toif(family, tag, base, fdp)
16 int family;
27 if (family == AF_INET6) {
H A Dhostname.c14 hostname(int family, void *ip) argument
23 if (family == AF_INET) {
30 if (family == AF_INET) {
49 if (family == AF_INET) {
/freebsd-head/contrib/tcpdump/
H A Dprint-null.c37 * 32-bit integer that specifies the family, e.g. AF_INET.
56 null_hdr_print(netdissect_options *ndo, u_int family, u_int length) argument
60 tok2str(bsd_af_values,"Unknown",family),family));
63 tok2str(bsd_af_values,"Unknown AF %u",family)));
80 u_int family; local
87 memcpy((char *)&family, (const char *)p, sizeof(family));
97 if ((family & 0xFFFF0000) != 0)
98 family
[all...]
/freebsd-head/contrib/sendmail/libmilter/
H A Dsm_gethost.c46 sm_getipnodebyname(name, family, flags, err)
48 int family;
55 if (family == AF_INET6)
63 if (family == AF_INET6 && !resv6)
66 /* the function is supposed to return only the requested family */
67 if (h != NULL && h->h_addrtype != family)
96 mi_gethostbyname(name, family)
98 int family;
128 h = sm_getipnodebyname(name, family, flags, &err);
136 /* the function is supposed to return only the requested family */
[all...]
/freebsd-head/usr.sbin/ppp/
H A Dtun.h33 u_int32_t family; member in union:tun_data::__anon3405
/freebsd-head/contrib/netbsd-tests/lib/libc/net/getaddrinfo/
H A Dbasics_v4.exp1 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
[all...]
H A Dspec_fam_v4v6.exp1 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
H A Dbasics_v4v6.exp1 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 2
[all...]
H A Dsock_raw_v4.exp1 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 Dspec_fam_v4.exp1 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
/freebsd-head/contrib/processor-trace/libipt/src/
H A Dpt_cpu.c96 long family, model, stepping; local
101 family = strtol(s, &endptr, 0);
105 if (family < 0 || family > USHRT_MAX)
134 cpu->family = (uint16_t) family;
144 uint16_t family; local
153 cpu->family = family = (info>>8) & 0xf;
154 if (family
[all...]
/freebsd-head/sys/contrib/octeon-sdk/
H A Docteon-model.c148 const char * family; local
230 /* Now figure out the family, the first two digits */
238 family = "37";
240 family = "36";
243 family = "38";
255 family = "30";
257 family = "31";
267 family = "30";
280 family = "58";
301 family
[all...]
/freebsd-head/contrib/netbsd-tests/net/net/
H A Dt_udp.c17 sendit(int family) argument
26 hints.ai_family = family;
32 ATF_REQUIRE_MSG(e == 0, "getaddrinfo AF=%d: %s", family,
37 ATF_REQUIRE_MSG(S >= 0, "server-socket AF=%d: %s", family,
41 ATF_REQUIRE_MSG(e == 0, "bind AF=%d: %s", family,
46 ATF_REQUIRE_MSG(s >= 0, "client-socket AF=%d: %s", family,
51 ATF_REQUIRE_MSG(e == sizeof(msg), "sendto(1) AF=%d: %s", family,
55 ATF_REQUIRE_MSG(e == sizeof(msg), "sendto(2) AF=%d: %s", family,
60 ATF_REQUIRE_MSG(e == 0, "connect(1) AF=%d: %s", family,
64 ATF_REQUIRE_MSG(e == sizeof(msg), "send(1) AF=%d: %s", family,
[all...]
/freebsd-head/contrib/ipfilter/
H A Dgenmask.c12 int genmask(family, msk, mskp)
13 int family;
24 switch (family)
46 switch (family)

Completed in 354 milliseconds

1234567891011