Searched refs:hdr (Results 176 - 200 of 700) sorted by relevance

1234567891011>>

/openbsd-current/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_rlc.c203 const struct gfx_firmware_header_v1_0 *hdr = local
207 le32_to_cpu(hdr->header.ucode_array_offset_bytes));
208 table_offset = le32_to_cpu(hdr->jt_offset);
209 table_size = le32_to_cpu(hdr->jt_size);
211 const struct gfx_firmware_header_v1_0 *hdr = local
215 le32_to_cpu(hdr->header.ucode_array_offset_bytes));
216 table_offset = le32_to_cpu(hdr->jt_offset);
217 table_size = le32_to_cpu(hdr->jt_size);
219 const struct gfx_firmware_header_v1_0 *hdr = local
223 le32_to_cpu(hdr
227 const struct gfx_firmware_header_v1_0 *hdr = local
235 const struct gfx_firmware_header_v1_0 *hdr = local
[all...]
/openbsd-current/usr.sbin/ldpd/
H A Dlde.c219 switch (imsg.hdr.type) {
221 ln = lde_nbr_find(imsg.hdr.peerid);
235 if (imsg.hdr.len - IMSG_HEADER_SIZE != sizeof(map))
239 ln = lde_nbr_find(imsg.hdr.peerid);
246 switch (imsg.hdr.type) {
265 if (imsg.hdr.len - IMSG_HEADER_SIZE != sizeof(lde_addr))
269 ln = lde_nbr_find(imsg.hdr.peerid);
282 if (imsg.hdr.len - IMSG_HEADER_SIZE != sizeof(lde_addr))
286 ln = lde_nbr_find(imsg.hdr.peerid);
299 if (imsg.hdr
[all...]
/openbsd-current/sys/dev/pv/
H A Dif_vio.c791 vio_tx_offload(struct virtio_net_hdr *hdr, struct mbuf *m) argument
813 hdr->csum_start = sizeof(*ext.eh);
816 hdr->csum_start = sizeof(*ext.evh);
818 hdr->csum_start += ext.iphlen;
821 hdr->csum_offset = offsetof(struct tcphdr, th_sum);
823 hdr->csum_offset = offsetof(struct udphdr, uh_sum);
825 hdr->flags = VIRTIO_NET_HDR_F_NEEDS_CSUM;
839 hdr->hdr_len = hdr->csum_start + ext.tcphlen;
840 hdr
876 struct virtio_net_hdr *hdr; local
1112 vio_rx_offload(struct mbuf *m, struct virtio_net_hdr *hdr) argument
1165 struct virtio_net_hdr *hdr; local
1310 struct virtio_net_hdr *hdr = &sc->sc_tx_hdrs[slot]; local
[all...]
/openbsd-current/usr.sbin/bgpd/
H A Dpfkey.c306 /* SA hdr */
422 struct sadb_msg hdr; local
424 if (recv(sd, &hdr, sizeof(hdr), MSG_PEEK) != sizeof(hdr)) {
432 if (hdr.sadb_msg_seq == sadb_msg_seq &&
433 hdr.sadb_msg_pid == pid) {
435 memcpy(h, &hdr, sizeof(hdr));
440 if (read(sd, &hdr, sizeo
453 struct sadb_msg hdr, *msg; local
[all...]
/openbsd-current/usr.sbin/eigrpd/
H A Drde.c196 switch (imsg.hdr.type) {
198 if (imsg.hdr.len - IMSG_HEADER_SIZE !=
203 if (rde_nbr_find(imsg.hdr.peerid))
206 rde_nbr_new(imsg.hdr.peerid, &new);
209 nbr = rde_nbr_find(imsg.hdr.peerid);
218 rde_nbr_del(rde_nbr_find(imsg.hdr.peerid), 0);
221 nbr = rde_nbr_find(imsg.hdr.peerid);
235 nbr = rde_nbr_find(imsg.hdr.peerid);
242 if (imsg.hdr.len - IMSG_HEADER_SIZE != sizeof(rinfo))
246 switch (imsg.hdr
[all...]
/openbsd-current/usr.sbin/pppd/
H A Dsys-bsd.c1103 struct rt_msghdr hdr; member in struct:__anon4
1116 rtmsg.hdr.rtm_type = cmd == 's'? RTM_ADD: RTM_DELETE;
1117 rtmsg.hdr.rtm_flags = RTF_UP | RTF_GATEWAY;
1118 rtmsg.hdr.rtm_version = RTM_VERSION;
1119 rtmsg.hdr.rtm_seq = ++rtm_seq;
1120 rtmsg.hdr.rtm_addrs = RTA_DST | RTA_GATEWAY | RTA_NETMASK;
1129 rtmsg.hdr.rtm_msglen = sizeof(rtmsg);
1148 struct rt_msghdr hdr; member in struct:__anon5
1178 arpmsg.hdr.rtm_type = RTM_ADD;
1179 arpmsg.hdr
[all...]
/openbsd-current/gnu/usr.bin/gcc/gcc/
H A Dcollect2.c3020 ldc_header_t hdr; /* common header */
3082 mo_header_t hdr;
3105 status = decode_mach_o_hdr (obj, MO_SIZEOF_RAW_HDR, MOH_HEADER_VERSION, &hdr);
3115 if (hdr.moh_magic != MOH_MAGIC_MSB
3116 || hdr.moh_header_version != MOH_HEADER_VERSION
3117 || hdr.moh_byte_order != OUR_BYTE_ORDER
3118 || hdr.moh_data_rep_id != OUR_DATA_REP_ID
3119 || hdr.moh_cpu_type != OUR_CPU_TYPE
3120 || hdr.moh_cpu_subtype != OUR_CPU_SUBTYPE
3121 || hdr
3001 ldc_header_t hdr; /* common header */ member in union:load_union
3062 mo_header_t hdr; local
[all...]
/openbsd-current/usr.sbin/relayctl/
H A Drelayctl.c331 imn = monitor_lookup(imsg->hdr.type);
333 imsg->hdr.type, imsg->hdr.len, imsg->hdr.peerid, imsg->hdr.pid);
355 switch (imsg->hdr.type) {
441 errx(1, "wrong message in summary: %u", imsg->hdr.type);
454 switch (imsg->hdr.type) {
461 imsg->hdr.peerid, con->se_id,
478 errx(1, "wrong message in session: %u", imsg->hdr
[all...]
/openbsd-current/usr.sbin/ospfd/
H A Dkroute.c474 switch (imsg->hdr.type) {
476 if (imsg->hdr.len != IMSG_HEADER_SIZE + sizeof(flags)) {
486 imsg->hdr.pid,
492 if (imsg->hdr.len != IMSG_HEADER_SIZE +
501 main_imsg_compose_ospfe(IMSG_CTL_KROUTE, imsg->hdr.pid,
509 main_imsg_compose_ospfe(IMSG_CTL_END, imsg->hdr.pid, NULL, 0);
1183 struct rt_msghdr hdr; local
1195 bzero(&hdr, sizeof(hdr));
1196 hdr
[all...]
/openbsd-current/usr.sbin/vmd/
H A Dvmd.c110 switch (imsg->hdr.type) {
145 res = config_setvm(ps, vm, imsg->hdr.peerid,
183 if (imsg->hdr.type == IMSG_VMDOP_TERMINATE_VM_REQUEST) {
188 if (proc_compose_imsg(ps, PROC_VMM, -1, imsg->hdr.type,
189 imsg->hdr.peerid, -1, &vid, sizeof(vid)) == -1)
231 cmd = imsg->hdr.type == IMSG_VMDOP_PAUSE_VM
240 cmd = imsg->hdr.type == IMSG_VMDOP_PAUSE_VM
248 cmd = imsg->hdr.type == IMSG_VMDOP_PAUSE_VM
253 proc_compose_imsg(ps, PROC_VMM, -1, imsg->hdr.type,
254 imsg->hdr
[all...]
/openbsd-current/gnu/usr.bin/binutils/bfd/
H A Dcoff-rs6000.c1138 struct xcoff_ar_hdr hdr;
1151 if (bfd_bread ((PTR) &hdr, (bfd_size_type) SIZEOF_AR_HDR, abfd)
1156 namlen = strtol (hdr.namlen, (char **) NULL, 10);
1161 sz = strtol (hdr.size, (char **) NULL, 10);
1193 struct xcoff_ar_hdr_big hdr;
1206 if (bfd_bread ((PTR) &hdr, (bfd_size_type) SIZEOF_AR_HDR_BIG, abfd)
1211 namlen = strtol (hdr.namlen, (char **) NULL, 10);
1219 sz = strtol (hdr.size, (char **) NULL, 10);
1309 struct xcoff_ar_file_hdr hdr;
1312 memcpy (hdr
1135 struct xcoff_ar_hdr hdr; local
1190 struct xcoff_ar_hdr_big hdr; local
1306 struct xcoff_ar_file_hdr hdr; local
1333 struct xcoff_ar_file_hdr_big hdr; local
1387 struct xcoff_ar_hdr hdr; local
1419 struct xcoff_ar_hdr_big hdr; local
1586 struct xcoff_ar_hdr hdr; local
1856 struct xcoff_ar_hdr_big *hdr; local
1959 struct xcoff_ar_hdr_big *hdr; local
2317 struct xcoff_ar_hdr_big *hdr, ahdr; local
[all...]
/openbsd-current/gnu/usr.bin/binutils-2.17/bfd/
H A Dcoff-rs6000.c1138 struct xcoff_ar_hdr hdr;
1151 if (bfd_bread ((PTR) &hdr, (bfd_size_type) SIZEOF_AR_HDR, abfd)
1156 namlen = strtol (hdr.namlen, (char **) NULL, 10);
1161 sz = strtol (hdr.size, (char **) NULL, 10);
1193 struct xcoff_ar_hdr_big hdr;
1206 if (bfd_bread ((PTR) &hdr, (bfd_size_type) SIZEOF_AR_HDR_BIG, abfd)
1211 namlen = strtol (hdr.namlen, (char **) NULL, 10);
1219 sz = strtol (hdr.size, (char **) NULL, 10);
1311 struct xcoff_ar_file_hdr hdr;
1314 memcpy (hdr
1135 struct xcoff_ar_hdr hdr; local
1190 struct xcoff_ar_hdr_big hdr; local
1308 struct xcoff_ar_file_hdr hdr; local
1335 struct xcoff_ar_file_hdr_big hdr; local
1389 struct xcoff_ar_hdr hdr; local
1421 struct xcoff_ar_hdr_big hdr; local
1588 struct xcoff_ar_hdr hdr; local
1858 struct xcoff_ar_hdr_big *hdr; local
1959 struct xcoff_ar_hdr_big *hdr; local
2315 struct xcoff_ar_hdr_big *hdr, ahdr; local
[all...]
/openbsd-current/gnu/lib/libstdc++/libstdc++/
H A DMakefile.in262 mostlyclean-hdr:
264 clean-hdr:
266 distclean-hdr:
269 maintainer-clean-hdr:
448 mostlyclean-am: mostlyclean-hdr mostlyclean-tags mostlyclean-generic
452 clean-am: clean-hdr clean-tags clean-generic mostlyclean-am
456 distclean-am: distclean-hdr distclean-tags distclean-generic clean-am
462 maintainer-clean-am: maintainer-clean-hdr maintainer-clean-tags \
470 .PHONY: mostlyclean-hdr distclean-hdr clea
[all...]
/openbsd-current/sys/net/
H A Dpf_syncookies.c208 iss, ntohl(pd->hdr.tcp.th_seq) + 1, TH_SYN|TH_ACK, 0, mss,
222 seq = ntohl(pd->hdr.tcp.th_seq) - 1;
223 ack = ntohl(pd->hdr.tcp.th_ack) - 1;
355 hash = pf_syncookie_mac(pd, cookie, ntohl(pd->hdr.tcp.th_seq));
377 seq = ntohl(pd->hdr.tcp.th_seq) - 1;
378 ack = ntohl(pd->hdr.tcp.th_ack) - 1;
/openbsd-current/usr.sbin/ldapd/
H A Dldapd.c270 __func__, imsg->hdr.type, iev->ibuf.fd);
271 switch (imsg->hdr.type) {
283 __func__, imsg->hdr.type);
349 if (imsg->hdr.len != sizeof(*areq) + IMSG_HEADER_SIZE)
370 if (imsg->hdr.len != sizeof(verbose) + IMSG_HEADER_SIZE)
383 if (imsg->hdr.len != sizeof(*oreq) + IMSG_HEADER_SIZE)
/openbsd-current/usr.sbin/ikectl/
H A Dikectl.c400 imn = monitor_lookup(imsg->hdr.type);
402 imsg->hdr.type, imsg->hdr.len, imsg->hdr.peerid, imsg->hdr.pid);
417 switch (imsg->hdr.type) {
/openbsd-current/gnu/usr.bin/binutils/gdb/
H A Dremote-mips.c60 static int mips_receive_header (unsigned char *hdr, int *pgarbage,
66 static int mips_cksum (const unsigned char *hdr,
259 #define HDR_IS_DATA(hdr) \
260 (((hdr)[HDR_INDX_TYPE_LEN] & TYPE_LEN_DA_BIT) == TYPE_LEN_DATA)
261 #define HDR_GET_LEN(hdr) \
262 ((((hdr)[HDR_INDX_TYPE_LEN] & 0x1f) << 6) + (((hdr)[HDR_INDX_LEN1] & 0x3f)))
263 #define HDR_GET_SEQ(hdr) ((unsigned int)(hdr)[HDR_INDX_SEQ] & 0x3f)
695 mips_receive_header (unsigned char *hdr, in
693 mips_receive_header(unsigned char *hdr, int *pgarbage, int ch, int timeout) argument
787 mips_cksum(const unsigned char *hdr, const unsigned char *data, int len) argument
868 unsigned char hdr[HDR_LENGTH + 1]; local
990 unsigned char hdr[HDR_LENGTH]; local
[all...]
/openbsd-current/usr.bin/ssh/
H A Dmonitor_fdpass.c44 struct cmsghdr hdr; member in union:__anon97
92 struct cmsghdr hdr; member in union:__anon98
/openbsd-current/sys/dev/usb/
H A Dmbim.h178 struct mbim_msghdr hdr; member in struct:mbim_fragmented_msg_hdr
183 struct mbim_msghdr hdr; member in struct:mbim_h2f_openmsg
188 struct mbim_msghdr hdr; member in struct:mbim_h2f_closemsg
192 struct mbim_msghdr hdr; member in struct:mbim_h2f_cmd
204 struct mbim_msghdr hdr; member in struct:mbim_f2h_indicate_status
213 struct mbim_msghdr hdr; member in struct:mbim_f2h_hosterr
227 struct mbim_msghdr hdr; member in struct:mbim_f2h_openclosedone
232 struct mbim_msghdr hdr; member in struct:mbim_f2h_cmddone
/openbsd-current/usr.sbin/smtpd/
H A Ddispatcher.c41 switch (imsg->hdr.type) {
120 fatalx("session_imsg: unexpected %s imsg", imsg_to_str(imsg->hdr.type));
/openbsd-current/usr.sbin/lpd/
H A Dlpd.c360 switch (imsg->hdr.type) {
363 log_fmt_imsgtype(imsg->hdr.type));
378 switch (imsg->hdr.type) {
386 log_fmt_imsgtype(imsg->hdr.type));
399 switch (imsg->hdr.type) {
402 log_fmt_imsgtype(imsg->hdr.type));
419 switch (imsg->hdr.type) {
422 log_fmt_imsgtype(imsg->hdr.type));
/openbsd-current/usr.sbin/npppd/npppd/
H A Dprivsep.c364 if (imsg.hdr.len != IMSG_HEADER_SIZE + sizeof(*r)) {
424 if (imsg.hdr.len != IMSG_HEADER_SIZE + sizeof(*r))
483 if (imsg.hdr.len != IMSG_HEADER_SIZE + sizeof(*r))
521 if (imsg.hdr.len != IMSG_HEADER_SIZE + sizeof(*r))
547 if (imsg.hdr.len != IMSG_HEADER_SIZE + sizeof(*r))
585 switch (imsg.hdr.type) {
591 if (imsg.hdr.len != IMSG_HEADER_SIZE + sizeof(*a))
612 if (imsg.hdr.len != IMSG_HEADER_SIZE + sizeof(*a))
632 if (imsg.hdr.len != IMSG_HEADER_SIZE + sizeof(*a))
651 if (imsg.hdr
[all...]
/openbsd-current/sys/scsi/
H A Dscsiconf.c1137 struct scsi_vpd_hdr hdr; member in struct:__anon36
1153 len = MIN(sizeof(pg->list), _2btol(pg->hdr.page_length));
1181 struct scsi_vpd_hdr *hdr = NULL; local
1187 hdr = dma_alloc(sizeof(*hdr), PR_WAITOK | PR_ZERO);
1189 rv = scsi_inquire_vpd(link, hdr, sizeof(*hdr), SI_PG_DEVID,
1194 len = sizeof(*hdr) + _2btol(hdr->page_length);
1201 pos = sizeof(*hdr);
1274 struct scsi_vpd_hdr *hdr = NULL; local
[all...]
/openbsd-current/gnu/llvm/lld/ELF/
H A DInputSection.cpp45 const typename ELFT::Shdr &hdr) {
46 if (hdr.sh_type == SHT_NOBITS)
47 return ArrayRef<uint8_t>(nullptr, hdr.sh_size);
48 return check(file.getObj().getSectionContents(hdr));
90 const typename ELFT::Shdr &hdr,
92 : InputSectionBase(&file, getFlags(hdr.sh_flags), hdr.sh_type,
93 hdr.sh_entsize, hdr.sh_link, hdr
44 getSectionContents(ObjFile<ELFT> &file, const typename ELFT::Shdr &hdr) argument
89 InputSectionBase(ObjFile<ELFT> &file, const typename ELFT::Shdr &hdr, StringRef name, Kind sectionKind) argument
112 auto *hdr = reinterpret_cast<const typename ELFT::Chdr *>(sec.content_); local
216 auto *hdr = reinterpret_cast<const typename ELFT::Chdr *>(content().data()); local
1106 auto *hdr = reinterpret_cast<const typename ELFT::Chdr *>(content_); local
[all...]
/openbsd-current/usr.sbin/tcpdump/
H A Dprint-udp.c112 vat_print(const void *hdr, u_int len, const struct udphdr *up) argument
115 u_int ts = *(u_short *)hdr;
123 u_int i0 = ntohl(((u_int *)hdr)[0]);
124 u_int i1 = ntohl(((u_int *)hdr)[1]);
138 rtp_print(const void *hdr, u_int len, const struct udphdr *up) argument
141 u_int *ip = (u_int *)hdr;
143 u_int i0 = ntohl(((u_int *)hdr)[0]);
144 u_int i1 = ntohl(((u_int *)hdr)[1]);
203 rtcp_print(const u_char *hdr, const u_char *ep) argument
208 struct rtcphdr *rh = (struct rtcphdr *)hdr;
[all...]

Completed in 243 milliseconds

1234567891011>>