Lines Matching refs:u_int
58 static struct sadb_alg *findsupportedalg __P((u_int, u_int));
60 static int pfkey_send_x2 __P((int, u_int, u_int, u_int,
62 static int pfkey_send_x3 __P((int, u_int, u_int));
63 static int pfkey_send_x4 __P((int, u_int, struct sockaddr *, u_int,
64 struct sockaddr *, u_int, u_int, u_int64_t, u_int64_t,
66 static int pfkey_send_x5 __P((int, u_int, u_int32_t));
68 static caddr_t pfkey_setsadbmsg __P((caddr_t, caddr_t, u_int, u_int,
69 u_int, u_int32_t, pid_t));
70 static caddr_t pfkey_setsadbsa __P((caddr_t, caddr_t, u_int32_t, u_int,
71 u_int, u_int, u_int32_t));
72 static caddr_t pfkey_setsadbaddr __P((caddr_t, caddr_t, u_int,
73 struct sockaddr *, u_int, u_int));
74 static caddr_t pfkey_setsadbkey __P((caddr_t, caddr_t, u_int, caddr_t, u_int));
75 static caddr_t pfkey_setsadblifetime __P((caddr_t, caddr_t, u_int, u_int32_t,
80 static caddr_t pfkey_set_natt_type __P((caddr_t, caddr_t, u_int, u_int8_t));
81 static caddr_t pfkey_set_natt_port __P((caddr_t, caddr_t, u_int, u_int16_t));
84 static caddr_t pfkey_set_natt_frag __P((caddr_t, caddr_t, u_int, u_int16_t));
88 static caddr_t pfkey_setsecctx __P((caddr_t, caddr_t, u_int, u_int8_t, u_int8_t,
136 u_int satype, alg_id; in findsupportedalg()
214 u_int supported; in ipsec_check_keylen()
215 u_int alg_id;
216 u_int keylen;
218 u_int satype;
246 u_int satype; in ipsec_check_keylen2()
247 u_int alg_id;
248 u_int keylen;
277 u_int supported, alg_id; in ipsec_get_keylen()
281 u_int satype;
315 static u_int soft_lifetime_allocations_rate = PFKEY_SOFT_LIFETIME_RATE;
316 static u_int soft_lifetime_bytes_rate = PFKEY_SOFT_LIFETIME_RATE;
317 static u_int soft_lifetime_addtime_rate = PFKEY_SOFT_LIFETIME_RATE;
318 static u_int soft_lifetime_usetime_rate = PFKEY_SOFT_LIFETIME_RATE;
320 u_int
322 u_int type, rate; in pfkey_set_softrate()
352 u_int
354 u_int type; in pfkey_get_softrate()
367 return (u_int)~0;
379 u_int satype, mode;
423 if (min > 255 && max < (u_int)~0) {
435 (u_int)len, satype, seq, getpid());
448 p = pfkey_setsadbaddr(p, ep, SADB_EXT_ADDRESS_SRC, src, (u_int)plen,
456 p = pfkey_setsadbaddr(p, ep, SADB_EXT_ADDRESS_DST, dst, (u_int)plen,
548 u_int satype, mode;
572 u_int satype, mode;
615 p = pfkey_setsadbmsg((void *)newmsg, ep, SADB_DELETE, (u_int)len,
621 p = pfkey_setsadbaddr(p, ep, SADB_EXT_ADDRESS_SRC, src, (u_int)plen,
627 p = pfkey_setsadbaddr(p, ep, SADB_EXT_ADDRESS_DST, dst, (u_int)plen,
654 u_int satype, mode;
674 u_int satype;
820 u_int satype;
839 u_int satype;
869 (u_int)(flag ? 1 : 0))) < 0)
885 u_int prefs, prefd, proto;
912 u_int prefs, prefd, proto;
939 u_int prefs, prefd, proto;
966 u_int prefs, prefd, proto;
993 u_int prefs, prefd, proto;
1062 u_int prefs, prefd, proto;
1131 u_int prefs, prefd, proto;
1182 p = pfkey_setsadbmsg((caddr_t)newmsg, ep, SADB_X_MIGRATE, (u_int)len,
1345 p = pfkey_setsadbmsg((void *)newmsg, ep, sa_parms->type, (u_int)len,
1364 (u_int)plen, IPSEC_ULPROTO_ANY);
1370 (u_int)plen, IPSEC_ULPROTO_ANY);
1449 (u_int)PFKEY_ALIGN8(sysdep_sa_len(sa_parms->l_natt_oa)),
1491 u_int type, satype, mode;
1536 p = pfkey_setsadbmsg((void *)newmsg, ep, type, (u_int)len, satype, 0,
1547 p = pfkey_setsadbaddr(p, ep, SADB_EXT_ADDRESS_SRC, src, (u_int)plen,
1553 p = pfkey_setsadbaddr(p, ep, SADB_EXT_ADDRESS_DST, dst, (u_int)plen,
1578 u_int type, satype;
1618 p = pfkey_setsadbmsg((void *)newmsg, ep, type, (u_int)len, satype, 0,
1642 u_int type, prefs, prefd, proto;
1695 p = pfkey_setsadbmsg((void *)newmsg, ep, type, (u_int)len,
1712 0, 0, (u_int)ltime, (u_int)vtime);
1734 u_int type;
1753 p = pfkey_setsadbmsg((void *)newmsg, ep, type, (u_int)len,
2165 u_int type, satype;
2166 u_int tlen;
2171 u_int len;
2201 u_int wsize, auth, enc;
2204 u_int len;
2234 u_int exttype;
2236 u_int prefixlen;
2237 u_int ul_proto;
2240 u_int len;
2269 u_int type, keylen;
2272 u_int len;
2299 u_int type;
2303 u_int len;
2350 u_int len;
2372 u_int type;
2376 u_int len;
2396 u_int type;
2400 u_int len;
2422 u_int type;
2426 u_int len;
2448 u_int type;
2454 u_int len;
2484 u_int satype, mode, wsize;
2488 u_int e_type, e_keylen, a_type, a_keylen, flags;
2527 u_int satype, mode, wsize;
2531 u_int e_type, e_keylen, a_type, a_keylen, flags;
2577 u_int satype, mode, wsize;
2581 u_int e_type, e_keylen, a_type, a_keylen, flags;
2620 u_int satype, mode, wsize;
2624 u_int e_type, e_keylen, a_type, a_keylen, flags;