Searched refs:lifetime (Results 1 – 7 of 7) sorted by relevance
/net/key/ |
D | af_key.c | 766 struct sadb_lifetime *lifetime; in __pfkey_xfrm_state2msg() local 882 lifetime = skb_put(skb, sizeof(struct sadb_lifetime)); in __pfkey_xfrm_state2msg() 883 lifetime->sadb_lifetime_len = in __pfkey_xfrm_state2msg() 885 lifetime->sadb_lifetime_exttype = SADB_EXT_LIFETIME_HARD; in __pfkey_xfrm_state2msg() 886 lifetime->sadb_lifetime_allocations = _X2KEY(x->lft.hard_packet_limit); in __pfkey_xfrm_state2msg() 887 lifetime->sadb_lifetime_bytes = _X2KEY(x->lft.hard_byte_limit); in __pfkey_xfrm_state2msg() 888 lifetime->sadb_lifetime_addtime = x->lft.hard_add_expires_seconds; in __pfkey_xfrm_state2msg() 889 lifetime->sadb_lifetime_usetime = x->lft.hard_use_expires_seconds; in __pfkey_xfrm_state2msg() 893 lifetime = skb_put(skb, sizeof(struct sadb_lifetime)); in __pfkey_xfrm_state2msg() 894 lifetime->sadb_lifetime_len = in __pfkey_xfrm_state2msg() [all …]
|
/net/mac80211/ |
D | mesh_hwmp.c | 105 u32 lifetime, u32 metric, u32 preq_id, in mesh_path_sel_frame_tx() argument 175 put_unaligned_le32(lifetime, pos); /* interval for RANN */ in mesh_path_sel_frame_tx() 568 u32 orig_sn, target_sn, lifetime, target_metric = 0; in hwmp_preq_frame_process() local 638 lifetime = PREQ_IE_LIFETIME(preq_elem); in hwmp_preq_frame_process() 645 lifetime, target_metric, 0, in hwmp_preq_frame_process() 657 lifetime = PREQ_IE_LIFETIME(preq_elem); in hwmp_preq_frame_process() 676 target_sn, da, hopcount, ttl, lifetime, in hwmp_preq_frame_process() 704 u32 target_sn, orig_sn, lifetime; in hwmp_prep_frame_process() local 737 lifetime = PREP_IE_LIFETIME(prep_elem); in hwmp_prep_frame_process() 745 ttl, lifetime, metric, 0, sdata); in hwmp_prep_frame_process() [all …]
|
/net/ipv6/ |
D | ndisc.c | 1179 int lifetime; in ndisc_router_discovery() local 1273 lifetime = ntohs(ra_msg->icmph.icmp6_rt_lifetime); in ndisc_router_discovery() 1274 if (lifetime != 0 && lifetime < in6_dev->cnf.accept_ra_min_lft) { in ndisc_router_discovery() 1277 lifetime, skb->dev->name); in ndisc_router_discovery() 1317 if (rt && (lifetime == 0 || rt->fib6_metric != defrtr_usr_metric)) { in ndisc_router_discovery() 1323 rt, lifetime, defrtr_usr_metric, skb->dev->name); in ndisc_router_discovery() 1324 if (!rt && lifetime) { in ndisc_router_discovery() 1355 fib6_set_expires(rt, jiffies + (HZ * lifetime)); in ndisc_router_discovery() 1463 if (ri->lifetime != 0 && in ndisc_router_discovery() 1464 ntohl(ri->lifetime) < in6_dev->cnf.accept_ra_min_lft) in ndisc_router_discovery()
|
D | route.c | 931 unsigned long lifetime; in rt6_route_rcv() local 957 lifetime = addrconf_timeout_fixup(ntohl(rinfo->lifetime), HZ); in rt6_route_rcv() 975 if (rt && !lifetime) { in rt6_route_rcv() 980 if (!rt && lifetime) in rt6_route_rcv() 988 if (!addrconf_finite_timeout(lifetime)) in rt6_route_rcv() 991 fib6_set_expires(rt, jiffies + HZ * lifetime); in rt6_route_rcv()
|
D | addrconf.c | 1229 unsigned long lifetime; in check_cleanup_prefix_route() local 1248 lifetime = addrconf_timeout_fixup(ifa->valid_lft, HZ); in check_cleanup_prefix_route() 1254 if (time_before(*expires, ifa->tstamp + lifetime * HZ)) in check_cleanup_prefix_route() 1255 *expires = ifa->tstamp + lifetime * HZ; in check_cleanup_prefix_route()
|
/net/sunrpc/auth_gss/ |
D | gss_rpc_xdr.h | 104 u64 lifetime; member
|
D | gss_rpc_xdr.c | 604 p = xdr_encode_hyper(p, ctx->lifetime); in gssx_enc_ctx() 667 p = xdr_decode_hyper(p, &ctx->lifetime); in gssx_dec_ctx()
|