/external/iproute2/ip/ |
xfrm_policy.c | 229 struct xfrm_userpolicy_info xpinfo; member in struct:__anon4472 243 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(req.xpinfo)); 246 req.xpinfo.sel.family = preferred_family; 248 req.xpinfo.lft.soft_byte_limit = XFRM_INF; 249 req.xpinfo.lft.hard_byte_limit = XFRM_INF; 250 req.xpinfo.lft.soft_packet_limit = XFRM_INF; 251 req.xpinfo.lft.hard_packet_limit = XFRM_INF; 260 xfrm_policy_dir_parse(&req.xpinfo.dir, &argc, &argv); 263 if (get_u32(&req.xpinfo.index, *argv, 0)) 275 req.xpinfo.action = XFRM_POLICY_ALLOW 412 struct xfrm_userpolicy_info *xpinfo = NULL; local 627 struct xfrm_userpolicy_info *xpinfo = NLMSG_DATA(n); local [all...] |
xfrm.h | 90 struct xfrm_userpolicy_info xpinfo; member in struct:xfrm_filter 145 void xfrm_policy_info_print(struct xfrm_userpolicy_info *xpinfo,
|
ipxfrm.c | 807 void xfrm_policy_info_print(struct xfrm_userpolicy_info *xpinfo, 815 xfrm_selector_print(&xpinfo->sel, preferred_family, fp, title); 823 switch (xpinfo->dir) { 834 fprintf(fp, "%u", xpinfo->dir); 839 switch (xpinfo->action) { 848 fprintf(fp, "action %u ", xpinfo->action); 853 fprintf(fp, "index %u ", xpinfo->index); 854 fprintf(fp, "priority %u ", xpinfo->priority); 869 fprintf(fp, "share %s ", strxf_share(xpinfo->share)); 871 if (show_stats > 0 || xpinfo->flags) [all...] |