| /NextBSD/contrib/wpa/src/tls/ |
| HD | x509v3.c | 184 struct asn1_hdr hdr; in x509_parse_algorithm_identifier() local 194 if (asn1_get_next(buf, len, &hdr) < 0 || in x509_parse_algorithm_identifier() 195 hdr.class != ASN1_CLASS_UNIVERSAL || in x509_parse_algorithm_identifier() 196 hdr.tag != ASN1_TAG_SEQUENCE) { in x509_parse_algorithm_identifier() 199 hdr.class, hdr.tag); in x509_parse_algorithm_identifier() 202 pos = hdr.payload; in x509_parse_algorithm_identifier() 203 end = pos + hdr.length; in x509_parse_algorithm_identifier() 223 struct asn1_hdr hdr; in x509_parse_public_key() local 236 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in x509_parse_public_key() 237 hdr.class != ASN1_CLASS_UNIVERSAL || in x509_parse_public_key() [all …]
|
| HD | pkcs8.c | 21 struct asn1_hdr hdr; in pkcs8_key_import() local 30 if (asn1_get_next(buf, len, &hdr) < 0 || in pkcs8_key_import() 31 hdr.class != ASN1_CLASS_UNIVERSAL || in pkcs8_key_import() 32 hdr.tag != ASN1_TAG_SEQUENCE) { in pkcs8_key_import() 37 pos = hdr.payload; in pkcs8_key_import() 38 end = pos + hdr.length; in pkcs8_key_import() 41 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs8_key_import() 42 hdr.class != ASN1_CLASS_UNIVERSAL || hdr.tag != ASN1_TAG_INTEGER) { in pkcs8_key_import() 45 hdr.class, hdr.tag); in pkcs8_key_import() 53 if (bignum_set_unsigned_bin(zero, hdr.payload, hdr.length) < 0) { in pkcs8_key_import() [all …]
|
| HD | asn1.c | 25 int asn1_get_next(const u8 *buf, size_t len, struct asn1_hdr *hdr) in asn1_get_next() argument 30 os_memset(hdr, 0, sizeof(*hdr)); in asn1_get_next() 34 hdr->identifier = *pos++; in asn1_get_next() 35 hdr->class = hdr->identifier >> 6; in asn1_get_next() 36 hdr->constructed = !!(hdr->identifier & (1 << 5)); in asn1_get_next() 38 if ((hdr->identifier & 0x1f) == 0x1f) { in asn1_get_next() 39 hdr->tag = 0; in asn1_get_next() 49 hdr->tag = (hdr->tag << 7) | (tmp & 0x7f); in asn1_get_next() 52 hdr->tag = hdr->identifier & 0x1f; in asn1_get_next() 62 hdr->length = 0; in asn1_get_next() [all …]
|
| HD | pkcs5.c | 48 struct asn1_hdr hdr; in pkcs5_get_params() local 81 if (asn1_get_next(pos, enc_alg_end - pos, &hdr) < 0 || in pkcs5_get_params() 82 hdr.class != ASN1_CLASS_UNIVERSAL || in pkcs5_get_params() 83 hdr.tag != ASN1_TAG_SEQUENCE) { in pkcs5_get_params() 86 hdr.class, hdr.tag); in pkcs5_get_params() 89 pos = hdr.payload; in pkcs5_get_params() 90 end = hdr.payload + hdr.length; in pkcs5_get_params() 93 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs5_get_params() 94 hdr.class != ASN1_CLASS_UNIVERSAL || in pkcs5_get_params() 95 hdr.tag != ASN1_TAG_OCTETSTRING || in pkcs5_get_params() [all …]
|
| HD | pkcs1.c | 205 struct asn1_hdr hdr; in pkcs1_v15_sig_ver() local 234 if (asn1_get_next(decrypted, decrypted_len, &hdr) < 0 || in pkcs1_v15_sig_ver() 235 hdr.class != ASN1_CLASS_UNIVERSAL || in pkcs1_v15_sig_ver() 236 hdr.tag != ASN1_TAG_SEQUENCE) { in pkcs1_v15_sig_ver() 239 hdr.class, hdr.tag); in pkcs1_v15_sig_ver() 244 pos = hdr.payload; in pkcs1_v15_sig_ver() 245 end = pos + hdr.length; in pkcs1_v15_sig_ver() 255 if (asn1_get_next(pos, end - pos, &hdr) < 0 || in pkcs1_v15_sig_ver() 256 hdr.class != ASN1_CLASS_UNIVERSAL || in pkcs1_v15_sig_ver() 257 hdr.tag != ASN1_TAG_SEQUENCE) { in pkcs1_v15_sig_ver() [all …]
|
| /NextBSD/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| HD | arc.c | 908 #define HDR_IN_HASH_TABLE(hdr) ((hdr)->b_flags & ARC_FLAG_IN_HASH_TABLE) argument 909 #define HDR_IO_IN_PROGRESS(hdr) ((hdr)->b_flags & ARC_FLAG_IO_IN_PROGRESS) argument 910 #define HDR_IO_ERROR(hdr) ((hdr)->b_flags & ARC_FLAG_IO_ERROR) argument 911 #define HDR_PREFETCH(hdr) ((hdr)->b_flags & ARC_FLAG_PREFETCH) argument 912 #define HDR_FREED_IN_READ(hdr) ((hdr)->b_flags & ARC_FLAG_FREED_IN_READ) argument 913 #define HDR_BUF_AVAILABLE(hdr) ((hdr)->b_flags & ARC_FLAG_BUF_AVAILABLE) argument 915 #define HDR_L2CACHE(hdr) ((hdr)->b_flags & ARC_FLAG_L2CACHE) argument 916 #define HDR_L2COMPRESS(hdr) ((hdr)->b_flags & ARC_FLAG_L2COMPRESS) argument 917 #define HDR_L2_READING(hdr) \ argument 918 (((hdr)->b_flags & ARC_FLAG_IO_IN_PROGRESS) && \ [all …]
|
| /NextBSD/sys/kern/ |
| HD | subr_module.c | 48 uint32_t *hdr; in preload_search_by_name() local 55 hdr = (uint32_t *)curp; in preload_search_by_name() 56 if (hdr[0] == 0 && hdr[1] == 0) in preload_search_by_name() 60 if ((hdr[0] == MODINFO_NAME) && in preload_search_by_name() 65 next = sizeof(uint32_t) * 2 + hdr[1]; in preload_search_by_name() 80 uint32_t *hdr; in preload_search_by_type() local 88 hdr = (uint32_t *)curp; in preload_search_by_type() 89 if (hdr[0] == 0 && hdr[1] == 0) in preload_search_by_type() 93 if (hdr[0] == MODINFO_NAME) in preload_search_by_type() 97 if ((hdr[0] == MODINFO_TYPE) && in preload_search_by_type() [all …]
|
| /NextBSD/contrib/libpcap/ |
| HD | sf-pcap.c | 123 static int pcap_next_packet(pcap_t *p, struct pcap_pkthdr *hdr, u_char **datap); 154 struct pcap_file_header hdr; in pcap_check_header() local 183 hdr.magic = magic; in pcap_check_header() 184 amt_read = fread(((char *)&hdr) + sizeof hdr.magic, 1, in pcap_check_header() 185 sizeof(hdr) - sizeof(hdr.magic), fp); in pcap_check_header() 186 if (amt_read != sizeof(hdr) - sizeof(hdr.magic)) { in pcap_check_header() 194 (unsigned long)sizeof(hdr), in pcap_check_header() 205 hdr.version_major = SWAPSHORT(hdr.version_major); in pcap_check_header() 206 hdr.version_minor = SWAPSHORT(hdr.version_minor); in pcap_check_header() 207 hdr.thiszone = SWAPLONG(hdr.thiszone); in pcap_check_header() [all …]
|
| /NextBSD/tools/tools/ath/athalq/ |
| HD | main.c | 51 struct if_ath_alq_init_state hdr; variable 54 ath_alq_print_hdr(struct if_ath_alq_init_state *hdr) in ath_alq_print_hdr() argument 57 be32toh(hdr->sc_mac_version), in ath_alq_print_hdr() 58 be32toh(hdr->sc_mac_revision), in ath_alq_print_hdr() 59 be32toh(hdr->sc_phy_rev), in ath_alq_print_hdr() 60 be32toh(hdr->sc_hal_magic)); in ath_alq_print_hdr() 72 (unsigned int) be32toh(a->hdr.tstamp_sec), in ath_alq_print_intr_status() 73 (unsigned int) be32toh(a->hdr.tstamp_usec), in ath_alq_print_intr_status() 74 (unsigned long long) be64toh(a->hdr.threadid), in ath_alq_print_intr_status() 83 (unsigned int) be32toh(a->hdr.tstamp_sec), in ath_alq_print_beacon_miss() [all …]
|
| /NextBSD/sys/cam/ |
| HD | cam_compat.c | 121 struct ccb_hdr *hdr; in cam_compat_handle_0x17() local 128 hdr = &ccb->ccb_h; in cam_compat_handle_0x17() 130 hdr->pinfo = hdr17->pinfo; in cam_compat_handle_0x17() 131 hdr->xpt_links = hdr17->xpt_links; in cam_compat_handle_0x17() 132 hdr->sim_links = hdr17->sim_links; in cam_compat_handle_0x17() 133 hdr->periph_links = hdr17->periph_links; in cam_compat_handle_0x17() 134 hdr->retry_count = hdr17->retry_count; in cam_compat_handle_0x17() 135 hdr->cbfcnp = hdr17->cbfcnp; in cam_compat_handle_0x17() 136 hdr->func_code = hdr17->func_code; in cam_compat_handle_0x17() 137 hdr->status = hdr17->status; in cam_compat_handle_0x17() [all …]
|
| /NextBSD/lib/libkvm/ |
| HD | kvm_minidump_aarch64.c | 52 struct minidumphdr hdr; member 89 if (pread(kd->pmfd, &vmst->hdr, sizeof(vmst->hdr), 0) != in _aarch64_minidump_initvtop() 90 sizeof(vmst->hdr)) { in _aarch64_minidump_initvtop() 94 if (strncmp(MINIDUMP_MAGIC, vmst->hdr.magic, in _aarch64_minidump_initvtop() 95 sizeof(vmst->hdr.magic)) != 0) { in _aarch64_minidump_initvtop() 100 vmst->hdr.version = le32toh(vmst->hdr.version); in _aarch64_minidump_initvtop() 101 if (vmst->hdr.version != MINIDUMP_VERSION) { in _aarch64_minidump_initvtop() 103 "Expected %d got %d", MINIDUMP_VERSION, vmst->hdr.version); in _aarch64_minidump_initvtop() 106 vmst->hdr.msgbufsize = le32toh(vmst->hdr.msgbufsize); in _aarch64_minidump_initvtop() 107 vmst->hdr.bitmapsize = le32toh(vmst->hdr.bitmapsize); in _aarch64_minidump_initvtop() [all …]
|
| HD | kvm_minidump_amd64.c | 51 struct minidumphdr hdr; member 89 if (pread(kd->pmfd, &vmst->hdr, sizeof(vmst->hdr), 0) != in _amd64_minidump_initvtop() 90 sizeof(vmst->hdr)) { in _amd64_minidump_initvtop() 94 if (strncmp(MINIDUMP_MAGIC, vmst->hdr.magic, sizeof(vmst->hdr.magic)) != 0) { in _amd64_minidump_initvtop() 103 vmst->hdr.version = le32toh(vmst->hdr.version); in _amd64_minidump_initvtop() 104 if (vmst->hdr.version != MINIDUMP_VERSION && vmst->hdr.version != 1) { in _amd64_minidump_initvtop() 106 MINIDUMP_VERSION, vmst->hdr.version); in _amd64_minidump_initvtop() 109 vmst->hdr.msgbufsize = le32toh(vmst->hdr.msgbufsize); in _amd64_minidump_initvtop() 110 vmst->hdr.bitmapsize = le32toh(vmst->hdr.bitmapsize); in _amd64_minidump_initvtop() 111 vmst->hdr.pmapsize = le32toh(vmst->hdr.pmapsize); in _amd64_minidump_initvtop() [all …]
|
| HD | kvm_minidump_arm.c | 53 struct minidumphdr hdr; member 94 if (pread(kd->pmfd, &vmst->hdr, in _arm_minidump_initvtop() 95 sizeof(vmst->hdr), 0) != sizeof(vmst->hdr)) { in _arm_minidump_initvtop() 100 if (strncmp(MINIDUMP_MAGIC, vmst->hdr.magic, in _arm_minidump_initvtop() 101 sizeof(vmst->hdr.magic)) != 0) { in _arm_minidump_initvtop() 105 vmst->hdr.version = _kvm32toh(kd, vmst->hdr.version); in _arm_minidump_initvtop() 106 if (vmst->hdr.version != MINIDUMP_VERSION) { in _arm_minidump_initvtop() 108 "Expected %d got %d", MINIDUMP_VERSION, vmst->hdr.version); in _arm_minidump_initvtop() 111 vmst->hdr.msgbufsize = _kvm32toh(kd, vmst->hdr.msgbufsize); in _arm_minidump_initvtop() 112 vmst->hdr.bitmapsize = _kvm32toh(kd, vmst->hdr.bitmapsize); in _arm_minidump_initvtop() [all …]
|
| HD | kvm_minidump_i386.c | 51 struct minidumphdr hdr; member 89 if (pread(kd->pmfd, &vmst->hdr, sizeof(vmst->hdr), 0) != in _i386_minidump_initvtop() 90 sizeof(vmst->hdr)) { in _i386_minidump_initvtop() 94 if (strncmp(MINIDUMP_MAGIC, vmst->hdr.magic, sizeof(vmst->hdr.magic)) != 0) { in _i386_minidump_initvtop() 98 vmst->hdr.version = le32toh(vmst->hdr.version); in _i386_minidump_initvtop() 99 if (vmst->hdr.version != MINIDUMP_VERSION) { in _i386_minidump_initvtop() 101 MINIDUMP_VERSION, vmst->hdr.version); in _i386_minidump_initvtop() 104 vmst->hdr.msgbufsize = le32toh(vmst->hdr.msgbufsize); in _i386_minidump_initvtop() 105 vmst->hdr.bitmapsize = le32toh(vmst->hdr.bitmapsize); in _i386_minidump_initvtop() 106 vmst->hdr.ptesize = le32toh(vmst->hdr.ptesize); in _i386_minidump_initvtop() [all …]
|
| HD | kvm_minidump_mips.c | 54 struct minidumphdr hdr; member 105 if (pread(kd->pmfd, &vmst->hdr, in _mips_minidump_initvtop() 106 sizeof(vmst->hdr), 0) != sizeof(vmst->hdr)) { in _mips_minidump_initvtop() 111 if (strncmp(MINIDUMP_MAGIC, vmst->hdr.magic, in _mips_minidump_initvtop() 112 sizeof(vmst->hdr.magic)) != 0) { in _mips_minidump_initvtop() 116 vmst->hdr.version = _kvm32toh(kd, vmst->hdr.version); in _mips_minidump_initvtop() 117 if (vmst->hdr.version != MINIDUMP_VERSION) { in _mips_minidump_initvtop() 119 "Expected %d got %d", MINIDUMP_VERSION, vmst->hdr.version); in _mips_minidump_initvtop() 122 vmst->hdr.msgbufsize = _kvm32toh(kd, vmst->hdr.msgbufsize); in _mips_minidump_initvtop() 123 vmst->hdr.bitmapsize = _kvm32toh(kd, vmst->hdr.bitmapsize); in _mips_minidump_initvtop() [all …]
|
| /NextBSD/sys/boot/common/ |
| HD | gpt.c | 57 gptupdate(const char *which, struct dsk *dskp, struct gpt_hdr *hdr, in gptupdate() argument 71 entries_per_sec = DEV_BSIZE / hdr->hdr_entsz; in gptupdate() 75 slba += hdr->hdr_lba_table; in gptupdate() 81 hdr->hdr_crc_table = crc32(table, hdr->hdr_entries * hdr->hdr_entsz); in gptupdate() 82 hdr->hdr_crc_self = 0; in gptupdate() 83 hdr->hdr_crc_self = crc32(hdr, hdr->hdr_size); in gptupdate() 85 bcopy(hdr, secbuf, hdr->hdr_size); in gptupdate() 86 if (drvwrite(dskp, secbuf, hdr->hdr_lba_self, 1)) { in gptupdate() 185 gptread_hdr(const char *which, struct dsk *dskp, struct gpt_hdr *hdr, in gptread_hdr() argument 194 bcopy(secbuf, hdr, sizeof(*hdr)); in gptread_hdr() [all …]
|
| /NextBSD/sys/dev/ksyms/ |
| HD | ksyms.c | 243 struct ksyms_hdr *hdr; in ksyms_snapshot() local 248 hdr = malloc(sizeof (*hdr), M_KSYMS, M_WAITOK|M_ZERO); in ksyms_snapshot() 253 hdr->kh_ehdr.e_ident[EI_PAD] = 0; in ksyms_snapshot() 254 hdr->kh_ehdr.e_ident[EI_MAG0] = ELFMAG0; in ksyms_snapshot() 255 hdr->kh_ehdr.e_ident[EI_MAG1] = ELFMAG1; in ksyms_snapshot() 256 hdr->kh_ehdr.e_ident[EI_MAG2] = ELFMAG2; in ksyms_snapshot() 257 hdr->kh_ehdr.e_ident[EI_MAG3] = ELFMAG3; in ksyms_snapshot() 258 hdr->kh_ehdr.e_ident[EI_DATA] = ELF_DATA; in ksyms_snapshot() 259 hdr->kh_ehdr.e_ident[EI_OSABI] = ELFOSABI_FREEBSD; in ksyms_snapshot() 260 hdr->kh_ehdr.e_ident[EI_CLASS] = ELF_CLASS; in ksyms_snapshot() [all …]
|
| /NextBSD/sys/netgraph/bluetooth/l2cap/ |
| HD | ng_l2cap_cmds.h | 54 ng_l2cap_cmd_hdr_t hdr; \ 64 c->hdr.code = NG_L2CAP_CMD_REJ; \ 65 c->hdr.ident = (_ident); \ 66 c->hdr.length = sizeof(c->param); \ 72 c->hdr.length += sizeof(c->data.mtu); \ 76 c->hdr.length += sizeof(c->data.cid); \ 79 (_m)->m_pkthdr.len = (_m)->m_len = sizeof(c->hdr) + \ 80 c->hdr.length; \ 82 c->hdr.length = htole16(c->hdr.length); \ 89 ng_l2cap_cmd_hdr_t hdr; \ [all …]
|
| HD | ng_l2cap_evnt.c | 95 ng_l2cap_hdr_t *hdr = NULL; in ng_l2cap_receive() local 99 if (con->rx_pkt->m_pkthdr.len < sizeof(*hdr)) { in ng_l2cap_receive() 109 NG_L2CAP_M_PULLUP(con->rx_pkt, sizeof(*hdr)); in ng_l2cap_receive() 113 hdr = mtod(con->rx_pkt, ng_l2cap_hdr_t *); in ng_l2cap_receive() 114 hdr->length = le16toh(hdr->length); in ng_l2cap_receive() 115 hdr->dcid = le16toh(hdr->dcid); in ng_l2cap_receive() 118 if (hdr->length != con->rx_pkt->m_pkthdr.len - sizeof(*hdr)) { in ng_l2cap_receive() 121 __func__, NG_NODE_NAME(l2cap->node), hdr->length, in ng_l2cap_receive() 122 con->rx_pkt->m_pkthdr.len - sizeof(*hdr)); in ng_l2cap_receive() 128 switch (hdr->dcid) { in ng_l2cap_receive() [all …]
|
| /NextBSD/sys/dev/mfi/ |
| HD | mfi_debug.c | 64 mfi_print_sgl(struct mfi_frame_header *hdr, union mfi_sgl *sgl, int count) in mfi_print_sgl() argument 70 if (hdr->flags & MFI_FRAME_IEEE_SGL) { in mfi_print_sgl() 78 } else if (hdr->flags & MFI_FRAME_SGL64) { in mfi_print_sgl() 105 struct mfi_frame_header *hdr; in mfi_print_ldio() local 108 hdr = &io->header; in mfi_print_ldio() 111 "lba=%d\n", (hdr->cmd == MFI_CMD_LD_READ) ? "LD_READ":"LD_WRITE", in mfi_print_ldio() 112 hdr->target_id, hdr->sg_count, hdr->data_len, io->lba_lo); in mfi_print_ldio() 113 mfi_print_frame_flags(dev, hdr->flags); in mfi_print_ldio() 114 mfi_print_sgl(hdr, &io->sgl, hdr->sg_count); in mfi_print_ldio() 122 struct mfi_frame_header *hdr; in mfi_print_dcmd() local [all …]
|
| /NextBSD/usr.bin/mkulzma/ |
| HD | mkulzma.c | 70 } hdr; in main() local 72 memset(&hdr, 0, sizeof(hdr)); in main() 73 hdr.blksz = CLSTSIZE; in main() 74 strcpy(hdr.magic, CLOOP_MAGIC_START); in main() 102 hdr.blksz = tmp; in main() 131 obuf = safe_malloc(hdr.blksz*2); in main() 132 ibuf = safe_malloc(hdr.blksz); in main() 164 hdr.nblocks = sb.st_size / hdr.blksz; in main() 165 if ((sb.st_size % hdr.blksz) != 0) { in main() 168 "of %d, padding data\n", hdr.blksz); in main() [all …]
|
| /NextBSD/usr.bin/mkuzip/ |
| HD | mkuzip.c | 57 } hdr; in main() local 59 memset(&hdr, 0, sizeof(hdr)); in main() 60 hdr.blksz = CLSTSIZE; in main() 61 strcpy(hdr.magic, CLOOP_MAGIC_START); in main() 87 hdr.blksz = tmp; in main() 116 obuf = safe_malloc(compressBound(hdr.blksz)); in main() 117 ibuf = safe_malloc(hdr.blksz); in main() 148 hdr.nblocks = sb.st_size / hdr.blksz; in main() 149 if ((sb.st_size % hdr.blksz) != 0) { in main() 152 "of %d, padding data\n", hdr.blksz); in main() [all …]
|
| /NextBSD/contrib/binutils/bfd/ |
| HD | archive.c | 371 struct ar_hdr hdr; in _bfd_generic_read_ar_hdr_mag() local 372 char *hdrp = (char *) &hdr; in _bfd_generic_read_ar_hdr_mag() 386 if (strncmp (hdr.ar_fmag, ARFMAG, 2) != 0 in _bfd_generic_read_ar_hdr_mag() 388 || strncmp (hdr.ar_fmag, mag, 2) != 0)) in _bfd_generic_read_ar_hdr_mag() 395 parsed_size = strtol (hdr.ar_size, NULL, 10); in _bfd_generic_read_ar_hdr_mag() 405 if ((hdr.ar_name[0] == '/' in _bfd_generic_read_ar_hdr_mag() 406 || (hdr.ar_name[0] == ' ' in _bfd_generic_read_ar_hdr_mag() 407 && memchr (hdr.ar_name, '/', ar_maxnamelen (abfd)) == NULL)) in _bfd_generic_read_ar_hdr_mag() 410 filename = get_extended_arelt_filename (abfd, hdr.ar_name); in _bfd_generic_read_ar_hdr_mag() 416 else if (hdr.ar_name[0] == '#' in _bfd_generic_read_ar_hdr_mag() [all …]
|
| /NextBSD/contrib/ntp/libntp/ |
| HD | work_fork.c | 194 blocking_pipe_header * hdr, in send_blocking_req_internal() argument 201 DEBUG_REQUIRE(hdr != NULL); in send_blocking_req_internal() 203 DEBUG_REQUIRE(BLOCKING_REQ_MAGIC == hdr->magic_sig); in send_blocking_req_internal() 210 octets = sizeof(*hdr); in send_blocking_req_internal() 211 rc = write(c->req_write_pipe, hdr, octets); in send_blocking_req_internal() 214 octets = hdr->octets - sizeof(*hdr); in send_blocking_req_internal() 240 blocking_pipe_header hdr; in receive_blocking_req_internal() local 250 rc = read(c->req_read_pipe, &hdr, sizeof(hdr)); in receive_blocking_req_internal() 259 } else if (rc != sizeof(hdr)) { in receive_blocking_req_internal() 262 rc, (u_long)sizeof(hdr)); in receive_blocking_req_internal() [all …]
|
| /NextBSD/contrib/tcpdump/ |
| HD | print-pflog.c | 88 pflog_print(netdissect_options *ndo, const struct pfloghdr *hdr) in pflog_print() argument 92 rulenr = EXTRACT_32BITS(&hdr->rulenr); in pflog_print() 93 subrulenr = EXTRACT_32BITS(&hdr->subrulenr); in pflog_print() 97 ND_PRINT((ndo, "rule %u.%s.%u/", rulenr, hdr->ruleset, subrulenr)); in pflog_print() 100 tok2str(pf_reasons, "unkn(%u)", hdr->reason), in pflog_print() 101 tok2str(pf_actions, "unkn(%u)", hdr->action), in pflog_print() 102 tok2str(pf_directions, "unkn(%u)", hdr->dir), in pflog_print() 103 hdr->ifname)); in pflog_print() 113 const struct pfloghdr *hdr; in pflog_if_print() local 123 hdr = (struct pfloghdr *)p; in pflog_if_print() [all …]
|