/external/libnl/lib/route/ |
D | link.c | 69 static struct rtnl_link_af_ops *af_lookup_and_alloc(struct rtnl_link *link, in af_lookup_and_alloc() argument 79 if (!(data = rtnl_link_af_alloc(link, af_ops))) { in af_lookup_and_alloc() 87 static int af_free(struct rtnl_link *link, struct rtnl_link_af_ops *ops, in af_free() argument 91 ops->ao_free(link, data); in af_free() 98 static int af_clone(struct rtnl_link *link, struct rtnl_link_af_ops *ops, in af_clone() argument 110 static int af_fill(struct rtnl_link *link, struct rtnl_link_af_ops *ops, in af_fill() argument 123 if ((err = ops->ao_fill_af(link, arg, data)) < 0) in af_fill() 131 static int af_dump_line(struct rtnl_link *link, struct rtnl_link_af_ops *ops, in af_dump_line() argument 137 ops->ao_dump[NL_DUMP_LINE](link, p, data); in af_dump_line() 142 static int af_dump_details(struct rtnl_link *link, struct rtnl_link_af_ops *ops, in af_dump_details() argument [all …]
|
/external/libnl/lib/route/link/ |
D | ipgre.c | 54 uint32_t link; member 73 static int ipgre_alloc(struct rtnl_link *link) in ipgre_alloc() argument 81 link->l_info = ipgre; in ipgre_alloc() 86 static int ipgre_parse(struct rtnl_link *link, struct nlattr *data, in ipgre_parse() argument 99 err = ipgre_alloc(link); in ipgre_parse() 103 ipgre = link->l_info; in ipgre_parse() 106 ipgre->link = nla_get_u32(tb[IFLA_GRE_LINK]); in ipgre_parse() 161 static int ipgre_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in ipgre_put_attrs() argument 163 struct ipgre_info *ipgre = link->l_info; in ipgre_put_attrs() 171 NLA_PUT_U32(msg, IFLA_GRE_LINK, ipgre->link); in ipgre_put_attrs() [all …]
|
D | ip6tnl.c | 52 uint32_t link; member 71 static int ip6_tnl_alloc(struct rtnl_link *link) in ip6_tnl_alloc() argument 79 link->l_info = ip6_tnl; in ip6_tnl_alloc() 84 static int ip6_tnl_parse(struct rtnl_link *link, struct nlattr *data, in ip6_tnl_parse() argument 97 err = ip6_tnl_alloc(link); in ip6_tnl_parse() 101 ip6_tnl = link->l_info; in ip6_tnl_parse() 104 ip6_tnl->link = nla_get_u32(tb[IFLA_IPTUN_LINK]); in ip6_tnl_parse() 154 static int ip6_tnl_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in ip6_tnl_put_attrs() argument 156 struct ip6_tnl_info *ip6_tnl = link->l_info; in ip6_tnl_put_attrs() 164 NLA_PUT_U32(msg, IFLA_IPTUN_LINK, ip6_tnl->link); in ip6_tnl_put_attrs() [all …]
|
D | sit.c | 50 uint32_t link; member 67 static int sit_alloc(struct rtnl_link *link) in sit_alloc() argument 75 link->l_info = sit; in sit_alloc() 80 static int sit_parse(struct rtnl_link *link, struct nlattr *data, in sit_parse() argument 93 err = sit_alloc(link); in sit_parse() 97 sit = link->l_info; in sit_parse() 100 sit->link = nla_get_u32(tb[IFLA_IPTUN_LINK]); in sit_parse() 145 static int sit_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in sit_put_attrs() argument 147 struct sit_info *sit = link->l_info; in sit_put_attrs() 155 NLA_PUT_U32(msg, IFLA_IPTUN_LINK, sit->link); in sit_put_attrs() [all …]
|
D | ipip.c | 46 uint32_t link; member 61 static int ipip_alloc(struct rtnl_link *link) in ipip_alloc() argument 69 link->l_info = ipip; in ipip_alloc() 74 static int ipip_parse(struct rtnl_link *link, struct nlattr *data, in ipip_parse() argument 87 err = ipip_alloc(link); in ipip_parse() 91 ipip = link->l_info; in ipip_parse() 94 ipip->link = nla_get_u32(tb[IFLA_IPTUN_LINK]); in ipip_parse() 129 static int ipip_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in ipip_put_attrs() argument 131 struct ipip_info *ipip = link->l_info; in ipip_put_attrs() 139 NLA_PUT_U32(msg, IFLA_IPTUN_LINK, ipip->link); in ipip_put_attrs() [all …]
|
D | ipvti.c | 42 uint32_t link; member 58 static int ipvti_alloc(struct rtnl_link *link) in ipvti_alloc() argument 66 link->l_info = ipvti; in ipvti_alloc() 71 static int ipvti_parse(struct rtnl_link *link, struct nlattr *data, in ipvti_parse() argument 84 err = ipvti_alloc(link); in ipvti_parse() 88 ipvti = link->l_info; in ipvti_parse() 91 ipvti->link = nla_get_u32(tb[IFLA_VTI_LINK]); in ipvti_parse() 121 static int ipvti_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in ipvti_put_attrs() argument 123 struct ipvti_info *ipvti = link->l_info; in ipvti_put_attrs() 131 NLA_PUT_U32(msg, IFLA_VTI_LINK, ipvti->link); in ipvti_put_attrs() [all …]
|
D | vxlan.c | 90 static int vxlan_alloc(struct rtnl_link *link) in vxlan_alloc() argument 97 link->l_info = vxi; in vxlan_alloc() 102 static int vxlan_parse(struct rtnl_link *link, struct nlattr *data, in vxlan_parse() argument 114 if ((err = vxlan_alloc(link)) < 0) in vxlan_parse() 117 vxi = link->l_info; in vxlan_parse() 198 static void vxlan_free(struct rtnl_link *link) in vxlan_free() argument 200 struct vxlan_info *vxi = link->l_info; in vxlan_free() 203 link->l_info = NULL; in vxlan_free() 206 static void vxlan_dump_line(struct rtnl_link *link, struct nl_dump_params *p) in vxlan_dump_line() argument 208 struct vxlan_info *vxi = link->l_info; in vxlan_dump_line() [all …]
|
D | bridge.c | 49 #define IS_BRIDGE_LINK_ASSERT(link) \ argument 50 if (!rtnl_link_is_bridge(link)) { \ 55 static inline struct bridge_data *bridge_data(struct rtnl_link *link) in bridge_data() argument 57 return rtnl_link_af_data(link, &bridge_ops); in bridge_data() 60 static void *bridge_alloc(struct rtnl_link *link) in bridge_alloc() argument 65 static void *bridge_clone(struct rtnl_link *link, void *data) in bridge_clone() argument 69 if ((bd = bridge_alloc(link))) in bridge_clone() 75 static void bridge_free(struct rtnl_link *link, void *data) in bridge_free() argument 90 static void check_flag(struct rtnl_link *link, struct nlattr *attrs[], in check_flag() argument 94 rtnl_link_bridge_set_flags(link, flag); in check_flag() [all …]
|
D | can.c | 72 static int can_alloc(struct rtnl_link *link) in can_alloc() argument 80 link->l_info = ci; in can_alloc() 85 static int can_parse(struct rtnl_link *link, struct nlattr *data, in can_parse() argument 97 if ((err = can_alloc(link)) < 0) in can_parse() 100 ci = link->l_info; in can_parse() 153 static void can_free(struct rtnl_link *link) in can_free() argument 155 struct can_info *ci = link->l_info; in can_free() 158 link->l_info = NULL; in can_free() 192 static void can_dump_line(struct rtnl_link *link, struct nl_dump_params *p) in can_dump_line() argument 194 struct can_info *ci = link->l_info; in can_dump_line() [all …]
|
D | veth.c | 40 static int veth_parse(struct rtnl_link *link, struct nlattr *data, in veth_parse() argument 45 struct rtnl_link *peer = link->l_info; in veth_parse() 83 static void veth_dump_line(struct rtnl_link *link, struct nl_dump_params *p) in veth_dump_line() argument 87 static void veth_dump_details(struct rtnl_link *link, struct nl_dump_params *p) in veth_dump_details() argument 89 struct rtnl_link *peer = link->l_info; in veth_dump_details() 117 static int veth_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in veth_put_attrs() argument 119 struct rtnl_link *peer = link->l_info; in veth_put_attrs() 143 static int veth_alloc(struct rtnl_link *link) in veth_alloc() argument 149 if (link->l_info) in veth_alloc() 158 peer->l_info = link; in veth_alloc() [all …]
|
D | macvlan.c | 54 static int macvlan_alloc(struct rtnl_link *link) in macvlan_alloc() argument 61 link->l_info = mvi; in macvlan_alloc() 66 static int macvlan_parse(struct rtnl_link *link, struct nlattr *data, in macvlan_parse() argument 78 if ((err = macvlan_alloc(link)) < 0) in macvlan_parse() 81 mvi = link->l_info; in macvlan_parse() 98 static void macvlan_free(struct rtnl_link *link) in macvlan_free() argument 100 free(link->l_info); in macvlan_free() 101 link->l_info = NULL; in macvlan_free() 104 static void macvlan_dump(struct rtnl_link *link, struct nl_dump_params *p) in macvlan_dump() argument 107 struct macvlan_info *mvi = link->l_info; in macvlan_dump() [all …]
|
D | vlan.c | 66 static int vlan_alloc(struct rtnl_link *link) in vlan_alloc() argument 73 link->l_info = vi; in vlan_alloc() 78 static int vlan_parse(struct rtnl_link *link, struct nlattr *data, in vlan_parse() argument 90 if ((err = vlan_alloc(link)) < 0) in vlan_parse() 93 vi = link->l_info; in vlan_parse() 169 static void vlan_free(struct rtnl_link *link) in vlan_free() argument 171 struct vlan_info *vi = link->l_info; in vlan_free() 179 link->l_info = NULL; in vlan_free() 182 static void vlan_dump_line(struct rtnl_link *link, struct nl_dump_params *p) in vlan_dump_line() argument 184 struct vlan_info *vi = link->l_info; in vlan_dump_line() [all …]
|
D | bonding.c | 34 struct rtnl_link *link; in rtnl_link_bond_alloc() local 37 if (!(link = rtnl_link_alloc())) in rtnl_link_bond_alloc() 40 if ((err = rtnl_link_set_type(link, "bond")) < 0) { in rtnl_link_bond_alloc() 41 rtnl_link_put(link); in rtnl_link_bond_alloc() 45 return link; in rtnl_link_bond_alloc() 75 struct rtnl_link *link; in rtnl_link_bond_add() local 78 if (!(link = rtnl_link_bond_alloc())) in rtnl_link_bond_add() 85 rtnl_link_set_name(link, name); in rtnl_link_bond_add() 87 err = rtnl_link_add(sock, link, NLM_F_CREATE); in rtnl_link_bond_add() 89 rtnl_link_put(link); in rtnl_link_bond_add() [all …]
|
D | inet6.c | 25 static void *inet6_alloc(struct rtnl_link *link) in inet6_alloc() argument 30 static void *inet6_clone(struct rtnl_link *link, void *data) in inet6_clone() argument 34 if ((i6 = inet6_alloc(link))) in inet6_clone() 40 static void inet6_free(struct rtnl_link *link, void *data) in inet6_free() argument 131 static int inet6_parse_protinfo(struct rtnl_link *link, struct nlattr *attr, in inet6_parse_protinfo() argument 183 rtnl_link_set_stat(link, map_stat_id[i], stat); in inet6_parse_protinfo() 195 rtnl_link_set_stat(link, RTNL_LINK_ICMP6_INMSGS + i - 1, in inet6_parse_protinfo() 263 static void inet6_dump_details(struct rtnl_link *link, in inet6_dump_details() argument 334 static void inet6_dump_stats(struct rtnl_link *link, in inet6_dump_stats() argument 342 nl_dump(p, " %18" PRIu64 " ", link->l_stats[RTNL_LINK_IP6_INPKTS]); in inet6_dump_stats() [all …]
|
/external/pdfium/third_party/libtiff/ |
D | tif_extension.c | 69 TIFFClientInfoLink *link = tif->tif_clientinfo; in TIFFGetClientInfo() local 71 while( link != NULL && strcmp(link->name,name) != 0 ) in TIFFGetClientInfo() 72 link = link->next; in TIFFGetClientInfo() 74 if( link != NULL ) in TIFFGetClientInfo() 75 return link->data; in TIFFGetClientInfo() 83 TIFFClientInfoLink *link = tif->tif_clientinfo; in TIFFSetClientInfo() local 89 while( link != NULL && strcmp(link->name,name) != 0 ) in TIFFSetClientInfo() 90 link = link->next; in TIFFSetClientInfo() 92 if( link != NULL ) in TIFFSetClientInfo() 94 link->data = data; in TIFFSetClientInfo() [all …]
|
/external/libnl/include/netlink/route/link/ |
D | ipgre.h | 25 extern int rtnl_link_ipgre_set_link(struct rtnl_link *link, uint32_t index); 26 extern uint32_t rtnl_link_ipgre_get_link(struct rtnl_link *link); 28 extern int rtnl_link_ipgre_set_iflags(struct rtnl_link *link, uint16_t iflags); 29 extern uint16_t rtnl_link_ipgre_get_iflags(struct rtnl_link *link); 31 extern int rtnl_link_ipgre_set_oflags(struct rtnl_link *link, uint16_t oflags); 32 extern uint16_t rtnl_link_ipgre_get_oflags(struct rtnl_link *link); 34 extern int rtnl_link_ipgre_set_ikey(struct rtnl_link *link, uint32_t ikey); 35 extern uint32_t rtnl_link_ipgre_get_ikey(struct rtnl_link *link); 37 extern int rtnl_link_ipgre_set_okey(struct rtnl_link *link, uint32_t okey); 38 extern uint32_t rtnl_link_ipgre_get_okey(struct rtnl_link *link); [all …]
|
D | ip6tnl.h | 25 extern int rtnl_link_ip6_tnl_set_link(struct rtnl_link *link, uint32_t index); 26 extern uint32_t rtnl_link_ip6_tnl_get_link(struct rtnl_link *link); 28 extern int rtnl_link_ip6_tnl_set_local(struct rtnl_link *link, struct in6_addr *); 29 extern int rtnl_link_ip6_tnl_get_local(struct rtnl_link *link, struct in6_addr *addr); 31 extern int rtnl_link_ip6_tnl_set_remote(struct rtnl_link *link, struct in6_addr *); 32 extern int rtnl_link_ip6_tnl_get_remote(struct rtnl_link *link, struct in6_addr *); 34 extern int rtnl_link_ip6_tnl_set_ttl(struct rtnl_link *link, uint8_t ttl); 35 extern uint8_t rtnl_link_ip6_tnl_get_ttl(struct rtnl_link *link); 37 extern int rtnl_link_ip6_tnl_set_tos(struct rtnl_link *link, uint8_t tos); 38 extern uint8_t rtnl_link_ip6_tnl_get_tos(struct rtnl_link *link); [all …]
|
D | sit.h | 25 extern int rtnl_link_sit_set_link(struct rtnl_link *link, uint32_t index); 26 extern uint32_t rtnl_link_sit_get_link(struct rtnl_link *link); 28 extern int rtnl_link_sit_set_local(struct rtnl_link *link, uint32_t addr); 29 extern uint32_t rtnl_link_get_sit_local(struct rtnl_link *link); 31 extern int rtnl_link_sit_set_remote(struct rtnl_link *link, uint32_t addr); 32 extern uint32_t rtnl_link_sit_get_remote(struct rtnl_link *link); 34 extern int rtnl_link_sit_set_ttl(struct rtnl_link *link, uint8_t ttl); 35 extern uint8_t rtnl_link_sit_get_ttl(struct rtnl_link *link); 37 extern int rtnl_link_sit_set_tos(struct rtnl_link *link, uint8_t tos); 38 extern uint8_t rtnl_link_sit_get_tos(struct rtnl_link *link); [all …]
|
/external/libnl/doc/ |
D | route.txt | 24 The link configuration interface is part of the +NETLINK_ROUTE+ protocol 30 - View and modify per link network configuration settings (e.g. 33 .Naming Convention (network device, link, interface) 44 This section describes the protocol semantics of the netlink based link 51 | Reply to +RTM_GETLINK+ request or notification of link added or updated 53 | Notification of link deleted or disappeared 54 | +RTM_GETLINK+ | Retrieve link configuration and statistics | 55 | +RTM_SETLINK+ | Modify link configuration | 58 See link:core.html#core_msg_types[Netlink Library - Message Types] for more 63 All netlink link messages share a common header (+struct ifinfomsg+) which [all …]
|
/external/libnl/src/lib/ |
D | link.c | 25 struct rtnl_link *link; in nl_cli_link_alloc() local 27 link = rtnl_link_alloc(); in nl_cli_link_alloc() 28 if (!link) in nl_cli_link_alloc() 31 return link; in nl_cli_link_alloc() 53 void nl_cli_link_parse_family(struct rtnl_link *link, char *arg) in nl_cli_link_parse_family() argument 61 rtnl_link_set_family(link, family); in nl_cli_link_parse_family() 64 void nl_cli_link_parse_name(struct rtnl_link *link, char *arg) in nl_cli_link_parse_name() argument 66 rtnl_link_set_name(link, arg); in nl_cli_link_parse_name() 69 void nl_cli_link_parse_mtu(struct rtnl_link *link, char *arg) in nl_cli_link_parse_mtu() argument 72 rtnl_link_set_mtu(link, mtu); in nl_cli_link_parse_mtu() [all …]
|
/external/libxml2/result/ |
D | slashdot.rdf.rde | 13 2 1 link 0 0 15 2 15 link 0 0 40 2 1 link 0 0 42 2 15 link 0 0 57 2 1 link 0 0 59 2 15 link 0 0 74 2 1 link 0 0 76 2 15 link 0 0 91 2 1 link 0 0 93 2 15 link 0 0 [all …]
|
D | slashdot.rdf.rdr | 13 2 1 link 0 0 15 2 15 link 0 0 40 2 1 link 0 0 42 2 15 link 0 0 57 2 1 link 0 0 59 2 15 link 0 0 74 2 1 link 0 0 76 2 15 link 0 0 91 2 1 link 0 0 93 2 15 link 0 0 [all …]
|
/external/bison/lib/ |
D | fd-hook.c | 71 register_fd_hook (close_hook_fn close_hook, ioctl_hook_fn ioctl_hook, struct fd_hook *link) in register_fd_hook() argument 78 if (link->private_next == NULL && link->private_prev == NULL) in register_fd_hook() 81 link->private_next = anchor.private_next; in register_fd_hook() 82 link->private_prev = &anchor; in register_fd_hook() 83 link->private_close_fn = close_hook; in register_fd_hook() 84 link->private_ioctl_fn = ioctl_hook; in register_fd_hook() 85 anchor.private_next->private_prev = link; in register_fd_hook() 86 anchor.private_next = link; in register_fd_hook() 91 if (link->private_close_fn != close_hook in register_fd_hook() 92 || link->private_ioctl_fn != ioctl_hook) in register_fd_hook() [all …]
|
/external/jemalloc/test/unit/ |
D | ql.c | 10 ql_elm(list_t) link; 21 assert_ptr_null(ql_last(head, link), in test_empty_list() 25 ql_foreach(t, head, link) { in test_empty_list() 31 ql_reverse_foreach(t, head, link) { in test_empty_list() 53 ql_elm_new(&entries[i], link); in init_entries() 64 assert_c_eq(ql_last(head, link)->id, entries[nentries-1].id, in test_entries_list() 68 ql_foreach(t, head, link) { in test_entries_list() 74 ql_reverse_foreach(t, head, link) { in test_entries_list() 81 t = ql_next(head, &entries[i], link); in test_entries_list() 84 assert_ptr_null(ql_next(head, &entries[nentries-1], link), in test_entries_list() [all …]
|
D | qr.c | 11 qr(ring_t) link; 21 qr_new(&entries[i], link); in init_entries() 34 qr_foreach(t, &entries[i], link) { in test_independent_entries() 43 qr_reverse_foreach(t, &entries[i], link) { in test_independent_entries() 51 t = qr_next(&entries[i], link); in test_independent_entries() 57 t = qr_prev(&entries[i], link); in test_independent_entries() 81 qr_foreach(t, &entries[i], link) { in test_entries_ring() 89 qr_reverse_foreach(t, &entries[i], link) { in test_entries_ring() 96 t = qr_next(&entries[i], link); in test_entries_ring() 101 t = qr_prev(&entries[i], link); in test_entries_ring() [all …]
|