Lines Matching refs:wsize
460 struct sockaddr *dst, u_int32_t spi, u_int32_t reqid, u_int wsize,
467 reqid, wsize,
484 struct sockaddr *dst, u_int32_t spi, u_int32_t reqid, u_int wsize,
491 reqid, wsize,
1028 u_int wsize, caddr_t keymat, u_int e_type, u_int e_keylen, u_int a_type,
1112 if (wsize > UINT8_MAX) {
1113 if (wsize > (UINT32_MAX - 32) >> 3) {
1136 p = pfkey_setsadbsa(p, ep, spi, wsize, a_type, e_type, flags);
1146 if (wsize > UINT8_MAX) {
1147 p = pfkey_setsadbxreplay(p, ep, wsize);
1892 pfkey_setsadbsa(caddr_t buf, caddr_t lim, u_int32_t spi, u_int wsize,
1908 p->sadb_sa_replay = wsize > UINT8_MAX ? UINT8_MAX: wsize;
1922 pfkey_setsadbxreplay(caddr_t buf, caddr_t lim, uint32_t wsize)
1936 /* Convert wsize from bytes to number of packets. */
1937 p->sadb_x_sa_replay_replay = wsize << 3;