Searched defs:family (Results 1 - 25 of 195) sorted by relevance

12345678

/external/libpcap/
H A Dpcap-netfilter-linux-android.c20 android_nflog_send_config_cmd(int fd, u_int16_t group_id, u_int8_t cmd, u_int8_t family) argument
24 return nflog_send_config_cmd(&handle, group_id, cmd, family);
/external/libnl/src/lib/
H A Drule.c49 int family; local
51 if ((family = nl_str2af(arg)) != AF_UNSPEC)
52 rtnl_rule_set_family(rule, family);
H A Dlink.c35 int family; local
37 if ((family = nl_str2af(arg)) == AF_UNSPEC)
39 "Unable to translate address family \"%s\"", arg);
41 rtnl_link_set_family(link, family);
H A Dneigh.c68 int family; local
70 if ((family = nl_str2af(arg)) == AF_UNSPEC)
72 "Unable to translate address family \"%s\"", arg);
74 rtnl_neigh_set_family(neigh, family);
H A Daddr.c35 int family; local
37 if ((family = nl_str2af(arg)) != AF_UNSPEC)
38 rtnl_addr_set_family(addr, family);
/external/tcpdump/
H A Dprint-null.c48 * 32-bit integer that specifies the family, e.g. AF_INET.
67 null_hdr_print(u_int family, u_int length) argument
71 tok2str(bsd_af_values,"Unknown",family),family);
74 tok2str(bsd_af_values,"Unknown AF %u",family));
91 u_int family; local
98 memcpy((char *)&family, (char *)p, sizeof(family));
108 if ((family & 0xFFFF0000) != 0)
109 family
[all...]
/external/toybox/toys/pending/
H A Dping.c50 int family, protocol; local
66 family = AF_INET6;
69 family = AF_INET;
79 if (!inet_pton(family, TT.iface, &src_addr)) {
85 if (!ifa->ifa_addr || ifa->ifa_addr->sa_family != family) continue;
87 if (family == AF_INET)
100 error_exit("no v%d addr for -I %s", 4+2*(family==AF_INET6), TT.iface);
102 inet_ntop(family, &src_addr, toybuf, sizeof(toybuf));
109 TT.sock = xsocket(family, SOCK_RAW, protocol);
/external/freetype/src/cache/
H A Dftcglyph.c33 FTC_Family family )
35 gnode->family = family;
37 family->num_nodes++;
45 FTC_Family family = gnode->family; local
48 gnode->family = NULL;
49 if ( family && --family->num_nodes == 0 )
50 FTC_FAMILY_FREE( family, cach
106 FTC_Family_Init( FTC_Family family, FTC_Cache cache ) argument
201 FTC_Family family = query->family; local
[all...]
/external/iproute2/ip/
H A Dipprefix.c42 int family = preferred_family; local
56 if (family == AF_UNSPEC)
57 family = AF_INET6;
58 if (family != AF_INET6)
62 fprintf(stderr, "wrong family %d\n", prefix->prefix_family);
81 fprintf(fp, "%s", rt_addr_n2a(family, sizeof(*pfx), pfx,
H A Drtmon.c71 int family = AF_UNSPEC; local
79 if (matches(argv[1], "-family") == 0) {
85 family = AF_INET;
87 family = AF_INET6;
89 family = AF_INET6;
97 family = AF_INET;
99 family = AF_INET6;
101 family = AF_PACKET;
138 if (!family || family
[all...]
/external/libyuv/files/unit_test/
H A Dcpu_test.cc77 int family = ((cpu_info[0] >> 8) & 0x0f) | ((cpu_info[0] >> 16) & 0xff0); local
79 printf("Cpu Family %d (0x%x), Model %d (0x%x)\n", family, family,
/external/linux-tools-perf/src/tools/perf/arch/x86/util/
H A Dheader.c26 int family = -1, model = -1, step = -1; local
39 family = (a >> 8) & 0xf; /* bits 11 - 8 */
43 /* extended family */
44 if (family == 0xf)
45 family += (a >> 20) & 0xff;
48 if (family >= 0x6)
51 nb = scnprintf(buffer, sz, "%s,%u,%u,%u$", vendor, family, model, step);
/external/protobuf/src/google/protobuf/stubs/
H A Datomicops_internals_x86_gcc.cc92 // get feature flags in ecx/edx, and family/model in eax
95 int family = (eax >> 8) & 0xf; // family and model fields local
97 if (family == 0xf) { // use extended family and model fields
98 family += (eax >> 20) & 0xff;
106 // so we test only for Rev E, which is family 15, model 32..63 inclusive.
108 family == 15 &&
/external/v8/src/base/
H A Datomicops_internals_x86_gcc.cc71 // get feature flags in ecx/edx, and family/model in eax
74 int family = (eax >> 8) & 0xf; // family and model fields local
76 if (family == 0xf) { // use extended family and model fields
77 family += (eax >> 20) & 0xff;
85 // so we test only for Rev E, which is family 15, model 32..63 inclusive.
87 family == 15 &&
/external/deqp/execserver/
H A DxsTcpServer.cpp33 TcpServer::TcpServer (deSocketFamily family, int port) argument
37 address.setFamily(family);
/external/dexmaker/src/dx/java/com/android/dx/dex/code/
H A DDop.java29 /** {@code Opcodes.isValid();} the opcode family */
30 private final int family; field in class:Dop
51 * @param family {@code Opcodes.isValid();} the opcode family
60 public Dop(int opcode, int family, int nextOpcode, InsnFormat format, argument
66 if (!Opcodes.isValidShape(family)) {
67 throw new IllegalArgumentException("bogus family");
79 this.family = family;
101 * Gets the opcode family
[all...]
/external/dhcpcd/
H A Difaddrs.c34 struct ifaddrs *get_interface(const char *name, sa_family_t family) argument
47 if ((family == AF_INET) && (addr == 0))
63 if (family == AF_INET) {
67 saddr->sin_family = family;
75 smask->sin_family = family;
79 } else if (family == AF_PACKET) {
84 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/skia/gm/
H A Dverttext2.cpp71 SkTypeface* family, SkPaint::Align alignment) {
77 paint.setTypeface(family);
70 drawText(SkCanvas* canvas, const SkString& string, SkTypeface* family, SkPaint::Align alignment) argument
/external/strace/tests/
H A Dnetlink_inet_diag.c10 send_query(const int fd, const int family, const int proto) argument
25 .sdiag_family = family,
H A Dnetlink_unix_diag.c17 send_query(const int fd, const int family, const int proto) argument
32 .sdiag_family = family,
/external/android-clat/
H A Dgetaddr.c33 int family; member in struct:target
63 if((targ_p->family == AF_INET6) && !(ifa_p->ifa_flags & IFA_F_SECONDARY)) {
70 if(targ_p->family == AF_INET) {
95 * finds the first global non-privacy IP of the given family for the given interface, or returns NULL. caller frees pointer
97 * family - family
99 union anyip *getinterface_ip(const char *interface, int family) { argument
105 targ.family = family;
113 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/libnl/lib/genl/
H A Dgenl.c42 * int family;
50 * // Ask kernel to resolve family name to family id
51 * family = genl_ctrl_resolve(sock, "generic_netlink_family_name");
56 * genlmsg_put(msg, NL_AUTO_PID, NL_AUTO_SEQ, family, 0, NLM_F_ECHO,
117 * @arg family Generic netlink family
127 int genl_send_simple(struct nl_sock *sk, int family, int cmd, argument
135 return nl_send_simple(sk, family, flags, &hdr, sizeof(hdr));
209 * @arg hdrlen length of family specifi
246 genlmsg_put(struct nl_msg *msg, uint32_t pid, uint32_t seq, int family, int hdrlen, int flags, uint8_t cmd, uint8_t version) argument
[all...]

Completed in 519 milliseconds

12345678