/external/libnl/include/netlink/ |
D | addr.h | 21 struct nl_addr; 24 extern struct nl_addr * nl_addr_alloc(size_t); 25 extern struct nl_addr * nl_addr_alloc_attr(struct nlattr *, int); 26 extern struct nl_addr * nl_addr_build(int, void *, size_t); 27 extern int nl_addr_parse(const char *, int, struct nl_addr **); 28 extern struct nl_addr * nl_addr_clone(struct nl_addr *); 31 extern struct nl_addr * nl_addr_get(struct nl_addr *); 32 extern void nl_addr_put(struct nl_addr *); 33 extern int nl_addr_shared(struct nl_addr *); 35 extern int nl_addr_cmp(struct nl_addr *, struct nl_addr *); [all …]
|
/external/libnl/include/netlink/route/ |
D | addr.h | 34 rtnl_addr_get(struct nl_cache *, int, struct nl_addr *); 72 struct nl_addr *); 73 extern struct nl_addr *rtnl_addr_get_local(struct rtnl_addr *); 75 extern int rtnl_addr_set_peer(struct rtnl_addr *, struct nl_addr *); 76 extern struct nl_addr *rtnl_addr_get_peer(struct rtnl_addr *); 78 extern int rtnl_addr_set_broadcast(struct rtnl_addr *, struct nl_addr *); 79 extern struct nl_addr *rtnl_addr_get_broadcast(struct rtnl_addr *); 81 extern int rtnl_addr_set_multicast(struct rtnl_addr *, struct nl_addr *); 82 extern struct nl_addr *rtnl_addr_get_multicast(struct rtnl_addr *); 84 extern int rtnl_addr_set_anycast(struct rtnl_addr *, struct nl_addr *); [all …]
|
D | neighbour.h | 30 struct nl_addr *); 64 struct nl_addr *); 65 extern struct nl_addr * rtnl_neigh_get_lladdr(struct rtnl_neigh *); 68 struct nl_addr *); 69 extern struct nl_addr * rtnl_neigh_get_dst(struct rtnl_neigh *);
|
D | route.h | 88 extern int rtnl_route_set_dst(struct rtnl_route *, struct nl_addr *); 89 extern struct nl_addr *rtnl_route_get_dst(struct rtnl_route *); 90 extern int rtnl_route_set_src(struct rtnl_route *, struct nl_addr *); 91 extern struct nl_addr *rtnl_route_get_src(struct rtnl_route *); 92 extern int rtnl_route_set_pref_src(struct rtnl_route *, struct nl_addr *); 93 extern struct nl_addr *rtnl_route_get_pref_src(struct rtnl_route *);
|
D | rule.h | 56 extern int rtnl_rule_set_src(struct rtnl_rule *, struct nl_addr *); 57 extern struct nl_addr * rtnl_rule_get_src(struct rtnl_rule *); 58 extern int rtnl_rule_set_dst(struct rtnl_rule *, struct nl_addr *); 59 extern struct nl_addr * rtnl_rule_get_dst(struct rtnl_rule *);
|
D | link.h | 185 extern void rtnl_link_set_addr(struct rtnl_link *, struct nl_addr *); 186 extern struct nl_addr *rtnl_link_get_addr(struct rtnl_link *); 188 extern void rtnl_link_set_broadcast(struct rtnl_link *, struct nl_addr *); 189 extern struct nl_addr *rtnl_link_get_broadcast(struct rtnl_link *);
|
D | nexthop.h | 47 struct nl_addr *); 48 extern struct nl_addr * rtnl_route_nh_get_gateway(struct rtnl_nexthop *);
|
/external/libnl/lib/ |
D | addr.c | 156 static void addr_destroy(struct nl_addr *addr) in addr_destroy() 185 struct nl_addr *nl_addr_alloc(size_t maxsize) in nl_addr_alloc() 187 struct nl_addr *addr; in nl_addr_alloc() 216 struct nl_addr *nl_addr_build(int family, void *buf, size_t size) in nl_addr_build() 218 struct nl_addr *addr; in nl_addr_build() 255 struct nl_addr *nl_addr_alloc_attr(struct nlattr *nla, int family) in nl_addr_alloc_attr() 291 int nl_addr_parse(const char *addrstr, int hint, struct nl_addr **result) in nl_addr_parse() 295 struct nl_addr *addr = NULL; /* gcc ain't that smart */ in nl_addr_parse() 471 struct nl_addr *nl_addr_clone(struct nl_addr *addr) in nl_addr_clone() 473 struct nl_addr *new; in nl_addr_clone() [all …]
|
/external/libnl/python/netlink/route/ |
D | capi.i | 119 extern void rtnl_link_set_addr(struct rtnl_link *, struct nl_addr *); 120 extern struct nl_addr *rtnl_link_get_addr(struct rtnl_link *); 122 extern void rtnl_link_set_broadcast(struct rtnl_link *, struct nl_addr *); 123 extern struct nl_addr *rtnl_link_get_broadcast(struct rtnl_link *); 204 extern int rtnl_link_vxlan_set_group(struct rtnl_link *, struct nl_addr *); 205 extern int rtnl_link_vxlan_get_group(struct rtnl_link *, struct nl_addr **); 210 extern int rtnl_link_vxlan_set_local(struct rtnl_link *, struct nl_addr *); 211 extern int rtnl_link_vxlan_get_local(struct rtnl_link *, struct nl_addr **); 449 rtnl_addr_get(struct nl_cache *, int, struct nl_addr *); 487 struct nl_addr *); [all …]
|
/external/libnl/include/netlink-private/ |
D | types.h | 123 struct nl_addr struct 172 struct nl_addr * l_addr; 173 struct nl_addr * l_bcast; 216 struct nl_addr *n_lladdr; 217 struct nl_addr *n_dst; 251 struct nl_addr *a_peer; 252 struct nl_addr *a_local; 253 struct nl_addr *a_bcast; 254 struct nl_addr *a_anycast; 255 struct nl_addr *a_multicast; [all …]
|
/external/libnl/python/netlink/ |
D | capi.i | 424 struct nl_addr *addr_parse(const char *addr, int guess) in addr_parse() 426 struct nl_addr *result; in addr_parse() 435 extern struct nl_addr *nl_addr_alloc(size_t); 436 extern struct nl_addr *nl_addr_alloc_attr(struct nlattr *, int); 437 extern struct nl_addr *nl_addr_build(int, void *, size_t); 438 extern struct nl_addr *nl_addr_clone(struct nl_addr *); 440 extern struct nl_addr *nl_addr_get(struct nl_addr *); 441 extern void nl_addr_put(struct nl_addr *); 442 extern int nl_addr_shared(struct nl_addr *); 444 extern int nl_addr_cmp(struct nl_addr *, struct nl_addr *); [all …]
|
/external/libnl/include/netlink/idiag/ |
D | req.h | 40 extern struct nl_addr * idiagnl_req_get_src(const struct idiagnl_req *); 42 struct nl_addr *); 43 extern struct nl_addr * idiagnl_req_get_dst(const struct idiagnl_req *); 45 struct nl_addr *);
|
D | msg.h | 41 extern struct nl_addr * idiagnl_msg_get_src(const struct idiagnl_msg *); 43 struct nl_addr *); 44 extern struct nl_addr * idiagnl_msg_get_dst(const struct idiagnl_msg *); 46 struct nl_addr *);
|
/external/libnl/include/netlink/route/link/ |
D | vxlan.h | 31 extern int rtnl_link_vxlan_set_group(struct rtnl_link *, struct nl_addr *); 32 extern int rtnl_link_vxlan_get_group(struct rtnl_link *, struct nl_addr **); 37 extern int rtnl_link_vxlan_set_local(struct rtnl_link *, struct nl_addr *); 38 extern int rtnl_link_vxlan_get_local(struct rtnl_link *, struct nl_addr **);
|
/external/libnl/include/netlink/netfilter/ |
D | exp.h | 102 extern int nfnl_exp_set_src(struct nfnl_exp *, int, struct nl_addr *); 104 extern struct nl_addr * nfnl_exp_get_src(const struct nfnl_exp *, int); 106 extern int nfnl_exp_set_dst(struct nfnl_exp *, int, struct nl_addr *); 108 extern struct nl_addr * nfnl_exp_get_dst(const struct nfnl_exp *, int);
|
D | ct.h | 98 extern int nfnl_ct_set_src(struct nfnl_ct *, int, struct nl_addr *); 99 extern struct nl_addr * nfnl_ct_get_src(const struct nfnl_ct *, int); 101 extern int nfnl_ct_set_dst(struct nfnl_ct *, int, struct nl_addr *); 102 extern struct nl_addr * nfnl_ct_get_dst(const struct nfnl_ct *, int);
|
/external/libnl/tests/ |
D | check-addr.c | 17 struct nl_addr *addr; in START_TEST() 55 struct nl_addr *addr, *addr2; in START_TEST() 102 struct nl_addr *addr4, *clone; in START_TEST() 143 struct nl_addr *addr6, *clone; in START_TEST() 184 struct nl_addr *addr; in START_TEST()
|
/external/libnl/lib/route/ |
D | addr.c | 204 struct nl_addr *plen_addr = NULL; in addr_msg_parser() 253 struct nl_addr *a; in addr_msg_parser() 525 struct nl_addr *addr) in rtnl_addr_get() 905 static inline int __assign_addr(struct rtnl_addr *addr, struct nl_addr **pos, in __assign_addr() 906 struct nl_addr *new, int flag) in __assign_addr() 931 int rtnl_addr_set_local(struct rtnl_addr *addr, struct nl_addr *local) in rtnl_addr_set_local() 951 struct nl_addr *rtnl_addr_get_local(struct rtnl_addr *addr) in rtnl_addr_get_local() 956 int rtnl_addr_set_peer(struct rtnl_addr *addr, struct nl_addr *peer) in rtnl_addr_set_peer() 972 struct nl_addr *rtnl_addr_get_peer(struct rtnl_addr *addr) in rtnl_addr_get_peer() 977 int rtnl_addr_set_broadcast(struct rtnl_addr *addr, struct nl_addr *bcast) in rtnl_addr_set_broadcast() [all …]
|
D | neigh.c | 208 struct nl_addr *addr = NULL; in neigh_keygen() 541 struct nl_addr *dst) in rtnl_neigh_get() 835 static inline int __assign_addr(struct rtnl_neigh *neigh, struct nl_addr **pos, in __assign_addr() 836 struct nl_addr *new, int flag, int nocheck) in __assign_addr() 859 void rtnl_neigh_set_lladdr(struct rtnl_neigh *neigh, struct nl_addr *addr) in rtnl_neigh_set_lladdr() 864 struct nl_addr *rtnl_neigh_get_lladdr(struct rtnl_neigh *neigh) in rtnl_neigh_get_lladdr() 872 int rtnl_neigh_set_dst(struct rtnl_neigh *neigh, struct nl_addr *addr) in rtnl_neigh_set_dst() 878 struct nl_addr *rtnl_neigh_get_dst(struct rtnl_neigh *neigh) in rtnl_neigh_get_dst()
|
/external/libnl/lib/idiag/ |
D | idiag_req_obj.c | 94 struct nl_addr *idiagnl_req_get_src(const struct idiagnl_req *req) in idiagnl_req_get_src() 99 int idiagnl_req_set_src(struct idiagnl_req *req, struct nl_addr *addr) in idiagnl_req_set_src() 110 struct nl_addr *idiagnl_req_get_dst(const struct idiagnl_req *req) in idiagnl_req_get_dst() 115 int idiagnl_req_set_dst(struct idiagnl_req *req, struct nl_addr *addr) in idiagnl_req_set_dst() 193 struct nl_addr *src = NULL, *dst = NULL; in idiagnl_req_parse()
|
/external/libnl/src/lib/ |
D | addr.c | 43 struct nl_addr *a; in nl_cli_addr_parse_local() 76 struct nl_addr *a; in nl_cli_addr_parse_peer() 99 struct nl_addr *a; in nl_cli_addr_parse_broadcast()
|
D | route.c | 57 struct nl_addr *addr; in nl_cli_route_parse_dst() 70 struct nl_addr *addr; in nl_cli_route_parse_src() 83 struct nl_addr *addr; in nl_cli_route_parse_pref_src() 153 struct nl_addr *addr; in nl_cli_route_parse_nexthop()
|
D | neigh.c | 35 struct nl_addr *a; in nl_cli_neigh_parse_dst() 48 struct nl_addr *a; in nl_cli_neigh_parse_lladdr()
|
/external/libnl/include/netlink/fib_lookup/ |
D | request.h | 41 struct nl_addr *); 42 extern struct nl_addr * flnl_request_get_addr(struct flnl_request *);
|
/external/libnl/lib/netfilter/ |
D | exp_obj.c | 88 struct nl_addr *addr; in exp_clone() 159 static void dump_addr(struct nl_dump_params *p, struct nl_addr *addr, int port) in dump_addr() 186 struct nl_addr *tuple_src, *tuple_dst; in exp_dump_tuples() 661 static int exp_set_addr(struct nfnl_exp *exp, struct nl_addr *addr, in exp_set_addr() 662 int attr, struct nl_addr ** exp_addr) in exp_set_addr() 680 int nfnl_exp_set_src(struct nfnl_exp *exp, int tuple, struct nl_addr *addr) in nfnl_exp_set_src() 687 int nfnl_exp_set_dst(struct nfnl_exp *exp, int tuple, struct nl_addr *addr) in nfnl_exp_set_dst() 704 struct nl_addr *nfnl_exp_get_src(const struct nfnl_exp *exp, int tuple) in nfnl_exp_get_src() 713 struct nl_addr *nfnl_exp_get_dst(const struct nfnl_exp *exp, int tuple) in nfnl_exp_get_dst()
|