/external/iproute2/ip/ |
xfrm_policy.c | 249 struct xfrm_userpolicy_info xpinfo; member in struct:__anon13988 270 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(req.xpinfo)); 273 req.xpinfo.sel.family = preferred_family; 275 req.xpinfo.lft.soft_byte_limit = XFRM_INF; 276 req.xpinfo.lft.hard_byte_limit = XFRM_INF; 277 req.xpinfo.lft.soft_packet_limit = XFRM_INF; 278 req.xpinfo.lft.hard_packet_limit = XFRM_INF; 287 xfrm_policy_dir_parse(&req.xpinfo.dir, &argc, &argv); 301 if (get_u32(&req.xpinfo.index, *argv, 0)) 313 req.xpinfo.action = XFRM_POLICY_ALLOW 464 struct xfrm_userpolicy_info *xpinfo = NULL; local 712 struct xfrm_userpolicy_info *xpinfo = NLMSG_DATA(n); local [all...] |
ipxfrm.c | 962 void xfrm_policy_info_print(struct xfrm_userpolicy_info *xpinfo, 970 xfrm_selector_print(&xpinfo->sel, preferred_family, fp, title); 991 if (xpinfo->dir >= XFRM_POLICY_MAX) { 992 xpinfo->dir -= XFRM_POLICY_MAX; 997 switch (xpinfo->dir) { 1008 fprintf(fp, "%u", xpinfo->dir); 1013 switch (xpinfo->action) { 1022 fprintf(fp, "action %u ", xpinfo->action); 1027 fprintf(fp, "index %u ", xpinfo->index); 1028 fprintf(fp, "priority %u ", xpinfo->priority) [all...] |
xfrm.h | 89 struct xfrm_userpolicy_info xpinfo; member in struct:xfrm_filter 145 void xfrm_policy_info_print(struct xfrm_userpolicy_info *xpinfo,
|