Home
last modified time | relevance | path

Searched refs:lifetime (Results 1 - 25 of 32) sorted by relevance

12

/kernel/linux/linux-5.10/net/key/
H A Daf_key.c770 struct sadb_lifetime *lifetime; in __pfkey_xfrm_state2msg() local
789 /* base, SA, (lifetime (HSC),) address(SD), (address(P),) in __pfkey_xfrm_state2msg()
886 lifetime = skb_put(skb, sizeof(struct sadb_lifetime)); in __pfkey_xfrm_state2msg()
887 lifetime->sadb_lifetime_len = in __pfkey_xfrm_state2msg()
889 lifetime->sadb_lifetime_exttype = SADB_EXT_LIFETIME_HARD; in __pfkey_xfrm_state2msg()
890 lifetime->sadb_lifetime_allocations = _X2KEY(x->lft.hard_packet_limit); in __pfkey_xfrm_state2msg()
891 lifetime->sadb_lifetime_bytes = _X2KEY(x->lft.hard_byte_limit); in __pfkey_xfrm_state2msg()
892 lifetime->sadb_lifetime_addtime = x->lft.hard_add_expires_seconds; in __pfkey_xfrm_state2msg()
893 lifetime->sadb_lifetime_usetime = x->lft.hard_use_expires_seconds; in __pfkey_xfrm_state2msg()
897 lifetime in __pfkey_xfrm_state2msg()
1068 const struct sadb_lifetime *lifetime; pfkey_msg2xfrm_state() local
2073 struct sadb_lifetime *lifetime; pfkey_xfrm_policy2msg() local
2254 struct sadb_lifetime *lifetime; pfkey_spdadd() local
[all...]
/kernel/linux/linux-6.6/net/key/
H A Daf_key.c766 struct sadb_lifetime *lifetime; in __pfkey_xfrm_state2msg() local
785 /* base, SA, (lifetime (HSC),) address(SD), (address(P),) in __pfkey_xfrm_state2msg()
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 in __pfkey_xfrm_state2msg()
1064 const struct sadb_lifetime *lifetime; pfkey_msg2xfrm_state() local
2068 struct sadb_lifetime *lifetime; pfkey_xfrm_policy2msg() local
2249 struct sadb_lifetime *lifetime; pfkey_spdadd() local
[all...]
/kernel/linux/linux-5.10/net/mac80211/
H A Dmesh_hwmp.c105 u32 lifetime, u32 metric, u32 preq_id, in mesh_path_sel_frame_tx()
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, metri in hwmp_prep_frame_process()
100 mesh_path_sel_frame_tx(enum mpath_frame_type action, u8 flags, const u8 *orig_addr, u32 orig_sn, u8 target_flags, const u8 *target, u32 target_sn, const u8 *da, u8 hop_count, u8 ttl, u32 lifetime, u32 metric, u32 preq_id, struct ieee80211_sub_if_data *sdata) mesh_path_sel_frame_tx() argument
1036 u32 lifetime; mesh_path_start_discovery() local
[all...]
/kernel/linux/linux-6.6/net/mac80211/
H A Dmesh_hwmp.c105 u32 lifetime, u32 metric, u32 preq_id, in mesh_path_sel_frame_tx()
175 put_unaligned_le32(lifetime, pos); /* interval for RANN */ in mesh_path_sel_frame_tx()
582 u32 orig_sn, target_sn, lifetime, target_metric = 0; in hwmp_preq_frame_process() local
652 lifetime = PREQ_IE_LIFETIME(preq_elem); in hwmp_preq_frame_process()
659 lifetime, target_metric, 0, in hwmp_preq_frame_process()
671 lifetime = PREQ_IE_LIFETIME(preq_elem); in hwmp_preq_frame_process()
690 target_sn, da, hopcount, ttl, lifetime, in hwmp_preq_frame_process()
718 u32 target_sn, orig_sn, lifetime; in hwmp_prep_frame_process() local
751 lifetime = PREP_IE_LIFETIME(prep_elem); in hwmp_prep_frame_process()
759 ttl, lifetime, metri in hwmp_prep_frame_process()
100 mesh_path_sel_frame_tx(enum mpath_frame_type action, u8 flags, const u8 *orig_addr, u32 orig_sn, u8 target_flags, const u8 *target, u32 target_sn, const u8 *da, u8 hop_count, u8 ttl, u32 lifetime, u32 metric, u32 preq_id, struct ieee80211_sub_if_data *sdata) mesh_path_sel_frame_tx() argument
1054 u32 lifetime; mesh_path_start_discovery() local
[all...]
/kernel/linux/linux-5.10/net/ipv6/
H A Dndisc.c1178 int lifetime; in ndisc_router_discovery() local
1272 lifetime = ntohs(ra_msg->icmph.icmp6_rt_lifetime); in ndisc_router_discovery()
1273 if (lifetime != 0 && lifetime < in6_dev->cnf.accept_ra_min_lft) { in ndisc_router_discovery()
1275 "RA: router lifetime (%ds) is too short: %s\n", in ndisc_router_discovery()
1276 lifetime, skb->dev->name); in ndisc_router_discovery()
1313 if (rt && lifetime == 0) { in ndisc_router_discovery()
1318 ND_PRINTK(3, info, "RA: rt: %p lifetime: %d, for dev: %s\n", in ndisc_router_discovery()
1319 rt, lifetime, skb->dev->name); in ndisc_router_discovery()
1320 if (!rt && lifetime) { in ndisc_router_discovery()
[all...]
H A Droute.c932 unsigned long lifetime; in rt6_route_rcv() local
958 lifetime = addrconf_timeout_fixup(ntohl(rinfo->lifetime), HZ); in rt6_route_rcv()
976 if (rt && !lifetime) { in rt6_route_rcv()
981 if (!rt && lifetime) in rt6_route_rcv()
989 if (!addrconf_finite_timeout(lifetime)) in rt6_route_rcv()
992 fib6_set_expires(rt, jiffies + HZ * lifetime); in rt6_route_rcv()
/kernel/linux/linux-6.6/net/ipv6/
H A Dndisc.c1245 int lifetime; in ndisc_router_discovery() local
1327 lifetime = ntohs(ra_msg->icmph.icmp6_rt_lifetime); in ndisc_router_discovery()
1328 if (lifetime != 0 && lifetime < in6_dev->cnf.accept_ra_min_lft) { in ndisc_router_discovery()
1330 "RA: router lifetime (%ds) is too short: %s\n", in ndisc_router_discovery()
1331 lifetime, skb->dev->name); in ndisc_router_discovery()
1370 /* delete the route if lifetime is 0 or if metric needs change */ in ndisc_router_discovery()
1371 if (rt && (lifetime == 0 || rt->fib6_metric != defrtr_usr_metric)) { in ndisc_router_discovery()
1376 ND_PRINTK(3, info, "RA: rt: %p lifetime: %d, metric: %d, for dev: %s\n", in ndisc_router_discovery()
1377 rt, lifetime, defrtr_usr_metri in ndisc_router_discovery()
[all...]
H A Droute.c935 unsigned long lifetime; in rt6_route_rcv() local
961 lifetime = addrconf_timeout_fixup(ntohl(rinfo->lifetime), HZ); in rt6_route_rcv()
979 if (rt && !lifetime) { in rt6_route_rcv()
984 if (!rt && lifetime) in rt6_route_rcv()
992 if (!addrconf_finite_timeout(lifetime)) in rt6_route_rcv()
995 fib6_set_expires(rt, jiffies + HZ * lifetime); in rt6_route_rcv()
/kernel/linux/linux-5.10/net/sunrpc/auth_gss/
H A Dgss_rpc_xdr.h104 u64 lifetime; member
H A Dgss_rpc_xdr.c611 /* ctx->lifetime */ in gssx_enc_ctx()
615 p = xdr_encode_hyper(p, ctx->lifetime); in gssx_enc_ctx()
674 /* ctx->lifetime */ in gssx_dec_ctx()
678 p = xdr_decode_hyper(p, &ctx->lifetime); in gssx_dec_ctx()
/kernel/linux/linux-6.6/net/sunrpc/auth_gss/
H A Dgss_rpc_xdr.h104 u64 lifetime; member
H A Dgss_rpc_xdr.c611 /* ctx->lifetime */ in gssx_enc_ctx()
615 p = xdr_encode_hyper(p, ctx->lifetime); in gssx_enc_ctx()
674 /* ctx->lifetime */ in gssx_dec_ctx()
678 p = xdr_decode_hyper(p, &ctx->lifetime); in gssx_dec_ctx()
/kernel/linux/linux-5.10/include/net/
H A Dip6_route.h18 __be32 lifetime; member
/kernel/linux/linux-6.6/include/net/
H A Dip6_route.h28 __be32 lifetime; member
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/prism54/
H A Disl_ioctl.c986 u32 lifetime = 0; in prism54_set_retry() local
1006 lifetime = vwrq->value / 1024; in prism54_set_retry()
1015 if (lifetime) in prism54_set_retry()
1018 &lifetime); in prism54_set_retry()
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/
H A Drtw_mlme.c139 u32 lifetime = SCANQUEUE_LIFETIME; in _rtw_free_network() local
150 lifetime = 1; in _rtw_free_network()
153 if (delta_time < lifetime)/* unit:sec */ in _rtw_free_network()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/core/
H A Drtw_mlme.c183 u32 lifetime = SCANQUEUE_LIFETIME; in _rtw_free_network() local
195 lifetime = 1; in _rtw_free_network()
199 if (delta_time < lifetime)/* unit:msec */ in _rtw_free_network()
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/core/
H A Drtw_mlme.c171 u32 lifetime = SCANQUEUE_LIFETIME; in _rtw_free_network() local
183 lifetime = 1; in _rtw_free_network()
187 if (delta_time < lifetime)/* unit:msec */ in _rtw_free_network()
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl1251/
H A Dacx.h183 u32 lifetime; member
H A Dacx.c293 acx->lifetime = life_time; in wl1251_acx_rx_msdu_life_time()
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wlcore/
H A Dacx.h160 __le32 lifetime; member
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wl1251/
H A Dacx.h183 u32 lifetime; member
H A Dacx.c293 acx->lifetime = life_time; in wl1251_acx_rx_msdu_life_time()
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wlcore/
H A Dacx.h160 __le32 lifetime; member
/kernel/linux/linux-6.6/rust/alloc/
H A Dboxed.rs1142 /// `&'a mut T`. Note that the type `T` must outlive the chosen lifetime

Completed in 61 milliseconds

12