Home
last modified time | relevance | path

Searched refs:rtnl_act (Results 1 – 18 of 18) sorted by relevance

/third_party/libnl/include/netlink/route/
Daction.h24 extern struct rtnl_act *rtnl_act_alloc(void);
25 extern struct rtnl_act *rtnl_act_next(struct rtnl_act *);
26 extern void rtnl_act_get(struct rtnl_act *);
27 extern void rtnl_act_put(struct rtnl_act *);
28 extern int rtnl_act_build_add_request(struct rtnl_act *, int,
30 extern int rtnl_act_add(struct nl_sock *, struct rtnl_act *, int);
31 extern int rtnl_act_change(struct nl_sock *, struct rtnl_act *, int);
33 extern int rtnl_act_build_change_request(struct rtnl_act *, int,
35 extern int rtnl_act_build_delete_request(struct rtnl_act *, int,
37 extern int rtnl_act_delete(struct nl_sock *, struct rtnl_act *,
[all …]
/third_party/libnl/lib/route/
Dact.c31 struct rtnl_act * rtnl_act_next(struct rtnl_act *act) in rtnl_act_next()
40 int rtnl_act_append(struct rtnl_act **head, struct rtnl_act *new) in rtnl_act_append()
42 struct rtnl_act *p_act; in rtnl_act_append()
63 int rtnl_act_remove(struct rtnl_act **head, struct rtnl_act *act) in rtnl_act_remove()
65 struct rtnl_act *a, **ap; in rtnl_act_remove()
79 static int rtnl_act_fill_one(struct nl_msg *msg, struct rtnl_act *act, int order) in rtnl_act_fill_one()
116 int rtnl_act_fill(struct nl_msg *msg, int attrtype, struct rtnl_act *act) in rtnl_act_fill()
118 struct rtnl_act *p_act = act; in rtnl_act_fill()
137 static int rtnl_act_msg_build(struct rtnl_act *act, int type, int flags, in rtnl_act_msg_build()
165 static int act_build(struct rtnl_act *act, int type, int flags, in act_build()
[all …]
/third_party/libnl/include/netlink/route/act/
Dvlan.h23 extern int rtnl_vlan_set_mode(struct rtnl_act *act, int mode);
24 extern int rtnl_vlan_get_mode(struct rtnl_act *act, int *out_mode);
25 extern int rtnl_vlan_set_action(struct rtnl_act *act, int action);
26 extern int rtnl_vlan_get_action(struct rtnl_act *act, int *out_action);
27 extern int rtnl_vlan_set_protocol(struct rtnl_act *act, uint16_t protocol);
28 extern int rtnl_vlan_get_protocol(struct rtnl_act *act, uint16_t *out_protocol);
29 extern int rtnl_vlan_set_vlan_id(struct rtnl_act *act, uint16_t vid);
30 extern int rtnl_vlan_get_vlan_id(struct rtnl_act *act, uint16_t *out_vid);
31 extern int rtnl_vlan_set_vlan_prio(struct rtnl_act *act, uint8_t prio);
32 extern int rtnl_vlan_get_vlan_prio(struct rtnl_act *act, uint8_t *out_prio);
Dskbedit.h24 extern int rtnl_skbedit_set_action(struct rtnl_act *act, int action);
25 extern int rtnl_skbedit_get_action(struct rtnl_act *act);
26 extern int rtnl_skbedit_set_queue_mapping(struct rtnl_act *act, uint16_t index);
27 extern int rtnl_skbedit_get_queue_mapping(struct rtnl_act *act, uint16_t *index);
28 extern int rtnl_skbedit_set_mark(struct rtnl_act *act, uint32_t mark);
29 extern int rtnl_skbedit_get_mark(struct rtnl_act *act, uint32_t *mark);
30 extern int rtnl_skbedit_set_priority(struct rtnl_act *act, uint32_t prio);
31 extern int rtnl_skbedit_get_priority(struct rtnl_act *act, uint32_t *prio);
Dmirred.h24 extern int rtnl_mirred_set_action(struct rtnl_act *, int);
25 extern int rtnl_mirred_get_action(struct rtnl_act *);
26 extern int rtnl_mirred_set_ifindex(struct rtnl_act *, uint32_t);
27 extern uint32_t rtnl_mirred_get_ifindex(struct rtnl_act *);
28 extern int rtnl_mirred_set_policy(struct rtnl_act *, int);
29 extern int rtnl_mirred_get_policy(struct rtnl_act *);
Dgact.h24 extern int rtnl_gact_set_action(struct rtnl_act *act, int action);
25 extern int rtnl_gact_get_action(struct rtnl_act *act);
/third_party/libnl/lib/route/act/
Dvlan.c202 int rtnl_vlan_set_mode(struct rtnl_act *act, int mode) in rtnl_vlan_set_mode()
224 int rtnl_vlan_get_mode(struct rtnl_act *act, int *out_mode) in rtnl_vlan_get_mode()
244 int rtnl_vlan_set_action(struct rtnl_act *act, int action) in rtnl_vlan_set_action()
263 int rtnl_vlan_get_action(struct rtnl_act *act, int *out_action) in rtnl_vlan_get_action()
283 int rtnl_vlan_set_protocol(struct rtnl_act *act, uint16_t protocol) in rtnl_vlan_set_protocol()
302 int rtnl_vlan_get_protocol(struct rtnl_act *act, uint16_t *out_protocol) in rtnl_vlan_get_protocol()
322 int rtnl_vlan_set_vlan_id(struct rtnl_act *act, uint16_t vid) in rtnl_vlan_set_vlan_id()
344 int rtnl_vlan_get_vlan_id(struct rtnl_act *act, uint16_t *out_vid) in rtnl_vlan_get_vlan_id()
364 int rtnl_vlan_set_vlan_prio(struct rtnl_act *act, uint8_t prio) in rtnl_vlan_set_vlan_prio()
386 int rtnl_vlan_get_vlan_prio(struct rtnl_act *act, uint8_t *out_prio) in rtnl_vlan_get_vlan_prio()
Dskbedit.c162 int rtnl_skbedit_set_action(struct rtnl_act *act, int action) in rtnl_skbedit_set_action()
176 int rtnl_skbedit_get_action(struct rtnl_act *act) in rtnl_skbedit_get_action()
185 int rtnl_skbedit_set_queue_mapping(struct rtnl_act *act, uint16_t index) in rtnl_skbedit_set_queue_mapping()
197 int rtnl_skbedit_get_queue_mapping(struct rtnl_act *act, uint16_t *index) in rtnl_skbedit_get_queue_mapping()
211 int rtnl_skbedit_set_mark(struct rtnl_act *act, uint32_t mark) in rtnl_skbedit_set_mark()
223 int rtnl_skbedit_get_mark(struct rtnl_act *act, uint32_t *mark) in rtnl_skbedit_get_mark()
237 int rtnl_skbedit_set_priority(struct rtnl_act *act, uint32_t prio) in rtnl_skbedit_set_priority()
249 int rtnl_skbedit_get_priority(struct rtnl_act *act, uint32_t *prio) in rtnl_skbedit_get_priority()
Dmirred.c131 int rtnl_mirred_set_action(struct rtnl_act *act, int action) in rtnl_mirred_set_action()
154 int rtnl_mirred_get_action(struct rtnl_act *act) in rtnl_mirred_get_action()
163 int rtnl_mirred_set_ifindex(struct rtnl_act *act, uint32_t ifindex) in rtnl_mirred_set_ifindex()
174 uint32_t rtnl_mirred_get_ifindex(struct rtnl_act *act) in rtnl_mirred_get_ifindex()
183 int rtnl_mirred_set_policy(struct rtnl_act *act, int policy) in rtnl_mirred_set_policy()
206 int rtnl_mirred_get_policy(struct rtnl_act *act) in rtnl_mirred_get_policy()
Dgact.c122 int rtnl_gact_set_action(struct rtnl_act *act, int action) in rtnl_gact_set_action()
146 int rtnl_gact_get_action(struct rtnl_act *act) in rtnl_gact_get_action()
/third_party/libnl/lib/route/cls/
Dmall.c98 int rtnl_mall_append_action(struct rtnl_cls *cls, struct rtnl_act *act) in rtnl_mall_append_action()
118 struct rtnl_act *rtnl_mall_get_first_action(struct rtnl_cls *cls) in rtnl_mall_get_first_action()
121 struct rtnl_act *act; in rtnl_mall_get_first_action()
135 int rtnl_mall_del_action(struct rtnl_cls *cls, struct rtnl_act *act) in rtnl_mall_del_action()
228 struct rtnl_act *next, *new; in mall_clone()
238 memcpy(dst->m_act, src->m_act, sizeof(struct rtnl_act)); in mall_clone()
241 new = (struct rtnl_act *) nl_object_clone((struct nl_object *) next); in mall_clone()
Dbasic.c39 struct rtnl_act * b_act;
220 int rtnl_basic_add_action(struct rtnl_cls *cls, struct rtnl_act *act) in rtnl_basic_add_action()
240 struct rtnl_act* rtnl_basic_get_action(struct rtnl_cls *cls) in rtnl_basic_get_action()
253 int rtnl_basic_del_action(struct rtnl_cls *cls, struct rtnl_act *act) in rtnl_basic_del_action()
Du32.c199 memcpy(dst->cu_act, src->cu_act, sizeof(struct rtnl_act)); in u32_clone()
526 int rtnl_u32_add_action(struct rtnl_cls *cls, struct rtnl_act *act) in rtnl_u32_add_action()
546 struct rtnl_act* rtnl_u32_get_action(struct rtnl_cls *cls) in rtnl_u32_get_action()
559 int rtnl_u32_del_action(struct rtnl_cls *cls, struct rtnl_act *act) in rtnl_u32_del_action()
/third_party/libnl/include/netlink/route/cls/
Dmatchall.h28 extern int rtnl_mall_append_action(struct rtnl_cls *, struct rtnl_act *);
29 extern struct rtnl_act *rtnl_mall_get_first_action(struct rtnl_cls *);
30 extern int rtnl_mall_del_action(struct rtnl_cls *, struct rtnl_act *);
Dbasic.h29 extern int rtnl_basic_add_action(struct rtnl_cls *, struct rtnl_act *);
30 extern int rtnl_basic_del_action(struct rtnl_cls *, struct rtnl_act *);
31 extern struct rtnl_act* rtnl_basic_get_action(struct rtnl_cls *);
Du32.h51 extern int rtnl_u32_add_action(struct rtnl_cls *, struct rtnl_act *);
52 extern int rtnl_u32_del_action(struct rtnl_cls *, struct rtnl_act *);
53 extern struct rtnl_act* rtnl_u32_get_action(struct rtnl_cls *);
/third_party/libnl/tests/
Dtest-u32-filter-with-actions.c108 …id, uint32_t htlink, uint32_t hmask, uint32_t hoffset, struct rtnl_act *act, struct rtnl_act *act2) in u32_add_filter_on_ht_with_hashmask()
245 struct rtnl_act *act, *act2; in main()
/third_party/libnl/include/netlink-private/
Dtypes.h571 struct rtnl_act struct
574 struct rtnl_act * a_next; argument
605 struct rtnl_act* cu_act;
615 struct rtnl_act *m_act;