Searched defs:family (Results 201 - 225 of 361) sorted by relevance

1234567891011>>

/external/curl/lib/
H A Dconnect.c298 /* Signal the caller to try another address family if available */
305 infof(data, "Local Interface %s is ip %s using address family %i\n",
362 infof(data, "Name '%s' family %i resolved to '%s' family %i\n",
556 int family = AF_UNSPEC; local
559 /* find next address in the same protocol family */
560 family = conn->tempaddr[tempindex]->ai_family;
565 /* happy eyeballs - try the other protocol family */
567 family = (firstfamily == AF_INET) ? AF_INET6 : AF_INET;
574 /* we can safely skip addresses of the other protocol family */
[all...]
/external/deqp/framework/delibs/deutil/
H A DdeSocket.c52 const char* deGetSocketFamilyName (deSocketFamily family) argument
54 switch (family)
70 deSocketFamily family; member in struct:deSocketAddress_s
82 addr->family = DE_SOCKETFAMILY_INET4;
89 deBool deSocketAddress_setFamily (deSocketAddress* address, deSocketFamily family) argument
91 address->family = family;
97 return address->family;
244 static int deSocketFamilyToBsdFamily (deSocketFamily family) argument
246 switch (family)
[all...]
/external/dhcpcd-6.8.2/
H A Ddhcp-common.c732 dhcp_set_leasefile(char *leasefile, size_t len, int family, argument
744 family == AF_INET ? LEASEFILE : LEASEFILE6,
748 family == AF_INET ? LEASEFILE : LEASEFILE6,
H A Ddhcpcd.c422 * of the hardware address family and the hardware address.
432 switch (ifp->family) {
1437 uint16_t family = 0; local
1492 family = AF_INET;
1495 family = AF_INET6;
1566 if (family == 0 || family == AF_INET) {
1573 if (family == 0 || family == AF_INET6) {
1623 /* Allow a dhcpcd interface per address family */
[all...]
/external/dnsmasq/src/
H A Dforward.c25 static struct randfd *allocate_rfd(int family);
471 void reply_query(int fd, int family, time_t now) argument
487 serveraddr.sa.sa_family = family;
606 if (listen->family == AF_INET && (daemon->options & OPT_NOWILD))
636 source_addr.sa.sa_family = listen->family;
638 if (listen->family == AF_INET6)
650 if (listen->family == AF_INET)
658 if (listen->family == AF_INET)
673 if (listen->family == AF_INET6)
687 !iface_check(listen->family,
918 allocate_rfd(int family) argument
[all...]
H A Dnetwork.c51 int iface_check(int family, struct all_addr *addr, char *name, int *indexp) argument
99 if (addr && tmp->addr.sa.sa_family == family)
101 if (family == AF_INET &&
105 else if (family == AF_INET6 &&
323 l->family = AF_INET6;
391 l->family = AF_INET;
421 new->family = iface->addr.sa.sa_family;
523 my_syslog(LOG_INFO, _("Closing wildcard listener family=%d"), listener->family);
565 // Wildcard listener. There is one of these per address family
656 random_sock(int family) argument
[all...]
H A Dutil.c329 int parse_addr(int family, const char *addrstr, union mysockaddr *addr) argument
333 .ai_family = family,
/external/google-benchmark/src/
H A Dbenchmark_register.cc53 // The size of a benchmark family determines is the number of inputs to repeat
65 // benchmark identifies a family of related benchmarks to run.
70 // Registers a benchmark family and returns the index assigned to it.
71 size_t AddBenchmark(std::unique_ptr<Benchmark> family);
94 size_t BenchmarkFamilies::AddBenchmark(std::unique_ptr<Benchmark> family) { argument
97 families_.push_back(std::move(family));
124 for (std::unique_ptr<Benchmark>& family : families_) {
126 if (!family) continue;
128 if (family->ArgsCnt() == -1) {
129 family
[all...]
/external/iproute2/include/linux/
H A Dinet_diag.h80 __u8 family; member in struct:inet_diag_hostcond
H A Dtipc.h179 unsigned short family; member in struct:sockaddr_tipc
/external/iproute2/lib/
H A Dlibnetlink.c89 fprintf(stderr, "Wrong address family %d\n", rth->local.nl_family);
101 int rtnl_wilddump_request(struct rtnl_handle *rth, int family, int type) argument
103 return rtnl_wilddump_req_filter(rth, family, type, RTEXT_FILTER_VF);
106 int rtnl_wilddump_req_filter(struct rtnl_handle *rth, int family, int type, argument
123 req.ifm.ifi_family = family;
/external/ipsec-tools/src/racoon/
H A Dsockmisc.c301 int setsockopt_bypass(int s, int family) argument
312 int level = (family == AF_INET) ? IPPROTO_IP : IPPROTO_IPV6;
313 int option = (family == AF_INET) ? IP_IPSEC_POLICY : IPV6_IPSEC_POLICY;
542 "address family mismatch\n");
562 "address family mismatch\n");
788 setsockopt_bypass(so, family)
789 int so, family;
795 switch (family) {
806 "unsupported address family %d\n", family);
[all...]
/external/kernel-headers/original/uapi/linux/
H A Dinet_diag.h97 __u8 family; member in struct:inet_diag_hostcond
H A Dtipc.h201 unsigned short family; member in struct:sockaddr_tipc
/external/libcups/cups/
H A Dsnmp.c295 _cupsSNMPOpen(int family) /* I - Address family - @code AF_INET@ or @code AF_INET6@ */ argument
305 DEBUG_printf(("4_cupsSNMPOpen(family=%d)", family));
307 if ((fd = socket(family, SOCK_DGRAM, 0)) < 0)
/external/libcxx/utils/google-benchmark/src/
H A Dbenchmark_register.cc52 // The size of a benchmark family determines is the number of inputs to repeat
64 // benchmark identifies a family of related benchmarks to run.
69 // Registers a benchmark family and returns the index assigned to it.
70 size_t AddBenchmark(std::unique_ptr<Benchmark> family);
90 size_t BenchmarkFamilies::AddBenchmark(std::unique_ptr<Benchmark> family) { argument
93 families_.push_back(std::move(family));
114 for (std::unique_ptr<Benchmark>& family : families_) {
116 if (!family) continue;
118 if (family->ArgsCnt() == -1) {
119 family
[all...]
/external/libevent/
H A Dlistener.c208 int family = sa ? sa->sa_family : AF_UNSPEC; local
213 fd = socket(family, SOCK_STREAM, 0);
455 ev_uint8_t family; member in struct:accepting_socket
485 new_accepting_socket(struct evconnlistener_iocp *lev, int family) argument
491 if (family == AF_INET)
493 else if (family == AF_INET6)
507 res->family = family;
535 SOCKET s = socket(as->family, SOCK_STREAM, 0);
/external/libnl/include/linux-private/linux/
H A Dif_bridge.h160 __u8 family; member in struct:br_port_msg
/external/libnl/lib/
H A Daddr.c201 * @arg family Address family
216 struct nl_addr *nl_addr_build(int family, void *buf, size_t size) argument
224 addr->a_family = family;
237 * @arg family Address family.
245 * nl_addr_build(family, nla_data(nla), nla_len(nla));
255 struct nl_addr *nl_addr_alloc_attr(struct nlattr *nla, int family) argument
257 return nl_addr_build(family, nla_data(nla), nla_len(nla));
263 * @arg hint Address family hin
293 int err, copy = 0, len = 0, family = AF_UNSPEC; local
639 nl_addr_valid(char *addr, int family) argument
832 nl_addr_set_family(struct nl_addr *addr, int family) argument
1068 nl_af2str(int family, char *buf, size_t size) argument
[all...]
/external/libnl/lib/idiag/
H A Didiag_msg_obj.c60 int family = cache->c_iarg1; local
63 return idiagnl_send_simple(sk, 0, family, states, IDIAG_ATTR_ALL);
98 * @arg family The address family to query
106 int idiagnl_msg_alloc_cache(struct nl_sock *sk, int family, int states, argument
115 cache->c_iarg1 = family;
139 void idiagnl_msg_set_family(struct idiagnl_msg *msg, uint8_t family) argument
141 msg->idiag_family = family;
373 nl_dump_line(p, "family: %s ", nl_af2str(msg->idiag_family, buf, sizeof(buf)));
/external/libnl/lib/netfilter/
H A Dlog_msg_obj.c202 void nfnl_log_msg_set_family(struct nfnl_log_msg *msg, uint8_t family) argument
204 msg->log_msg_family = family;
H A Dqueue_msg_obj.c204 * Set the protocol family
206 * @arg family AF_XXX address family example: AF_INET, AF_UNIX, etc
208 void nfnl_queue_msg_set_family(struct nfnl_queue_msg *msg, uint8_t family) argument
210 msg->queue_msg_family = family;
459 __ADD(QUEUE_MSG_ATTR_FAMILY, family)
/external/libnl/lib/route/
H A Dneightbl.c601 void rtnl_neightbl_set_family(struct rtnl_neightbl *ntbl, int family) argument
603 ntbl->nt_family = family;
H A Drule.c90 int err = 1, family; local
105 rule->r_family = family = frh->family;
155 if (!(rule->r_src = nl_addr_alloc_attr(tb[FRA_SRC], family)))
163 if (!(rule->r_dst = nl_addr_alloc_attr(tb[FRA_DST], family)))
277 __ADD(RULE_ATTR_FAMILY, family)
323 * @arg family Address family or AF_UNSPEC.
331 int rtnl_rule_alloc_cache(struct nl_sock *sock, int family, argument
340 cache->c_iarg1 = family;
537 rtnl_rule_set_family(struct rtnl_rule *rule, int family) argument
[all...]
/external/libnl/python/netlink/route/
H A Dlink.py115 def __init__(self, family=socket.AF_UNSPEC, cache=None):
122 self._set_arg1(family)
140 return LinkCache(family=self.arg1, cache=cache)
259 def family(self): member in class:Link
260 """Address family"""
263 @family.setter
264 def family(self, value): member in class:Link

Completed in 553 milliseconds

1234567891011>>