Lines Matching defs:type

327 pfkey_set_softrate(type, rate)
328 u_int type, rate;
335 switch (type) {
356 * ATTENTION: ~0 is returned if invalid type was passed.
359 pfkey_get_softrate(type)
360 u_int type;
362 switch (type) {
558 sa_parms->type = SADB_UPDATE;
577 sa_parms->type = SADB_ADD;
1354 p = pfkey_setsadbmsg((void *)newmsg, ep, sa_parms->type, (u_int)len,
1498 pfkey_send_x2(int so, u_int type, u_int satype, u_int mode,
1542 p = pfkey_setsadbmsg((void *)newmsg, ep, type, (u_int)len, satype, 0,
1582 pfkey_send_x3(int so, u_int type, u_int satype)
1590 switch (type) {
1622 p = pfkey_setsadbmsg((void *)newmsg, ep, type, (u_int)len, satype, 0,
1642 pfkey_send_x4(int so, u_int type, struct sockaddr *src, u_int prefs,
1693 p = pfkey_setsadbmsg((void *)newmsg, ep, type, (u_int)len,
1730 pfkey_send_x5(int so, u_int type, u_int32_t spid)
1748 p = pfkey_setsadbmsg((void *)newmsg, ep, type, (u_int)len,
2103 /* check type */
2109 /* check SA type */
2214 pfkey_setsadbmsg(caddr_t buf, caddr_t lim, u_int type, u_int tlen,
2228 p->sadb_msg_type = type;
2341 pfkey_setsadbkey(caddr_t buf, caddr_t lim, u_int type, caddr_t key,
2355 p->sadb_key_exttype = type;
2369 pfkey_setsadblifetime(caddr_t buf, caddr_t lim, u_int type, u_int32_t l_alloc,
2383 p->sadb_lifetime_exttype = type;
2385 switch (type) {
2435 pfkey_set_natt_type(caddr_t buf, caddr_t lim, u_int type, u_int8_t l_natt_type)
2448 p->sadb_x_nat_t_type_exttype = type;
2455 pfkey_set_natt_port(caddr_t buf, caddr_t lim, u_int type, u_int16_t l_natt_port)
2468 p->sadb_x_nat_t_port_exttype = type;
2477 pfkey_set_natt_frag(caddr_t buf, caddr_t lim, u_int type,
2491 p->sadb_x_nat_t_frag_exttype = type;
2500 pfkey_setsecctx(caddr_t buf, caddr_t lim, u_int type, u_int8_t ctx_doi,
2514 p->sadb_x_sec_exttype = type;
2540 psaa.type = SADB_UPDATE;
2576 psaa.type = SADB_UPDATE;
2615 psaa.type = SADB_ADD;
2651 psaa.type = SADB_ADD;