Searched defs:family (Results 26 - 50 of 361) sorted by relevance

1234567891011>>

/external/webrtc/webrtc/base/
H A Dsocketaddress.h91 int family() const {return ip_.family(); } function in class:rtc::SocketAddress
164 // If IPv6, will zero out the sockaddr_in and sets family to AF_UNSPEC.
171 // Dual stack version always sets family to AF_INET6, and maps v4 addresses.
189 SocketAddress EmptySocketAddressWithFamily(int family);
/external/c-ares/
H A Dares__get_hostent.c36 int ares__get_hostent(FILE *fp, int family, struct hostent **host) argument
47 /* Validate family */
48 switch (family) {
137 /* Convert address string to network address for the requested family. */
139 addr.family = AF_UNSPEC;
141 if ((family == AF_INET) || (family == AF_UNSPEC))
146 /* Actual network address family and length. */
147 addr.family = AF_INET;
151 if ((family
[all...]
H A Dares_parse_ptr_reply.c48 int addrlen, int family, struct hostent **host)
192 hostent->h_addrtype = family;
47 ares_parse_ptr_reply(const unsigned char *abuf, int alen, const void *addr, int addrlen, int family, struct hostent **host) argument
/external/curl/lib/
H A Dconnect.h82 int family; member in struct:Curl_sockaddr_ex
/external/deqp/execserver/
H A DxsTcpServer.cpp33 TcpServer::TcpServer (deSocketFamily family, int port) argument
37 address.setFamily(family);
/external/dhcpcd-6.8.2/
H A Difaddrs.c35 struct ifaddrs *get_interface(const char *name, sa_family_t family) argument
48 if ((family == AF_INET) && (addr == 0))
64 if (family == AF_INET) {
68 saddr->sin_family = family;
76 smask->sin_family = family;
80 } else if (family == AF_PACKET) {
85 hwaddr->sll_family = family;
/external/iproute2/include/
H A Dxt-internal.h8 /* protocol family dependent informations */
10 /* protocol family */
11 int family; member in struct:afinfo
/external/iptables/iptables/
H A Dxtables-save.c78 xtables_save_main(int family, const char *progname, int argc, char *argv[]) argument
83 .family = family,
88 c = xtables_init_all(&xtables_globals, family);
127 h.family = AF_INET;
130 h.family = AF_INET6;
/external/libnl/src/lib/
H A Daddr.c35 int family; local
37 if ((family = nl_str2af(arg)) != AF_UNSPEC)
38 rtnl_addr_set_family(addr, family);
H A Dlink.c34 struct nl_cache *nl_cli_link_alloc_cache_family(struct nl_sock *sock, int family) argument
39 if ((err = rtnl_link_alloc_cache(sock, family, &cache)) < 0)
55 int family; local
57 if ((family = nl_str2af(arg)) < 0)
59 "Unable to translate address family \"%s\"", arg);
61 rtnl_link_set_family(link, family);
/external/ltp/utils/sctp/lib/
H A Daddrs.c135 sctp_getaddrlen(sa_family_t family) argument
141 switch(family) {
/external/skia/src/ports/
H A DSkFontMgr_custom_directory.cpp27 SkFontStyleSet_Custom* family = new SkFontStyleSet_Custom(SkString()); variable
28 families->push_back().reset(family); variable
29 family->appendTypeface(sk_make_sp<SkTypeface_Empty>());
/external/android-clat/
H A Dgetaddr.c34 int family; member in struct:target
64 if((targ_p->family == AF_INET6) && !(ifa_p->ifa_flags & IFA_F_SECONDARY)) {
71 if(targ_p->family == AF_INET) {
96 * finds the first global non-privacy IP of the given family for the given interface, or returns NULL. caller frees pointer
98 * family - family
100 union anyip *getinterface_ip(const char *interface, int family) { argument
106 targ.family = family;
114 ifa.ifa_family = targ.family;
[all...]
H A Dnetlink_msg.c35 * returns the size of the address structure for the given family, or 0 on error
36 * family - AF_INET or AF_INET6
38 size_t inet_family_size(int family) { argument
39 if(family == AF_INET) {
41 } else if(family == AF_INET6) {
H A Dsetif.c34 * family - address family (AF_INET, AF_INET6)
39 int add_address(const char *ifname, int family, const void *address, int prefixlen, const void *broadcast) { argument
45 addr_size = inet_family_size(family);
56 ifa.ifa_family = family;
70 if(family == AF_INET6) {
76 } else if(family == AF_INET) {
/external/iproute2/ip/
H A Dipnetconf.c29 int family; member in struct:__anon8076
65 if (filter.family && filter.family != ncm->ncm_family)
148 filter.family = preferred_family;
149 if (filter.family == AF_UNSPEC)
150 filter.family = AF_INET;
171 req.ncm.ncm_family = filter.family;
183 if (rtnl_wilddump_request(&rth, filter.family, RTM_GETNETCONF) < 0) {
193 filter.family = AF_INET6;
H A Drtmon.c77 int family = AF_UNSPEC; local
85 if (matches(argv[1], "-family") == 0) {
91 family = AF_INET;
93 family = AF_INET6;
95 family = AF_INET6;
103 family = AF_INET;
105 family = AF_INET6;
107 family = AF_PACKET;
144 if (!family || family
[all...]
/external/iproute2/tipc/
H A Dmsg.c151 int family; local
155 family = get_family();
156 if (family <= 0) {
158 "Unable to get TIPC nl family id (module loaded?)\n");
163 nlh->nlmsg_type = family;
/external/iw/
H A Dgenl.c7 #include <netlink/genl/family.h>
68 int nl_get_multicast_id(struct nl_sock *sock, const char *family, const char *group) argument
94 NLA_PUT_STRING(msg, CTRL_ATTR_FAMILY_NAME, family);
/external/libnl/lib/netfilter/
H A Dlog.c34 static int build_log_cmd_request(uint8_t family, uint16_t queuenum, argument
41 family, queuenum);
H A Dnfnl.c102 * @arg family nfnetlink address family
108 int flags, uint8_t family, uint16_t res_id)
111 .nfgen_family = family,
146 * Get netfilter family from message
174 static int nfnlmsg_append(struct nl_msg *msg, uint8_t family, uint16_t res_id) argument
182 nfg->nfgen_family = family;
185 NL_DBG(2, "msg %p: Added nfnetlink header family=%d res_id=%d\n",
186 msg, family, res_id);
195 * @arg family nfnetlin
107 nfnl_send_simple(struct nl_sock *sk, uint8_t subsys_id, uint8_t type, int flags, uint8_t family, uint16_t res_id) argument
200 nfnlmsg_alloc_simple(uint8_t subsys_id, uint8_t type, int flags, uint8_t family, uint16_t res_id) argument
230 nfnlmsg_put(struct nl_msg *msg, uint32_t pid, uint32_t seq, uint8_t subsys_id, uint8_t type, int flags, uint8_t family, uint16_t res_id) argument
[all...]
/external/libnl/lib/route/link/
H A Dapi.c109 * @return -NLE_EXIST Operations for address family already registered.
185 * Return operations of a specific link address family
186 * @arg family Address family
192 struct rtnl_link_af_ops *rtnl_link_af_ops_lookup(const unsigned int family) argument
194 if (family == AF_UNSPEC || family >= AF_MAX)
198 if (af_ops[family])
199 af_ops[family]->ao_refcnt++;
202 return af_ops[family];
232 int family; local
365 rtnl_link_af_data_compare(struct rtnl_link *a, struct rtnl_link *b, int family) argument
[all...]
/external/libnl/lib/route/
H A Drtnl.c31 * @arg family Address family.
41 int nl_rtgen_request(struct nl_sock *sk, int type, int family, int flags) argument
45 .rtgen_family = family,
/external/libnl/src/
H A Dnf-log.c60 int family; local
67 printf("Usage: nf-log family group [ copy_mode ] "
74 family = nl_str2af(argv[1]);
75 if (family == AF_UNSPEC)
76 nl_cli_fatal(NLE_INVAL, "Unknown family \"%s\": %s",
77 argv[1], nl_geterror(family));
79 nfnl_log_pf_unbind(nf_sock, family);
80 if ((err = nfnl_log_pf_bind(nf_sock, family)) < 0)
H A Dnf-queue.c68 int family; local
78 printf("Usage: nf-queue family group [ copy_mode ] "
80 printf("family: [ inet | inet6 | ... ] \n");
88 if ((family = nl_str2af(argv[1])) == AF_UNSPEC)
89 nl_cli_fatal(NLE_INVAL, "Unknown family \"%s\"", argv[1]);
91 nfnl_queue_pf_unbind(nf_sock, family);
92 if ((err = nfnl_queue_pf_bind(nf_sock, family)) < 0)

Completed in 505 milliseconds

1234567891011>>