/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 void nl_addr_destroy(struct nl_addr *); 34 extern struct nl_addr * nl_addr_get(struct nl_addr *); 35 extern void nl_addr_put(struct nl_addr *); 36 extern int nl_addr_shared(struct nl_addr *); [all …]
|
/external/libnl/include/netlink/route/ |
D | addr.h | 65 struct nl_addr *); 66 extern struct nl_addr *rtnl_addr_get_local(struct rtnl_addr *); 68 extern int rtnl_addr_set_peer(struct rtnl_addr *, struct nl_addr *); 69 extern struct nl_addr *rtnl_addr_get_peer(struct rtnl_addr *); 71 extern int rtnl_addr_set_broadcast(struct rtnl_addr *, struct nl_addr *); 72 extern struct nl_addr *rtnl_addr_get_broadcast(struct rtnl_addr *); 74 extern int rtnl_addr_set_multicast(struct rtnl_addr *, struct nl_addr *); 75 extern struct nl_addr *rtnl_addr_get_multicast(struct rtnl_addr *); 77 extern int rtnl_addr_set_anycast(struct rtnl_addr *, struct nl_addr *); 78 extern struct nl_addr *rtnl_addr_get_anycast(struct rtnl_addr *);
|
D | neighbour.h | 30 struct nl_addr *); 62 struct nl_addr *); 63 extern struct nl_addr * rtnl_neigh_get_lladdr(struct rtnl_neigh *); 66 struct nl_addr *); 67 extern struct nl_addr * rtnl_neigh_get_dst(struct rtnl_neigh *);
|
D | route.h | 84 extern int rtnl_route_set_dst(struct rtnl_route *, struct nl_addr *); 85 extern struct nl_addr *rtnl_route_get_dst(struct rtnl_route *); 86 extern int rtnl_route_set_src(struct rtnl_route *, struct nl_addr *); 87 extern struct nl_addr *rtnl_route_get_src(struct rtnl_route *); 88 extern int rtnl_route_set_pref_src(struct rtnl_route *, struct nl_addr *); 89 extern struct nl_addr *rtnl_route_get_pref_src(struct rtnl_route *);
|
D | rule.h | 53 extern int rtnl_rule_set_src(struct rtnl_rule *, struct nl_addr *); 54 extern struct nl_addr * rtnl_rule_get_src(struct rtnl_rule *); 55 extern int rtnl_rule_set_dst(struct rtnl_rule *, struct nl_addr *); 56 extern struct nl_addr * rtnl_rule_get_dst(struct rtnl_rule *);
|
D | link.h | 118 extern void rtnl_link_set_addr(struct rtnl_link *, struct nl_addr *); 119 extern struct nl_addr *rtnl_link_get_addr(struct rtnl_link *); 121 extern void rtnl_link_set_broadcast(struct rtnl_link *, struct nl_addr *); 122 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 | 164 struct nl_addr *nl_addr_alloc(size_t maxsize) in nl_addr_alloc() 166 struct nl_addr *addr; in nl_addr_alloc() 185 struct nl_addr *nl_addr_build(int family, void *buf, size_t size) in nl_addr_build() 187 struct nl_addr *addr; in nl_addr_build() 213 struct nl_addr *nl_addr_alloc_attr(struct nlattr *nla, int family) in nl_addr_alloc_attr() 245 int nl_addr_parse(const char *addrstr, int hint, struct nl_addr **result) in nl_addr_parse() 249 struct nl_addr *addr = NULL; /* gcc ain't that smart */ in nl_addr_parse() 420 struct nl_addr *nl_addr_clone(struct nl_addr *addr) in nl_addr_clone() 422 struct nl_addr *new; in nl_addr_clone() 442 void nl_addr_destroy(struct nl_addr *addr) in nl_addr_destroy() [all …]
|
/external/libnl/include/ |
D | netlink-types.h | 115 struct nl_addr struct 165 struct nl_addr *l_addr; 166 struct nl_addr *l_bcast; 195 struct nl_addr *n_lladdr; 196 struct nl_addr *n_dst; 229 struct nl_addr *a_peer; 230 struct nl_addr *a_local; 231 struct nl_addr *a_bcast; 232 struct nl_addr *a_anycast; 233 struct nl_addr *a_multicast; [all …]
|
/external/libnl/include/netlink/netfilter/ |
D | ct.h | 88 extern int nfnl_ct_set_src(struct nfnl_ct *, int, struct nl_addr *); 89 extern struct nl_addr * nfnl_ct_get_src(const struct nfnl_ct *, int); 91 extern int nfnl_ct_set_dst(struct nfnl_ct *, int, struct nl_addr *); 92 extern struct nl_addr * nfnl_ct_get_dst(const struct nfnl_ct *, int);
|
/external/libnl/lib/route/ |
D | addr.c | 242 struct nl_addr *a; in addr_msg_parser() 849 static inline int __assign_addr(struct rtnl_addr *addr, struct nl_addr **pos, in __assign_addr() 850 struct nl_addr *new, int flag) in __assign_addr() 867 int rtnl_addr_set_local(struct rtnl_addr *addr, struct nl_addr *local) in rtnl_addr_set_local() 883 struct nl_addr *rtnl_addr_get_local(struct rtnl_addr *addr) in rtnl_addr_get_local() 888 int rtnl_addr_set_peer(struct rtnl_addr *addr, struct nl_addr *peer) in rtnl_addr_set_peer() 898 struct nl_addr *rtnl_addr_get_peer(struct rtnl_addr *addr) in rtnl_addr_get_peer() 903 int rtnl_addr_set_broadcast(struct rtnl_addr *addr, struct nl_addr *bcast) in rtnl_addr_set_broadcast() 908 struct nl_addr *rtnl_addr_get_broadcast(struct rtnl_addr *addr) in rtnl_addr_get_broadcast() 913 int rtnl_addr_set_multicast(struct rtnl_addr *addr, struct nl_addr *multicast) in rtnl_addr_set_multicast() [all …]
|
D | neigh.c | 476 struct nl_addr *dst) in rtnl_neigh_get() 762 static inline int __assign_addr(struct rtnl_neigh *neigh, struct nl_addr **pos, in __assign_addr() 763 struct nl_addr *new, int flag, int nocheck) in __assign_addr() 786 void rtnl_neigh_set_lladdr(struct rtnl_neigh *neigh, struct nl_addr *addr) in rtnl_neigh_set_lladdr() 791 struct nl_addr *rtnl_neigh_get_lladdr(struct rtnl_neigh *neigh) in rtnl_neigh_get_lladdr() 799 int rtnl_neigh_set_dst(struct rtnl_neigh *neigh, struct nl_addr *addr) in rtnl_neigh_set_dst() 805 struct nl_addr *rtnl_neigh_get_dst(struct rtnl_neigh *neigh) in rtnl_neigh_get_dst()
|
D | rule.c | 659 static inline int __assign_addr(struct rtnl_rule *rule, struct nl_addr **pos, in __assign_addr() 660 struct nl_addr *new, uint8_t *len, int flag) in __assign_addr() 680 int rtnl_rule_set_src(struct rtnl_rule *rule, struct nl_addr *src) in rtnl_rule_set_src() 686 struct nl_addr *rtnl_rule_get_src(struct rtnl_rule *rule) in rtnl_rule_get_src() 694 int rtnl_rule_set_dst(struct rtnl_rule *rule, struct nl_addr *dst) in rtnl_rule_set_dst() 700 struct nl_addr *rtnl_rule_get_dst(struct rtnl_rule *rule) in rtnl_rule_get_dst()
|
D | nexthop.c | 254 void rtnl_route_nh_set_gateway(struct rtnl_nexthop *nh, struct nl_addr *addr) in rtnl_route_nh_set_gateway() 256 struct nl_addr *old = nh->rtnh_gateway; in rtnl_route_nh_set_gateway() 270 struct nl_addr *rtnl_route_nh_get_gateway(struct rtnl_nexthop *nh) in rtnl_route_nh_get_gateway()
|
D | route_obj.c | 583 int rtnl_route_set_dst(struct rtnl_route *route, struct nl_addr *addr) in rtnl_route_set_dst() 602 struct nl_addr *rtnl_route_get_dst(struct rtnl_route *route) in rtnl_route_get_dst() 607 int rtnl_route_set_src(struct rtnl_route *route, struct nl_addr *addr) in rtnl_route_set_src() 628 struct nl_addr *rtnl_route_get_src(struct rtnl_route *route) in rtnl_route_get_src() 712 int rtnl_route_set_pref_src(struct rtnl_route *route, struct nl_addr *addr) in rtnl_route_set_pref_src() 730 struct nl_addr *rtnl_route_get_pref_src(struct rtnl_route *route) in rtnl_route_get_pref_src() 877 struct nl_addr *addr; in parse_multipath() 916 struct nl_addr *src = NULL, *dst = NULL, *addr; in rtnl_route_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()
|
D | utils.c | 85 struct nl_addr *nl_cli_addr_parse(const char *str, int family) in nl_cli_addr_parse() 87 struct nl_addr *addr; in nl_cli_addr_parse()
|
D | ct.c | 89 struct nl_addr *a = nl_cli_addr_parse(arg, nfnl_ct_get_family(ct)); in nl_cli_ct_parse_src() 98 struct nl_addr *a = nl_cli_addr_parse(arg, nfnl_ct_get_family(ct)); in nl_cli_ct_parse_dst()
|
/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 | ct_obj.c | 73 struct nl_addr *addr; in ct_clone() 106 static void dump_addr(struct nl_dump_params *p, struct nl_addr *addr, int port) in dump_addr() 133 struct nl_addr *orig_src, *orig_dst, *reply_src, *reply_dst; in ct_dump_tuples() 564 static int ct_set_addr(struct nfnl_ct *ct, struct nl_addr *addr, in ct_set_addr() 565 int attr, struct nl_addr ** ct_addr) in ct_set_addr() 583 int nfnl_ct_set_src(struct nfnl_ct *ct, int repl, struct nl_addr *addr) in nfnl_ct_set_src() 590 int nfnl_ct_set_dst(struct nfnl_ct *ct, int repl, struct nl_addr *addr) in nfnl_ct_set_dst() 597 struct nl_addr *nfnl_ct_get_src(const struct nfnl_ct *ct, int repl) in nfnl_ct_get_src() 606 struct nl_addr *nfnl_ct_get_dst(const struct nfnl_ct *ct, int repl) in nfnl_ct_get_dst()
|
/external/libnl/lib/fib_lookup/ |
D | request.c | 150 int flnl_request_set_addr(struct flnl_request *req, struct nl_addr *addr) in flnl_request_set_addr() 166 struct nl_addr *flnl_request_get_addr(struct flnl_request *req) in flnl_request_get_addr()
|
/external/libnl/src/ |
D | nl-util-addr.c | 18 struct nl_addr *a; in main()
|
/external/libnl/include/netlink/cli/ |
D | utils.h | 66 extern struct nl_addr * nl_cli_addr_parse(const char *, int);
|