/external/iproute2/ip/ |
H A D | xfrm_monitor.c | 53 __u16 family; local 63 family = xacq->sel.family; 64 if (family == AF_UNSPEC) 65 family = xacq->policy.sel.family; 66 if (family == AF_UNSPEC) 67 family = preferred_family; 81 xfrm_selector_print(&xacq->sel, family, fp, " sel "); 182 __u16 family; local 264 xfrm_print_addr(FILE *fp, int family, xfrm_address_t *a) argument [all...] |
/external/iproute2/tc/ |
H A D | f_flower.c | 94 int family; local 99 family = AF_INET; 101 family = AF_INET6; 107 ret = get_prefix(&addr, str, family); 111 if (addr.family != family) 114 addattr_l(n, MAX_MSG, addr.family == AF_INET ? addr4_type : addr6_type, 131 addattr_l(n, MAX_MSG, addr.family == AF_INET ? mask4_type : mask6_type, 400 int family; local 405 family [all...] |
/external/iptables/extensions/ |
H A D | libxt_iprange.c | 45 uint8_t family, const char *optname) 54 if (family == NFPROTO_IPV6) { 74 uint8_t family, const char *optname) 83 iprange_parse_spec(arg, arg, range, family, optname); 89 iprange_parse_spec(arg, dash + 1, range, family, optname); 396 .family = NFPROTO_IPV4, 411 .family = NFPROTO_IPV4, 426 .family = NFPROTO_IPV6, 44 iprange_parse_spec(const char *from, const char *to, union nf_inet_addr *range, uint8_t family, const char *optname) argument 73 iprange_parse_range(const char *oarg, union nf_inet_addr *range, uint8_t family, const char *optname) argument
|
H A D | libxt_policy.c | 265 bool numeric, uint8_t family) 285 if (family == NFPROTO_IPV6) 296 if (family == NFPROTO_IPV6) 383 .family = NFPROTO_IPV4, 396 .family = NFPROTO_IPV6, 264 print_entry(const char *prefix, const struct xt_policy_elem *e, bool numeric, uint8_t family) argument
|
H A D | libxt_recent.c | 180 unsigned int family) 208 switch(family) { 221 unsigned int family) 244 switch(family) { 309 .family = NFPROTO_UNSPEC, 324 .family = NFPROTO_IPV4, 339 .family = NFPROTO_IPV6, 179 recent_print(const void *ip, const struct xt_entry_match *match, unsigned int family) argument 220 recent_save(const void *ip, const struct xt_entry_match *match, unsigned int family) argument
|
/external/iptables/iptables/ |
H A D | xshared.h | 33 * xtables_afinfo - protocol family dependent information 37 * @family: nfproto family 46 uint8_t family; member in struct:xtables_afinfo
|
H A D | xtables-restore.c | 440 xtables_restore_main(int family, const char *progname, int argc, char *argv[]) argument 443 .family = family, 452 c = xtables_init_all(&xtables_globals, family); 500 h.family = AF_INET; 503 h.family = AF_INET6;
|
H A D | xtables-translate.c | 144 family2str[h->family], p->table, p->chain); 147 family2str[h->family], p->table, p->chain); 170 switch (h->family) { 224 .family = h->family, 258 family2str[h->family], p.table, p.chain); 261 family2str[h->family], p.table); 273 family2str[h->family], p.table); 282 family2str[h->family], p.table, p.chain); 287 family2str[h->family], 391 xtables_xlate_main(int family, const char *progname, int argc, char *argv[]) argument 430 xtables_restore_xlate_main(int family, const char *progname, int argc, char *argv[]) argument [all...] |
/external/kernel-headers/original/uapi/linux/caif/ |
H A D | caif_socket.h | 108 * @family: Address family number, must be AF_CAIF. 109 * @u: Union of address data 'switched' by family. 111 * @u.at: Applies when family = CAIFPROTO_AT. 115 * @u.util: Applies when family = CAIFPROTO_UTIL 119 * @u.dgm: Applies when family = CAIFPROTO_DATAGRAM 125 * @u.rfm: Applies when family = CAIFPROTO_RFM 131 * @u.dbg: Applies when family = CAIFPROTO_DEBUG. 142 __kernel_sa_family_t family; member in struct:sockaddr_caif
|
/external/kernel-headers/original/uapi/linux/ |
H A D | fib_rules.h | 19 __u8 family; member in struct:fib_rule_hdr
|
/external/libchrome/base/ |
H A D | cpu.h | 38 int family() const { return family_; } function in class:base::CPU 63 int signature_; // raw form of type, family, model, and stepping 65 int family_; // family of the processor
|
/external/libcups/cups/ |
H A D | http-addrlist.c | 460 int family, /* I - Address family or AF_UNSPEC */ 471 _cups_debug_printf("httpAddrGetList(hostname=\"%s\", family=AF_%s, " 474 family == AF_UNSPEC ? "UNSPEC" : 476 family == AF_LOCAL ? "LOCAL" : 479 family == AF_INET6 ? "INET6" : 481 family == AF_INET ? "INET" : "???", service); 544 hints.ai_family = family; 820 if (family != AF_INET) 848 if (family ! 459 httpAddrGetList(const char *hostname, int family, const char *service) argument [all...] |
/external/libevent/ |
H A D | bufferevent_sock.c | 469 struct evdns_base *evdns_base, int family, const char *hostname, int port) 477 if (family != AF_INET && family != AF_INET6 && family != AF_UNSPEC) 489 hint.ai_family = family; 468 bufferevent_socket_connect_hostname(struct bufferevent *bev, struct evdns_base *evdns_base, int family, const char *hostname, int port) argument
|
/external/libnetfilter_conntrack/src/expect/ |
H A D | api.c | 524 const uint8_t *family = data; local 546 nfnl_fill_hdr(ssh, &req->nlh, 0, *family, 0, IPCTNL_MSG_EXP_DELETE, NLM_F_REQUEST|NLM_F_ACK); 549 nfnl_fill_hdr(ssh, &req->nlh, 0, *family, 0, IPCTNL_MSG_EXP_GET, NLM_F_REQUEST|NLM_F_DUMP); 570 * The pointer to data can be a conntrack object or the protocol family 583 * Pass a valid pointer to the protocol family (uint8_t)
|
/external/libnl/include/linux-private/linux/ |
H A D | fib_rules.h | 16 __u8 family; member in struct:fib_rule_hdr
|
/external/libnl/lib/genl/ |
H A D | ctrl.c | 16 * Resolves Generic Netlink family names to numeric identifiers. 19 * family names to their numeric identifiers. This module provides functions 27 #include <netlink/genl/family.h> 64 static int parse_mcast_grps(struct genl_family *family, struct nlattr *grp_attr) argument 94 err = genl_family_add_grp(family, id, name); 108 struct genl_family *family; local 112 family = genl_family_alloc(); 113 if (family == NULL) { 128 family->ce_msgtype = info->nlh->nlmsg_type; 129 genl_family_set_id(family, 431 struct genl_family *family; local 446 genl_ctrl_grp_by_name(const struct genl_family *family, const char *grp_name) argument 475 struct genl_family *family; local [all...] |
H A D | family.c | 2 * lib/genl/family.c Generic Netlink Family 16 * Object representing a kernel side registered Generic Netlink family 24 #include <netlink/genl/family.h> 39 struct genl_family *family = (struct genl_family *) c; local 41 nl_init_list_head(&family->gf_ops); 42 nl_init_list_head(&family->gf_mc_grps); 47 struct genl_family *family = (struct genl_family *) c; local 51 if (family == NULL) 54 nl_list_for_each_entry_safe(ops, tmp, &family->gf_ops, o_list) { 59 nl_list_for_each_entry_safe(grp, t_grp, &family 92 struct genl_family *family = (struct genl_family *) obj; local 113 struct genl_family *family = (struct genl_family *) obj; local 195 genl_family_put(struct genl_family *family) argument 213 genl_family_get_id(struct genl_family *family) argument 226 genl_family_set_id(struct genl_family *family, unsigned int id) argument 245 genl_family_get_name(struct genl_family *family) argument 258 genl_family_set_name(struct genl_family *family, const char *name) argument 275 genl_family_get_version(struct genl_family *family) argument 288 genl_family_set_version(struct genl_family *family, uint8_t version) argument 307 genl_family_get_hdrsize(struct genl_family *family) argument 315 genl_family_set_hdrsize(struct genl_family *family, uint32_t hdrsize) argument 328 genl_family_get_maxattr(struct genl_family *family) argument 336 genl_family_set_maxattr(struct genl_family *family, uint32_t maxattr) argument 349 genl_family_add_op(struct genl_family *family, int id, int flags) argument 366 genl_family_add_grp(struct genl_family *family, uint32_t id, const char *name) argument [all...] |
/external/libnl/lib/idiag/ |
H A D | idiag_req_obj.c | 49 void idiagnl_req_set_family(struct idiagnl_req *req, uint8_t family) argument 51 req->idiag_family = family;
|
/external/libnl/lib/netfilter/ |
H A D | ct.c | 440 int family; local 442 family = nfnl_ct_get_family(ct); 455 family == AF_INET ? CTA_IP_V4_SRC : CTA_IP_V6_SRC, 461 family == AF_INET ? CTA_IP_V4_DST : CTA_IP_V6_DST, 481 if (family == AF_INET) { 493 } else if (family == AF_INET6) {
|
H A D | exp.c | 347 int family; local 349 family = nfnl_exp_get_family(exp); 368 family == AF_INET ? CTA_IP_V4_SRC : CTA_IP_V6_SRC, 374 family == AF_INET ? CTA_IP_V4_DST : CTA_IP_V6_DST,
|
/external/linux-kselftest/tools/testing/selftests/net/ |
H A D | reuseport_bpf.c | 6 * result. These tests are run for each supported address family and protocol. 44 static struct sockaddr *new_any_sockaddr(int family, uint16_t port) argument 53 switch (family) { 67 error(1, 0, "Unsupported family %d", family); 72 static struct sockaddr *new_loopback_sockaddr(int family, uint16_t port) argument 74 struct sockaddr *addr = new_any_sockaddr(family, port); 78 switch (family) { 88 error(1, 0, "Unsupported family %d", family); [all...] |
/external/ltp/testcases/network/stress/ns-tools/ |
H A D | ns-mcast_join.c | 66 sa_family_t family; /* protocol family */ variable 103 "\t-f num\tprotocol family\n" 181 family = PF_INET; /* IPv4 */ 184 family = PF_INET6; /* IPv6 */ 188 "protocol family should be 4 or 6.\n"); 312 sock_array[idx] = socket(family, SOCK_DGRAM, IPPROTO_UDP); 345 switch (family) { 366 maddr_info = get_maddrinfo(family, maddr, NULL); 442 sd = socket(family, SOCK_DGRA [all...] |
H A D | ns-mcast_receiver.c | 93 "\t-f num\ttprotocol family\n" 163 sa_family_t family = AF_UNSPEC; /* protocol family */ local 177 family = PF_INET; /* IPv4 */ 179 family = PF_INET6; /* IPv6 */ 182 "protocol family should be 4 or 6.\n"); 273 info_p->mainfo = get_maddrinfo(family, maddr, portnum);
|
H A D | ns-tcpserver.c | 71 sa_family_t family; /* protocol family */ member in struct:server_info 103 "\t-f\tprotocol family\n" 212 hints.ai_family = info_p->family; 235 /* Don't accept IPv4 mapped address if the protocol family is IPv6 */ 543 server.family = PF_UNSPEC; 551 server.family = PF_INET; /* IPv4 */ 553 server.family = PF_INET6; /* IPv6 */ 556 "protocol family should be 4 or 6.\n"); 611 /* Check the family i [all...] |
H A D | ns-udpsender.c | 59 sa_family_t family; member in struct:udp_info 97 "\t-f num\ttprotocol family\n" 175 udp_p->family = PF_INET; /* IPv4 */ 177 udp_p->family = PF_INET6; /* IPv6 */ 180 "protocol family should be 4 or 6.\n"); 253 fprintf(stderr, "protocol family is not specified\n"); 298 hints.ai_family = udp_p->family; 331 switch (udp_p->family) {
|