Lines Matching full:char
42 #define XFRMS_RTA(x) ((struct rtattr*)(((char*)(x)) + NLMSG_ALIGN(sizeof(struct xfrm_usersa_info))))
45 #define XFRMP_RTA(x) ((struct rtattr*)(((char*)(x)) + NLMSG_ALIGN(sizeof(struct xfrm_userpolicy_info))))
48 #define XFRMSID_RTA(x) ((struct rtattr*)(((char*)(x)) + NLMSG_ALIGN(sizeof(struct xfrm_usersa_id))))
51 #define XFRMPID_RTA(x) ((struct rtattr*)(((char*)(x)) + NLMSG_ALIGN(sizeof(struct xfrm_userpolicy_id))))
54 #define XFRMACQ_RTA(x) ((struct rtattr*)(((char*)(x)) + NLMSG_ALIGN(sizeof(struct xfrm_user_acquire))))
55 #define XFRMEXP_RTA(x) ((struct rtattr*)(((char*)(x)) + NLMSG_ALIGN(sizeof(struct xfrm_user_expire))))
56 #define XFRMPEXP_RTA(x) ((struct rtattr*)(((char*)(x)) + NLMSG_ALIGN(sizeof(struct xfrm_user_polexpire))))
58 #define XFRMREP_RTA(x) ((struct rtattr*)(((char*)(x)) + NLMSG_ALIGN(sizeof(struct xfrm_user_report))))
60 #define XFRMSAPD_RTA(x) ((struct rtattr*)(((char*)(x)) + NLMSG_ALIGN(sizeof(__u32))))
70 char *buf;
115 int do_xfrm_state(int argc, char **argv);
116 int do_xfrm_policy(int argc, char **argv);
117 int do_xfrm_monitor(int argc, char **argv);
122 int xfrm_xfrmproto_getbyname(char *name);
123 int xfrm_algotype_getbyname(char *name);
124 const char *strxf_xfrmproto(__u8 proto);
125 const char *strxf_algotype(int type);
126 const char *strxf_mask8(__u8 mask);
127 const char *strxf_mask32(__u32 mask);
128 const char *strxf_share(__u8 share);
129 const char *strxf_proto(__u8 proto);
130 const char *strxf_ptype(__u8 ptype);
133 FILE *fp, const char *prefix, const char *title);
134 void xfrm_stats_print(struct xfrm_stats *s, FILE *fp, const char *prefix);
137 FILE *fp, const char *prefix);
139 FILE *fp, const char *prefix);
141 FILE *fp, const char *prefix);
143 struct rtattr *tb[], FILE *fp, const char *prefix,
144 const char *title);
146 struct rtattr *tb[], FILE *fp, const char *prefix,
147 const char *title);
149 int loose, int *argcp, char ***argvp);
150 int xfrm_mode_parse(__u8 *mode, int *argcp, char ***argvp);
151 int xfrm_encap_type_parse(__u16 *type, int *argcp, char ***argvp);
152 int xfrm_reqid_parse(__u32 *reqid, int *argcp, char ***argvp);
153 int xfrm_selector_parse(struct xfrm_selector *sel, int *argcp, char ***argvp);
155 int *argcp, char ***argvp);