Searched refs:xsinfo (Results 1 – 3 of 3) sorted by relevance
/external/iproute2/ip/ |
D | xfrm_state.c | 241 struct xfrm_usersa_info xsinfo; in xfrm_state_modify() member 262 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(req.xsinfo)); in xfrm_state_modify() 265 req.xsinfo.family = preferred_family; in xfrm_state_modify() 267 req.xsinfo.lft.soft_byte_limit = XFRM_INF; in xfrm_state_modify() 268 req.xsinfo.lft.hard_byte_limit = XFRM_INF; in xfrm_state_modify() 269 req.xsinfo.lft.soft_packet_limit = XFRM_INF; in xfrm_state_modify() 270 req.xsinfo.lft.hard_packet_limit = XFRM_INF; in xfrm_state_modify() 275 xfrm_mode_parse(&req.xsinfo.mode, &argc, &argv); in xfrm_state_modify() 280 xfrm_reqid_parse(&req.xsinfo.reqid, &argc, &argv); in xfrm_state_modify() 283 xfrm_seq_parse(&req.xsinfo.seq, &argc, &argv); in xfrm_state_modify() [all …]
|
D | ipxfrm.c | 829 void xfrm_state_info_print(struct xfrm_usersa_info *xsinfo, in xfrm_state_info_print() argument 834 int force_spi = xfrm_xfrmproto_is_ipsec(xsinfo->id.proto); in xfrm_state_info_print() 838 xfrm_id_info_print(&xsinfo->saddr, &xsinfo->id, xsinfo->mode, in xfrm_state_info_print() 839 xsinfo->reqid, xsinfo->family, force_spi, fp, in xfrm_state_info_print() 847 fprintf(fp, "replay-window %u ", xsinfo->replay_window); in xfrm_state_info_print() 849 fprintf(fp, "seq 0x%08u ", xsinfo->seq); in xfrm_state_info_print() 850 if (show_stats > 0 || xsinfo->flags) { in xfrm_state_info_print() 851 __u8 flags = xsinfo->flags; in xfrm_state_info_print() 865 fprintf(fp, " (0x%s)", strxf_mask8(xsinfo->flags)); in xfrm_state_info_print() 868 xfrm_xfrma_print(tb, xsinfo->family, fp, buf); in xfrm_state_info_print() [all …]
|
D | xfrm.h | 81 struct xfrm_usersa_info xsinfo; member 143 void xfrm_state_info_print(struct xfrm_usersa_info *xsinfo,
|