Searched refs:af (Results 151 - 175 of 234) sorted by relevance

12345678910

/freebsd-10.0-release/lib/libfetch/
H A Dftp.c956 int af = AF_UNSPEC; local
958 int af = AF_INET; local
964 af = AF_INET;
966 af = AF_INET6;
974 conn = fetch_connect(purl->host, purl->port, af, verbose);
977 conn = fetch_connect(url->host, url->port, af, verbose);
H A Dcommon.c246 fetch_bind(int sd, int af, const char *addr) argument
252 hints.ai_family = af;
268 fetch_connect(const char *host, int port, int af, int verbose) argument
284 hints.ai_family = af;
H A Dhttp.c1379 int af, val; local
1382 af = AF_UNSPEC;
1384 af = AF_INET;
1389 af = AF_INET;
1392 af = AF_INET6;
1397 if ((conn = fetch_connect(curl->host, curl->port, af, verbose)) == NULL)
/freebsd-10.0-release/libexec/ftpd/
H A Dftpd.c2458 int alen, af, i;
2465 af = 4;
2471 af = 6;
2474 af = 0;
2477 if (af) {
2479 af, alen);
2489 int af;
2493 af = 1;
2496 af = 2;
2499 af
[all...]
/freebsd-10.0-release/contrib/tcpdump/
H A Dprint-rsvp.c38 #include "af.h"
1170 int subobj_type,af,subobj_len,total_subobj_len; local
1182 af = (EXTRACT_16BITS(obj_tptr+2))&0x00FF;
1188 tok2str(af_values, "Unknown", af), af,
1195 switch(af) {
/freebsd-10.0-release/sbin/mount_nfs/
H A Dmount_nfs.c81 /* Table for af,sotype -> netid conversions. */
84 int af; member in struct:nc_protos
139 static const char *netidbytype(int af, int sotype);
884 "af %d sotype %d not supported", ai->ai_family, sotype);
899 "af %d sotype SOCK_DGRAM not supported",
1108 * `af' is the address family, and `sotype' is SOCK_DGRAM or SOCK_STREAM.
1113 netidbytype(int af, int sotype) argument
1118 if (af != p->af || sotype != p->sotype)
/freebsd-10.0-release/sys/netinet6/
H A Dudp6_usrreq.c609 int af = AF_INET6, hlen = sizeof(struct ip6_hdr); local
695 af = AF_INET;
741 af = AF_INET;
748 if (af == AF_INET)
773 switch (af) {
/freebsd-10.0-release/sys/netipsec/
H A Dipsec_output.c274 int af,
291 IPSEC_ASSERT(af == AF_INET || af == AF_INET6,
292 ("invalid address family %u", af));
302 if (af == AF_INET) {
271 ipsec_nextisr( struct mbuf *m, struct ipsecrequest *isr, int af, struct secasindex *saidx, int *error ) argument
/freebsd-10.0-release/usr.sbin/faithd/
H A Dftp.c713 unsigned int af, hal, ho[16], pal, po[2]; local
801 &af, &hal, &ho[0], &ho[1], &ho[2], &ho[3],
806 if (n != 21 || af != 6 || hal != 16|| pal != 2) {
939 n = sscanf(afp, "%d", &af);
940 if (n != 1 || af != 2) {
/freebsd-10.0-release/sys/dev/ppbus/
H A Dif_plip.c522 u_int32_t af = AF_INET; local
524 bpf_mtap2(ifp->if_bpf, &af, sizeof(af), m);
/freebsd-10.0-release/sys/netinet/
H A Dsctp_os_bsd.h330 #define SCTP_GATHER_MTU_FROM_IFN_INFO(ifn, ifn_index, af) ((struct ifnet *)ifn)->if_mtu
339 #define SCTP_REGISTER_INTERFACE(ifhandle, af)
340 #define SCTP_DEREGISTER_INTERFACE(ifhandle, af)
/freebsd-10.0-release/contrib/binutils/gas/
H A Dapp.c666 /* We have seen "af" at the start of a symbol,
1261 /* "af'" is a symbol containing '\''. */
/freebsd-10.0-release/lib/libc/net/
H A Dgetaddrinfo.c1509 find_afd(int af) argument
1513 if (af == PF_UNSPEC)
1516 if (afd->a_af == af)
1534 int s, af; local
1543 af = pai->ai_family;
1544 if (af == AF_UNSPEC) {
1546 af = AF_INET;
1551 af = AF_INET6;
1556 if (af != AF_UNSPEC) {
1557 if ((s = _socket(af, SOCK_DGRA
[all...]
/freebsd-10.0-release/usr.sbin/ppp/
H A Dbundle.c537 u_int32_t af; local
580 af = ntohl(tun.header.family);
582 if (af != AF_INET && af != AF_INET6)
584 if (af != AF_INET)
589 af = AF_INET;
591 if (af == AF_INET && ((struct ip *)tun.data)->ip_dst.s_addr ==
595 pri = PacketCheck(bundle, af, tun.data, n, &bundle->filter.in,
617 pri = PacketCheck(bundle, af, tun.data, n, &bundle->filter.dial,
633 pri = PacketCheck(bundle, af, tu
[all...]
H A Dip.c906 ip_Input(struct bundle *bundle, struct link *l, struct mbuf *bp, u_int32_t af) argument
924 if (PacketCheck(bundle, af, tun.data, nb, &bundle->filter.in,
929 if (!FilterCheck(tun.data, af, &bundle->filter.alive, &alivesecs)) {
936 tun.header.family = htonl(af);
/freebsd-10.0-release/contrib/lukemftpd/src/
H A Dftpd.c308 sa_family_t af = AF_UNSPEC; local
342 af = AF_INET;
346 af = AF_INET6;
509 hints.ai_family = af;
2514 int ispassive, af; local
2593 af = 4;
2600 af = 6;
2604 af = 0;
2607 if (af) {
2609 ispassive ? "LPSV" : "LPRT", af, ale
3043 af2lpsvproto(int af) argument
3075 af2epsvproto(int af) argument
[all...]
/freebsd-10.0-release/contrib/ntp/libisc/
H A Difiter_ioctl.c414 iter->current.af = iter->clua_sa.sa_family;
489 iter->current.af = AF_INET6;
590 iter->current.af = family;
804 iter->current.af = family;
H A Difiter_sysctl.c252 iter->current.af = family;
/freebsd-10.0-release/contrib/unbound/
H A Dconfig.h.in765 int inet_pton(int af, const char* src, void* dst);
771 const char *inet_ntop(int af, const void *src, char *dst, size_t size);
/freebsd-10.0-release/sbin/pfctl/
H A Dpfctl_parser.h118 sa_family_t af; member in struct:node_host
/freebsd-10.0-release/usr.sbin/bsnmpd/tools/libbsnmptools/
H A Dbsnmptc.c1141 int af; local
1153 af = AF_INET;
1160 af = AF_INET6;
1168 if (inet_ntop(af, ip, buf, SNMP_INADDRS_STRSZ) == NULL) {
/freebsd-10.0-release/usr.sbin/tcpdump/tcpdump/
H A DMakefile11 af.c \
/freebsd-10.0-release/contrib/tnftp/src/
H A Dftp.c1208 unsigned int af, hal, pal; local
1381 &af, &hal,
1390 if (af != 4 || hal != 4 || pal != 2) {
1409 &af, &hal,
1422 if (af != 6 || hal != 16 || pal != 2) {
1557 af = (data_addr.su_family == AF_INET) ? 1 : 2;
1571 result = command("EPRT |%u|%s|%s|", af, hname,
/freebsd-10.0-release/crypto/heimdal/lib/roken/
H A Dgetifaddrs.c871 int af, int siocgifconf, int siocgifflags,
888 fd = socket(af, SOCK_DGRAM, 0);
1013 int af, int siocgifconf, int siocgifflags,
1030 fd = socket(af, SOCK_DGRAM, 0);
1042 ifconf.lifc_family = af;
870 getifaddrs2(struct ifaddrs **ifap, int af, int siocgifconf, int siocgifflags, size_t ifreq_sz) argument
1012 getlifaddrs2(struct ifaddrs **ifap, int af, int siocgifconf, int siocgifflags, size_t ifreq_sz) argument
/freebsd-10.0-release/sys/contrib/altq/altq/
H A Daltq_cdnr.c133 altq_cdnr_input(m, af)
135 int af; /* address family */
153 if (af == AF_INET6) {
165 cb = acc_classify(&top->tc_classifier, m, af);
185 if (af == AF_INET6) {

Completed in 268 milliseconds

12345678910