• Home
  • Raw
  • Download

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;
377 pfkey_send_getspi(int so, u_int satype, u_int mode, struct sockaddr *src, in pfkey_send_getspi()
421 if (min > 255 && max < (u_int)~0) { in pfkey_send_getspi()
433 (u_int)len, satype, seq, getpid()); in pfkey_send_getspi()
446 p = pfkey_setsadbaddr(p, ep, SADB_EXT_ADDRESS_SRC, src, (u_int)plen, in pfkey_send_getspi()
454 p = pfkey_setsadbaddr(p, ep, SADB_EXT_ADDRESS_DST, dst, (u_int)plen, in pfkey_send_getspi()
542 pfkey_send_delete(int so, u_int satype, u_int mode, struct sockaddr *src, in pfkey_send_delete()
563 pfkey_send_delete_all(int so, u_int satype, u_int mode, struct sockaddr *src, in pfkey_send_delete_all()
606 p = pfkey_setsadbmsg((void *)newmsg, ep, SADB_DELETE, (u_int)len, in pfkey_send_delete_all()
612 p = pfkey_setsadbaddr(p, ep, SADB_EXT_ADDRESS_SRC, src, (u_int)plen, in pfkey_send_delete_all()
618 p = pfkey_setsadbaddr(p, ep, SADB_EXT_ADDRESS_DST, dst, (u_int)plen, in pfkey_send_delete_all()
643 pfkey_send_get(int so, u_int satype, u_int mode, struct sockaddr *src, in pfkey_send_get()
660 pfkey_send_register(int so, u_int satype) in pfkey_send_register()
801 pfkey_send_flush(int so, u_int satype) in pfkey_send_flush()
818 pfkey_send_dump(int so, u_int satype) in pfkey_send_dump()
846 (u_int)(flag ? 1 : 0))) < 0) in pfkey_send_promisc_toggle()
859 pfkey_send_spdadd(int so, struct sockaddr *src, u_int prefs, in pfkey_send_spdadd()
860 struct sockaddr *dst, u_int prefd, u_int proto, caddr_t policy, in pfkey_send_spdadd()
881 pfkey_send_spdadd2(int so, struct sockaddr *src, u_int prefs, in pfkey_send_spdadd2()
882 struct sockaddr *dst, u_int prefd, u_int proto, u_int64_t ltime, in pfkey_send_spdadd2()
903 pfkey_send_spdupdate(int so, struct sockaddr *src, u_int prefs, in pfkey_send_spdupdate()
904 struct sockaddr *dst, u_int prefd, u_int proto, caddr_t policy, in pfkey_send_spdupdate()
925 pfkey_send_spdupdate2(int so, struct sockaddr *src, u_int prefs, in pfkey_send_spdupdate2()
926 struct sockaddr *dst, u_int prefd, u_int proto, u_int64_t ltime, in pfkey_send_spdupdate2()
947 pfkey_send_spddelete(int so, struct sockaddr *src, u_int prefs, in pfkey_send_spddelete()
948 struct sockaddr *dst, u_int prefd, u_int proto, caddr_t policy, in pfkey_send_spddelete()
1008 pfkey_send_spdsetidx(int so, struct sockaddr *src, u_int prefs, in pfkey_send_spdsetidx()
1009 struct sockaddr *dst, u_int prefd, u_int proto, caddr_t policy, in pfkey_send_spdsetidx()
1071 pfkey_send_migrate(int so, struct sockaddr *src, u_int prefs, in pfkey_send_migrate()
1072 struct sockaddr *dst, u_int prefd, in pfkey_send_migrate()
1073 u_int proto, caddr_t policy, int policylen, u_int32_t seq) in pfkey_send_migrate()
1121 p = pfkey_setsadbmsg((caddr_t)newmsg, ep, SADB_X_MIGRATE, (u_int)len, in pfkey_send_migrate()
1283 p = pfkey_setsadbmsg((void *)newmsg, ep, sa_parms->type, (u_int)len, in pfkey_send_x1()
1302 (u_int)plen, IPSEC_ULPROTO_ANY); in pfkey_send_x1()
1308 (u_int)plen, IPSEC_ULPROTO_ANY); in pfkey_send_x1()
1387 (u_int)PFKEY_ALIGN8(sysdep_sa_len(sa_parms->l_natt_oa)), in pfkey_send_x1()
1427 pfkey_send_x2(int so, u_int type, u_int satype, u_int mode, in pfkey_send_x2()
1471 p = pfkey_setsadbmsg((void *)newmsg, ep, type, (u_int)len, satype, 0, in pfkey_send_x2()
1482 p = pfkey_setsadbaddr(p, ep, SADB_EXT_ADDRESS_SRC, src, (u_int)plen, in pfkey_send_x2()
1488 p = pfkey_setsadbaddr(p, ep, SADB_EXT_ADDRESS_DST, dst, (u_int)plen, in pfkey_send_x2()
1511 pfkey_send_x3(int so, u_int type, u_int satype) in pfkey_send_x3()
1551 p = pfkey_setsadbmsg((void *)newmsg, ep, type, (u_int)len, satype, 0, in pfkey_send_x3()
1571 pfkey_send_x4(int so, u_int type, struct sockaddr *src, u_int prefs, in pfkey_send_x4()
1572 struct sockaddr *dst, u_int prefd, u_int proto, u_int64_t ltime, in pfkey_send_x4()
1622 p = pfkey_setsadbmsg((void *)newmsg, ep, type, (u_int)len, in pfkey_send_x4()
1639 0, 0, (u_int)ltime, (u_int)vtime); in pfkey_send_x4()
1659 pfkey_send_x5(int so, u_int type, u_int32_t spid) in pfkey_send_x5()
1677 p = pfkey_setsadbmsg((void *)newmsg, ep, type, (u_int)len, in pfkey_send_x5()
2078 pfkey_setsadbmsg(caddr_t buf, caddr_t lim, u_int type, u_int tlen, in pfkey_setsadbmsg()
2079 u_int satype, u_int32_t seq, pid_t pid) in pfkey_setsadbmsg()
2082 u_int len; in pfkey_setsadbmsg()
2108 pfkey_setsadbsa(caddr_t buf, caddr_t lim, u_int32_t spi, u_int wsize, in pfkey_setsadbsa()
2109 u_int auth, u_int enc, u_int32_t flags) in pfkey_setsadbsa()
2112 u_int len; in pfkey_setsadbsa()
2139 pfkey_setsadbaddr(caddr_t buf, caddr_t lim, u_int exttype, in pfkey_setsadbaddr()
2140 struct sockaddr *saddr, u_int prefixlen, u_int ul_proto) in pfkey_setsadbaddr()
2143 u_int len; in pfkey_setsadbaddr()
2168 pfkey_setsadbkey(caddr_t buf, caddr_t lim, u_int type, caddr_t key, in pfkey_setsadbkey()
2169 u_int keylen) in pfkey_setsadbkey()
2172 u_int len; in pfkey_setsadbkey()
2196 pfkey_setsadblifetime(caddr_t buf, caddr_t lim, u_int type, u_int32_t l_alloc, in pfkey_setsadblifetime()
2200 u_int len; in pfkey_setsadblifetime()
2243 u_int len; in pfkey_setsadbxsa2()
2262 pfkey_set_natt_type(caddr_t buf, caddr_t lim, u_int type, u_int8_t l_natt_type) in pfkey_set_natt_type()
2265 u_int len; in pfkey_set_natt_type()
2282 pfkey_set_natt_port(caddr_t buf, caddr_t lim, u_int type, u_int16_t l_natt_port) in pfkey_set_natt_port()
2285 u_int len; in pfkey_set_natt_port()
2304 pfkey_set_natt_frag(caddr_t buf, caddr_t lim, u_int type, in pfkey_set_natt_frag()
2308 u_int len; in pfkey_set_natt_frag()
2327 pfkey_setsecctx(caddr_t buf, caddr_t lim, u_int type, u_int8_t ctx_doi, in pfkey_setsecctx()
2331 u_int len; in pfkey_setsecctx()
2357 pfkey_send_update(int so, u_int satype, u_int mode, struct sockaddr *src, in pfkey_send_update()
2358 struct sockaddr *dst, u_int32_t spi, u_int32_t reqid, u_int wsize, in pfkey_send_update()
2359 caddr_t keymat, u_int e_type, u_int e_keylen, u_int a_type, in pfkey_send_update()
2360 u_int a_keylen, u_int flags, u_int32_t l_alloc, u_int64_t l_bytes, in pfkey_send_update()
2391 pfkey_send_update_nat(int so, u_int satype, u_int mode, struct sockaddr *src, in pfkey_send_update_nat()
2392 struct sockaddr *dst, u_int32_t spi, u_int32_t reqid, u_int wsize, in pfkey_send_update_nat()
2393 caddr_t keymat, u_int e_type, u_int e_keylen, u_int a_type, in pfkey_send_update_nat()
2394 u_int a_keylen, u_int flags, u_int32_t l_alloc, u_int64_t l_bytes, in pfkey_send_update_nat()
2432 pfkey_send_add(int so, u_int satype, u_int mode, struct sockaddr *src, in pfkey_send_add()
2433 struct sockaddr *dst, u_int32_t spi, u_int32_t reqid, u_int wsize, in pfkey_send_add()
2434 caddr_t keymat, u_int e_type, u_int e_keylen, u_int a_type, in pfkey_send_add()
2435 u_int a_keylen, u_int flags, u_int32_t l_alloc, u_int64_t l_bytes, in pfkey_send_add()
2466 pfkey_send_add_nat(int so, u_int satype, u_int mode, struct sockaddr *src, in pfkey_send_add_nat()
2467 struct sockaddr *dst, u_int32_t spi, u_int32_t reqid, u_int wsize, in pfkey_send_add_nat()
2468 caddr_t keymat, u_int e_type, u_int e_keylen, u_int a_type, in pfkey_send_add_nat()
2469 u_int a_keylen, u_int flags, u_int32_t l_alloc, u_int64_t l_bytes, in pfkey_send_add_nat()