Lines Matching refs:rtnl_addr
25 struct rtnl_addr;
28 extern struct rtnl_addr *rtnl_addr_alloc(void);
29 extern void rtnl_addr_put(struct rtnl_addr *);
33 extern int rtnl_addr_build_add_request(struct rtnl_addr *, int,
35 extern int rtnl_addr_add(struct nl_sock *, struct rtnl_addr *, int);
37 extern int rtnl_addr_build_delete_request(struct rtnl_addr *, int,
40 struct rtnl_addr *, int);
45 extern int rtnl_addr_set_label(struct rtnl_addr *, const char *);
46 extern char * rtnl_addr_get_label(struct rtnl_addr *);
48 extern void rtnl_addr_set_ifindex(struct rtnl_addr *, int);
49 extern int rtnl_addr_get_ifindex(struct rtnl_addr *);
51 extern void rtnl_addr_set_family(struct rtnl_addr *, int);
52 extern int rtnl_addr_get_family(struct rtnl_addr *);
54 extern void rtnl_addr_set_prefixlen(struct rtnl_addr *, int);
55 extern int rtnl_addr_get_prefixlen(struct rtnl_addr *);
57 extern void rtnl_addr_set_scope(struct rtnl_addr *, int);
58 extern int rtnl_addr_get_scope(struct rtnl_addr *);
60 extern void rtnl_addr_set_flags(struct rtnl_addr *, unsigned int);
61 extern void rtnl_addr_unset_flags(struct rtnl_addr *, unsigned int);
62 extern unsigned int rtnl_addr_get_flags(struct rtnl_addr *);
64 extern int rtnl_addr_set_local(struct rtnl_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 *);
80 extern uint32_t rtnl_addr_get_valid_lifetime(struct rtnl_addr *);
81 extern void rtnl_addr_set_valid_lifetime(struct rtnl_addr *, uint32_t);
82 extern uint32_t rtnl_addr_get_preferred_lifetime(struct rtnl_addr *);
83 extern void rtnl_addr_set_preferred_lifetime(struct rtnl_addr *, uint32_t);
84 extern uint32_t rtnl_addr_get_create_time(struct rtnl_addr *);
85 extern uint32_t rtnl_addr_get_last_update_time(struct rtnl_addr *);