Lines Matching refs:expire
1440 struct xfrm_user_expire expire; in xfrm_expire_state() member
1460 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(req.expire)); in xfrm_expire_state()
1465 memcpy(&req.expire.state.id.daddr, &dst, sizeof(dst)); in xfrm_expire_state()
1466 req.expire.state.id.spi = gen_spi(src); in xfrm_expire_state()
1467 req.expire.state.id.proto = desc->proto; in xfrm_expire_state()
1468 req.expire.state.family = AF_INET; in xfrm_expire_state()
1469 req.expire.hard = 0xff; in xfrm_expire_state()
1495 if (req.expire.hard != 0x1) { in xfrm_expire_state()
1496 printk("expire.hard is not set: %x", req.expire.hard); in xfrm_expire_state()
1512 struct xfrm_user_polexpire expire; in xfrm_expire_policy() member
1535 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(req.expire)); in xfrm_expire_policy()
1541 memcpy(&req.expire.pol.sel.daddr, &dst, sizeof(tundst)); in xfrm_expire_policy()
1542 memcpy(&req.expire.pol.sel.saddr, &src, sizeof(tunsrc)); in xfrm_expire_policy()
1543 req.expire.pol.sel.family = AF_INET; in xfrm_expire_policy()
1544 req.expire.pol.sel.prefixlen_d = PREFIX_LEN; in xfrm_expire_policy()
1545 req.expire.pol.sel.prefixlen_s = PREFIX_LEN; in xfrm_expire_policy()
1546 req.expire.pol.dir = XFRM_POLICY_OUT; in xfrm_expire_policy()
1547 req.expire.hard = 0xff; in xfrm_expire_policy()
1573 if (req.expire.hard != 0x1) { in xfrm_expire_policy()
1574 printk("expire.hard is not set: %x", req.expire.hard); in xfrm_expire_policy()