Home
last modified time | relevance | path

Searched refs:xsinfo (Results 1 – 3 of 3) sorted by relevance

/external/iproute2/ip/
Dxfrm_state.c274 struct xfrm_usersa_info xsinfo; in xfrm_state_modify() member
300 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(req.xsinfo)); in xfrm_state_modify()
303 req.xsinfo.family = preferred_family; in xfrm_state_modify()
305 req.xsinfo.lft.soft_byte_limit = XFRM_INF; in xfrm_state_modify()
306 req.xsinfo.lft.hard_byte_limit = XFRM_INF; in xfrm_state_modify()
307 req.xsinfo.lft.soft_packet_limit = XFRM_INF; in xfrm_state_modify()
308 req.xsinfo.lft.hard_packet_limit = XFRM_INF; in xfrm_state_modify()
313 xfrm_mode_parse(&req.xsinfo.mode, &argc, &argv); in xfrm_state_modify()
318 xfrm_reqid_parse(&req.xsinfo.reqid, &argc, &argv); in xfrm_state_modify()
321 xfrm_seq_parse(&req.xsinfo.seq, &argc, &argv); in xfrm_state_modify()
[all …]
Dipxfrm.c881 void xfrm_state_info_print(struct xfrm_usersa_info *xsinfo, in xfrm_state_info_print() argument
886 int force_spi = xfrm_xfrmproto_is_ipsec(xsinfo->id.proto); in xfrm_state_info_print()
890 xfrm_id_info_print(&xsinfo->saddr, &xsinfo->id, xsinfo->mode, in xfrm_state_info_print()
891 xsinfo->reqid, xsinfo->family, force_spi, fp, in xfrm_state_info_print()
899 fprintf(fp, "replay-window %u ", xsinfo->replay_window); in xfrm_state_info_print()
901 fprintf(fp, "seq 0x%08u ", xsinfo->seq); in xfrm_state_info_print()
902 if (show_stats > 0 || xsinfo->flags) { in xfrm_state_info_print()
903 __u8 flags = xsinfo->flags; in xfrm_state_info_print()
928 fprintf(fp, " (0x%s)", strxf_mask8(xsinfo->flags)); in xfrm_state_info_print()
931 xfrm_xfrma_print(tb, xsinfo->family, fp, buf); in xfrm_state_info_print()
[all …]
Dxfrm.h80 struct xfrm_usersa_info xsinfo; member
142 void xfrm_state_info_print(struct xfrm_usersa_info *xsinfo,