/freebsd-current/usr.sbin/autofs/ |
H A D | autounmountd.c | 63 struct automounted_fs *af; local 65 TAILQ_FOREACH(af, &automounted, af_next) { 66 if (fsidcmp(&af->af_fsid, &fsid) == 0) 67 return (af); 76 struct automounted_fs *af; local 78 af = calloc(1, sizeof(*af)); 79 if (af == NULL) 81 af->af_mount_time = time(NULL); 82 af 91 automounted_remove(struct automounted_fs *af) argument 101 struct automounted_fs *af, *tmpaf; local 181 struct automounted_fs *af, *tmpaf; local [all...] |
/freebsd-current/lib/libthr/thread/ |
H A D | thr_fork.c | 85 struct pthread_atfork *af; local 89 if ((af = malloc(sizeof(struct pthread_atfork))) == NULL) 93 af->prepare = prepare; 94 af->parent = parent; 95 af->child = child; 98 TAILQ_INSERT_TAIL(&_thr_atfork_list, af, qe); 109 struct pthread_atfork *af, *af1; local 116 TAILQ_FOREACH_SAFE(af, &_thr_atfork_list, qe, af1) { 117 if (__elf_phdr_match_addr(phdr_info, af->prepare) || 118 __elf_phdr_match_addr(phdr_info, af 149 struct pthread_atfork *af; local [all...] |
/freebsd-current/lib/msun/tests/ |
H A D | nan_test.c | 50 float af[4]; local 60 bzero(&af[i], sizeof(float)); 65 af[0] = nanf(nan_format); 66 ATF_REQUIRE(isnan(af[0])); 67 af[1] = strtof(nan_str, &end); 69 ATF_REQUIRE(sscanf(nan_str, "%e", &af[2]) == 1); 70 ATF_REQUIRE(memcmp(&af[0], &af[1], sizeof(float)) == 0); 71 ATF_REQUIRE(memcmp(&af[1], &af[ [all...] |
/freebsd-current/contrib/ntp/libntp/lib/isc/include/isc/ |
H A D | netscope.h | 39 isc_netscope_pton(int af, char *scopename, void *addr, isc_uint32_t *zoneid);
|
/freebsd-current/contrib/tcpdump/ |
H A D | print-enc.c | 35 #include "af.h" 79 nd_uint32_t af; member in struct:enchdr 103 u_int af, flags; local 129 UNALIGNED_MEMCPY(&af, &hdr->af, sizeof (af)); 131 if ((af & 0xFFFF0000) != 0) { 132 af = SWAPLONG(af); 148 switch (af) { [all...] |
/freebsd-current/crypto/heimdal/lib/roken/ |
H A D | getipnodebyname.c | 43 * lookup `name' (address family `af') in DNS and return a pointer 48 getipnodebyname (const char *name, int af, int flags, int *error_num) argument 53 tmp = gethostbyname2 (name, af); 55 if (af != AF_INET) {
|
H A D | getipnodebyaddr.c | 39 * lookup `src, len' (address family `af') in DNS and return a pointer 44 getipnodebyaddr (const void *src, size_t len, int af, int *error_num) argument 48 tmp = gethostbyaddr (src, len, af);
|
H A D | inet_pton.c | 41 inet_pton(int af, const char *csrc, void *dst) argument 50 switch (af) { 107 inet_pton(int af, const char *src, void *dst) argument 109 if (af != AF_INET) {
|
/freebsd-current/contrib/wpa/src/utils/ |
H A D | ip_addr.c | 20 if (addr->af == AF_INET) { 26 if (addr->af == AF_INET6) { 40 addr->af = AF_INET; 46 addr->af = AF_INET6;
|
H A D | ip_addr.h | 13 int af; /* AF_INET / AF_INET6 */ member in struct:hostapd_ip_addr
|
/freebsd-current/sys/net/ |
H A D | if_enc.h | 37 uint8_t af; member in struct:ipsec_ctx_data
|
/freebsd-current/crypto/openssh/openbsd-compat/ |
H A D | bindresvport.c | 56 int error, af; local 73 af = sa->sa_family; 76 af = sa->sa_family; 78 if (af == AF_INET) { 82 } else if (af == AF_INET6) { 90 sa->sa_family = af;
|
H A D | rresvport.c | 58 rresvport_af(int *alport, sa_family_t af) argument 69 switch (af) { 82 sa->sa_family = af; 84 s = socket(af, SOCK_STREAM, 0); 99 sa->sa_family = af;
|
/freebsd-current/contrib/netbsd-tests/lib/libc/net/ |
H A D | h_hostent.c | 57 const int af = h->h_length == NS_INADDRSZ ? AF_INET : AF_INET6; local 68 printf("%s%s", i == 0 ? "" : " ", inet_ntop(af, 115 int c, af, e, byaddr, len; local 120 af = AF_INET; 128 while ((c = getopt(argc, argv, "46af:r:t:")) != -1) { 131 af = AF_INET; 134 af = AF_INET6; 179 af = strchr(*argv, ':') ? AF_INET6 : AF_INET; 180 len = af == AF_INET ? NS_INADDRSZ : NS_IN6ADDRSZ; 181 if (inet_pton(af, *arg [all...] |
/freebsd-current/contrib/ntp/libntp/ |
H A D | is_ip_address.c | 29 u_short af, 54 if (AF_UNSPEC == af || AF_INET == af) 62 if (AF_UNSPEC == af || AF_INET6 == af) 27 is_ip_address( const char * host, u_short af, sockaddr_u * addr ) argument
|
/freebsd-current/crypto/openssh/ |
H A D | addr.c | 36 addr_unicast_masklen(int af) argument 38 switch (af) { 49 masklen_valid(int af, u_int masklen) argument 51 switch (af) { 71 switch (xa->af) { 121 xa->af = AF_INET; 127 xa->af = AF_INET6; 148 switch (n->af) { 162 * Calculate a netmask of length 'l' for address family 'af' and 167 addr_netmask(int af, u_in argument 196 addr_hostmask(int af, u_int l, struct xaddr *n) argument [all...] |
/freebsd-current/lib/libc/net/ |
H A D | gethostbynis.c | 51 _gethostbynis(const char *name, char *map, int af, struct hostent *he, argument 62 switch(af) { 101 switch (af) { 109 af = AF_INET6; 114 addrok = inet_pton(af, result, hed->host_addr); 123 he->h_addrtype = af; 164 _gethostbynisname_r(const char *name, int af, struct hostent *he, argument 169 switch (af) { 177 return (_gethostbynis(name, map, af, he, hed)); 181 _gethostbynisaddr_r(const void *addr, socklen_t len, int af, argument 206 int af; local 255 int af; local [all...] |
/freebsd-current/tests/sys/cddl/zfs/tests/acl/trivial/ |
H A D | zfs_acl_find_001_pos.ksh | 81 typeset af=attribute.$j 83 -xattr -exec runat {} ls $af \\\;) 84 if [[ $fa != $af ]]; then
|
/freebsd-current/lib/libc/resolv/ |
H A D | res_private.h | 8 int af; member in struct:__res_state_ext::sort_list
|
/freebsd-current/lib/libc/rpc/ |
H A D | bindresvport.c | 70 int old, error, af; local 87 af = sa->sa_family; 90 af = sa->sa_family; 92 switch (af) { 115 sa->sa_family = af;
|
/freebsd-current/sys/netpfil/pf/ |
H A D | pf_lb.c | 85 struct pf_poolhashkey *key, sa_family_t af) 89 switch (af) { 155 else if (r->af && r->af != pd->af) 159 else if (PF_MISMATCHAW(&src->addr, saddr, pd->af, 168 PF_MISMATCHAW(&dst->addr, daddr, pd->af, dst->neg, NULL, 171 else if (xdst != NULL && PF_MISMATCHAW(xdst, daddr, pd->af, 216 pf_get_sport(sa_family_t af, u_int8_t proto, struct pf_krule *r, argument 225 if (pf_map_addr(af, 84 pf_hash(struct pf_addr *inaddr, struct pf_addr *hash, struct pf_poolhashkey *key, sa_family_t af) argument 316 pf_get_mape_sport(sa_family_t af, u_int8_t proto, struct pf_krule *r, struct pf_addr *saddr, uint16_t sport, struct pf_addr *daddr, uint16_t dport, struct pf_addr *naddr, uint16_t *nport, struct pf_ksrc_node **sn) argument 352 pf_map_addr(sa_family_t af, struct pf_krule *r, struct pf_addr *saddr, struct pf_addr *naddr, struct pfi_kkif **nkif, struct pf_addr *init_addr, struct pf_ksrc_node **sn) argument 489 pf_hash(saddr, (struct pf_addr *)&hash, &rpool->key, af); local [all...] |
/freebsd-current/sbin/pfctl/ |
H A D | pf_print_state.c | 56 print_addr(struct pf_addr_wrap *addr, sa_family_t af, int verbose) argument 90 if (inet_ntop(af, &addr->v.a.addr, buf, sizeof(buf)) == NULL) 94 if (inet_ntop(af, &addr->v.a.mask, buf, sizeof(buf)) == NULL) 107 if (inet_ntop(af, &addr->v.a.addr, buf, 129 int bits = unmask(&addr->v.a.mask, af); 131 if (bits != (af == AF_INET ? 32 : 128)) 137 print_name(struct pf_addr *addr, sa_family_t af) argument 142 switch (af) { 170 print_host(struct pf_addr *addr, u_int16_t port, sa_family_t af, int opts) argument 173 print_name(addr, af); 244 sa_family_t af; local 449 unmask(struct pf_addr *m, sa_family_t af) argument [all...] |
/freebsd-current/usr.bin/netstat/ |
H A D | main.c | 233 static int af; /* address family */ variable 248 af = AF_UNSPEC; 259 af = AF_INET; 266 af = AF_INET6; 300 af = AF_INET; 303 af = AF_INET6; 307 af = PF_KEY; 311 af = AF_UNIX; 315 af = AF_NETGRAPH; 318 af [all...] |
/freebsd-current/contrib/unbound/ipset/ |
H A D | ipset.c | 61 static int add_to_ipset(struct mnl_socket *mnl, const char *setname, const void *ipaddr, int af) { argument 71 if (af != AF_INET && af != AF_INET6) { 81 nfg->nfgen_family = af; 89 mnl_attr_put(nlh, (af == AF_INET ? IPSET_ATTR_IPADDR_IPV4 : IPSET_ATTR_IPADDR_IPV6) 90 | NLA_F_NET_BYTEORDER, (af == AF_INET ? sizeof(struct in_addr) : sizeof(struct in6_addr)), ipaddr); 102 struct packed_rrset_data *d, const char* setname, int af, 115 if(af == AF_INET && rd_len != INET_SIZE) 117 if(af == AF_INET6 && rd_len != INET6_SIZE) 122 if(inet_ntop(af, rr_dat 101 ipset_add_rrset_data(struct ipset_env *ie, struct mnl_socket *mnl, struct packed_rrset_data *d, const char* setname, int af, const char* dname) argument 139 ipset_check_zones_for_rrset(struct module_env *env, struct ipset_env *ie, struct mnl_socket *mnl, struct ub_packed_rrset_key *rrset, const char *qname, const int qlen, const char *setname, int af) argument 185 int af; local [all...] |
/freebsd-current/contrib/ntp/libntp/lib/isc/ |
H A D | netscope.c | 33 isc_netscope_pton(int af, char *scopename, void *addr, isc_uint32_t *zoneid) { argument 43 if (af != AF_INET6)
|