Home
last modified time | relevance | path

Searched refs:xfrmnl_user_tmpl (Results 1 – 5 of 5) sorted by relevance

/external/libnl/include/netlink/xfrm/
Dtemplate.h46 struct xfrmnl_user_tmpl;
49 extern struct xfrmnl_user_tmpl* xfrmnl_user_tmpl_alloc(void);
50 extern struct xfrmnl_user_tmpl* xfrmnl_user_tmpl_clone(struct xfrmnl_user_tmpl*);
51 extern void xfrmnl_user_tmpl_free(struct xfrmnl_user_tmpl* utmpl);
54 …n int xfrmnl_user_tmpl_cmp(struct xfrmnl_user_tmpl*, struct xfrmnl_user_tmpl*…
55 extern void xfrmnl_user_tmpl_dump(struct xfrmnl_user_tmpl*, struct nl_dump_para…
58 extern struct nl_addr* xfrmnl_user_tmpl_get_daddr (struct xfrmnl_user_tmpl*);
59 extern int xfrmnl_user_tmpl_set_daddr (struct xfrmnl_user_tmpl*, struct nl_add…
61 extern int xfrmnl_user_tmpl_get_spi (struct xfrmnl_user_tmpl*);
62 extern int xfrmnl_user_tmpl_set_spi (struct xfrmnl_user_tmpl*, unsigned int);
[all …]
Dsp.h108 …n void xfrmnl_sp_add_usertemplate(struct xfrmnl_sp*, struct xfrmnl_user_tmpl*);
109 …oid xfrmnl_sp_remove_usertemplate(struct xfrmnl_sp*, struct xfrmnl_user_tmpl*);
113 … void (*cb)(struct xfrmnl_user_tmpl*, void *),
115 extern struct xfrmnl_user_tmpl* xfrmnl_sp_usertemplate_n(struct xfrmnl_sp*, int);
/external/libnl/lib/xfrm/
Dtemplate.c53 void xfrmnl_user_tmpl_free(struct xfrmnl_user_tmpl* utmpl) in xfrmnl_user_tmpl_free()
72 struct xfrmnl_user_tmpl* xfrmnl_user_tmpl_alloc() in xfrmnl_user_tmpl_alloc()
74 struct xfrmnl_user_tmpl* utmpl; in xfrmnl_user_tmpl_alloc()
76 utmpl = calloc(1, sizeof(struct xfrmnl_user_tmpl)); in xfrmnl_user_tmpl_alloc()
91 struct xfrmnl_user_tmpl* xfrmnl_user_tmpl_clone(struct xfrmnl_user_tmpl* utmpl) in xfrmnl_user_tmpl_clone()
93 struct xfrmnl_user_tmpl* new; in xfrmnl_user_tmpl_clone()
99 memcpy(new, utmpl, sizeof(struct xfrmnl_user_tmpl)); in xfrmnl_user_tmpl_clone()
144 int xfrmnl_user_tmpl_cmp(struct xfrmnl_user_tmpl* a, struct xfrmnl_user_tmpl* b) in xfrmnl_user_tmpl_cmp()
164 void xfrmnl_user_tmpl_dump(struct xfrmnl_user_tmpl* tmpl, struct nl_dump_params *p) in xfrmnl_user_tmpl_dump()
189 struct nl_addr* xfrmnl_user_tmpl_get_daddr (struct xfrmnl_user_tmpl* utmpl) in xfrmnl_user_tmpl_get_daddr()
[all …]
Dsp.c88 struct xfrmnl_user_tmpl *utmpl, *tmp; in xfrm_sp_free_data()
112 struct xfrmnl_user_tmpl *utmpl, *new; in xfrm_sp_clone()
147 struct xfrmnl_user_tmpl *tmpl_a, *tmpl_b; in xfrm_sp_compare()
408 struct xfrmnl_user_tmpl* utmpl; in xfrm_sp_dump_line()
621 struct xfrmnl_user_tmpl* sputmpl; in xfrmnl_sp_parse()
844 struct xfrmnl_user_tmpl* utmpl; in build_xfrm_sp_message()
1297 void xfrmnl_sp_add_usertemplate(struct xfrmnl_sp *sp, struct xfrmnl_user_tmpl *utmpl) in xfrmnl_sp_add_usertemplate()
1304 void xfrmnl_sp_remove_usertemplate(struct xfrmnl_sp *sp, struct xfrmnl_user_tmpl *utmpl) in xfrmnl_sp_remove_usertemplate()
1329 void (*cb)(struct xfrmnl_user_tmpl *, void *), in xfrmnl_sp_foreach_usertemplate() argument
1332 struct xfrmnl_user_tmpl *utmpl; in xfrmnl_sp_foreach_usertemplate()
[all …]
/external/libnl/include/netlink-private/
Dtypes.h1299 struct xfrmnl_user_tmpl { struct