Lines Matching refs:lt
2837 struct sadb_lifetime *lt;
2854 len = PFKEY_ALIGN8(sizeof(*lt)) * 2;
2863 lt = mtod(m, struct sadb_lifetime *);
2864 lt->sadb_lifetime_len = PFKEY_UNIT64(sizeof(struct sadb_lifetime));
2865 lt->sadb_lifetime_exttype = SADB_EXT_LIFETIME_CURRENT;
2866 lt->sadb_lifetime_allocations = 0;
2867 lt->sadb_lifetime_bytes = 0;
2868 lt->sadb_lifetime_addtime = sp->created;
2869 lt->sadb_lifetime_usetime = sp->lastused;
2870 lt = (struct sadb_lifetime *)(mtod(m, caddr_t) + len / 2);
2871 lt->sadb_lifetime_len = PFKEY_UNIT64(sizeof(struct sadb_lifetime));
2872 lt->sadb_lifetime_exttype = SADB_EXT_LIFETIME_HARD;
2873 lt->sadb_lifetime_allocations = 0;
2874 lt->sadb_lifetime_bytes = 0;
2875 lt->sadb_lifetime_addtime = sp->lifetime;
2876 lt->sadb_lifetime_usetime = sp->validtime;
7162 struct sadb_lifetime *lt;
7201 len = PFKEY_ALIGN8(sizeof(*lt)) * 2;
7210 lt = mtod(m, struct sadb_lifetime *);
7211 lt->sadb_lifetime_len = PFKEY_UNIT64(sizeof(struct sadb_lifetime));
7212 lt->sadb_lifetime_exttype = SADB_EXT_LIFETIME_CURRENT;
7213 lt->sadb_lifetime_allocations = sav->lft_c->sadb_lifetime_allocations;
7214 lt->sadb_lifetime_bytes = sav->lft_c->sadb_lifetime_bytes;
7215 lt->sadb_lifetime_addtime = sav->lft_c->sadb_lifetime_addtime;
7216 lt->sadb_lifetime_usetime = sav->lft_c->sadb_lifetime_usetime;
7217 lt = (struct sadb_lifetime *)(mtod(m, caddr_t) + len / 2);
7218 bcopy(sav->lft_s, lt, sizeof(*lt));