Searched refs:ps_len (Results 1 - 7 of 7) sorted by relevance
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/tls/ |
H A D | pkcs1.c | 26 size_t ps_len; local 51 ps_len = modlen - inlen - 3; 54 os_memset(pos, 0x00, ps_len); 55 pos += ps_len; 58 os_memset(pos, 0xff, ps_len); 59 pos += ps_len; 62 if (os_get_random(pos, ps_len) < 0) { 67 while (ps_len--) {
|
/netbsd-6-1-5-RELEASE/usr.sbin/pf/pfs/ |
H A D | pfs.c | 94 ps->ps_len = 0; 103 if (ps->ps_len == 0) 106 inbuf = malloc(ps->ps_len); 118 return (ps->ps_len / sizeof(struct pfsync_state)); 194 ps.ps_len = nb_states * sizeof(struct pfsync_state); 195 ps.ps_states = malloc(ps.ps_len); 298 nb_states = ps->ps_len / sizeof(struct pfsync_state);
|
H A D | parse.y | 492 if (allocated == (states->ps_len / sizeof(struct pfsync_state))) { 503 idx = states->ps_len / sizeof(struct pfsync_state);
|
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/crypto/ |
H A D | crypto_libtomcrypt.c | 496 size_t ps_len; local 521 ps_len = modlen - inlen - 3; 524 os_memset(pos, 0x00, ps_len); 525 pos += ps_len; 528 os_memset(pos, 0xff, ps_len); 529 pos += ps_len; 532 if (os_get_random(pos, ps_len) < 0) { 537 while (ps_len--) {
|
/netbsd-6-1-5-RELEASE/dist/pf/sbin/pfctl/ |
H A D | pfctl.c | 1009 ps.ps_len = len; 1021 if (ps.ps_len + sizeof(struct pfioc_states) < len) 1023 if (len == 0 && ps.ps_len == 0) 1025 if (len == 0 && ps.ps_len != 0) 1026 len = ps.ps_len; 1027 if (ps.ps_len == 0) 1032 for (i = 0; i < ps.ps_len; i += sizeof(*p), p++) {
|
/netbsd-6-1-5-RELEASE/sys/dist/pf/net/ |
H A D | pf_ioctl.c | 1922 int size = ps->ps_len; 1973 if (ps->ps_len == 0) { 1975 ps->ps_len = sizeof(struct pfsync_state) * nr; 1986 if ((nr+1) * sizeof(*p) > (unsigned)ps->ps_len) 2002 ps->ps_len = sizeof(struct pfsync_state) * nr;
|
H A D | pfvar.h | 1383 int ps_len; member in struct:pfioc_states
|
Completed in 126 milliseconds