Searched refs:opcode (Results 1 - 18 of 18) sorted by relevance

/seL4-camkes-master/projects/projects_libs/libusbdrivers/src/drivers/
H A Dufi.c60 uint8_t opcode; member in struct:ufi_cdb
80 cdb.opcode = TEST_UNIT_READY;
98 cdb.opcode = REQUEST_SENSE;
124 cdb.opcode = INQUIRY;
150 cdb.opcode = ALLOW_REMOVAL;
169 cdb.opcode = READ_CAPACITY;
198 cdb.opcode = MODE_SENSE;
226 cdb.opcode = READ_10;
255 cdb.opcode = READ_12;
/seL4-camkes-master/projects/lwip/src/include/lwip/prot/
H A Detharp.h91 PACK_STRUCT_FIELD(u16_t opcode);
/seL4-camkes-master/projects/lwip/src/apps/tftp/
H A Dtftp_server.c207 int opcode; local
219 opcode = sbuf[0];
224 switch (opcode) {
256 tftp_state.handle = tftp_state.ctx->open(filename, mode, opcode == PP_HTONS(TFTP_WRQ));
264 LWIP_DEBUGF(TFTP_DEBUG | LWIP_DBG_STATE, ("tftp: %s request from ", (opcode == PP_HTONS(TFTP_WRQ)) ? "write" : "read"));
271 if (opcode == PP_HTONS(TFTP_WRQ)) {
/seL4-camkes-master/projects/seL4_projects_libs/libsel4vm/src/arch/x86/processor/
H A Ddecode.c219 /* We've hit the opcode */
225 assert(dec_op.curr_byte < instr_len); /* We still need an opcode */
227 uint8_t opcode = instr[dec_op.curr_byte]; local
229 if (opcode == OP_ESCAPE) {
230 opcode = instr[dec_op.curr_byte];
232 decode_table_2op[opcode].decode_fn(&dec_op);
234 decode_table_1op[opcode].decode_fn(&dec_op);
237 if (dec_op.op.len != 2 && IA32_OPCODE_S(opcode)) {
/seL4-camkes-master/projects/picotcp/modules/
H A Dpico_tftp.c44 uint16_t opcode; variable
50 uint16_t opcode; variable
54 /* ERROR (opcode 5) */
57 uint16_t opcode; variable
96 void (*listen_callback)(union pico_address *addr, uint16_t port, uint16_t opcode, char *filename, int32_t len);
363 dh->opcode = short_be(PICO_TFTP_ACK);
424 hdr->opcode = short_be(PICO_TFTP_OACK);
430 static void tftp_send_req(struct pico_tftp_session *session, union pico_address *a, uint16_t port, const char *filename, uint16_t opcode) argument
451 options_size = prepare_options_string(session, str_options, (opcode == PICO_TFTP_WRQ) ? (session->file_size) : (0));
463 hdr->opcode
1184 pico_tftp_listen(uint16_t family, void (*cb)(union pico_address *addr, uint16_t port, uint16_t opcode, char *filename, int32_t len)) argument
[all...]
H A Dpico_arp.c75 uint16_t opcode; variable
392 if (hdr->opcode != PICO_ARP_REQUEST)
395 hdr->opcode = PICO_ARP_REPLY;
417 if ((link_dev == f->dev) && (hdr->opcode == PICO_ARP_REQUEST)) {
487 ah->opcode = PICO_ARP_REQUEST;
H A Dpico_tftp.h65 int pico_tftp_listen(uint16_t family, void (*cb)(union pico_address *addr, uint16_t port, uint16_t opcode, char *filename, int32_t len));
H A Dpico_dns_common.h76 uint8_t opcode : 4; /* Opcode */
H A Dpico_dns_client.c261 if (pre->qr != PICO_DNS_QR_RESPONSE || pre->opcode != PICO_DNS_OPCODE_QUERY || pre->rcode != PICO_DNS_RCODE_NO_ERROR) {
262 dns_dbg("DNS ERROR: OPCODE %d | TC %d | RCODE %d\n", pre->opcode, pre->tc, pre->rcode);
H A Dpico_dns_common.c1328 hdr->opcode = PICO_DNS_OPCODE_QUERY;
H A Dpico_mdns.c2817 /* 18.3: Messages received with an opcode other than zero MUST be silently */
2821 if(packet->opcode == 0 && packet->rcode == 0) {
/seL4-camkes-master/projects/picotcp/test/examples/
H A Dtftp.c271 void tftp_listen_cb(union pico_address *addr, uint16_t port, uint16_t opcode, char *filename, int32_t len) argument
277 if (opcode == PICO_TFTP_RRQ) {
281 } else if (opcode == PICO_TFTP_WRQ) {
288 void tftp_listen_cb_opt(union pico_address *addr, uint16_t port, uint16_t opcode, char *filename, int32_t len) argument
303 if (opcode == PICO_TFTP_RRQ) {
321 } else { /* opcode == PICO_TFTP_WRQ */
/seL4-camkes-master/projects/lwip/src/core/ipv4/
H A Detharp.c138 const u16_t opcode);
698 switch (hdr->opcode) {
736 LWIP_DEBUGF(ETHARP_DEBUG | LWIP_DBG_TRACE, ("etharp_input: ARP unknown opcode type %"S16_F"\n", lwip_htons(hdr->opcode)));
1086 * Send a raw ARP packet (opcode and all addresses can be modified)
1095 * @param opcode the type of the ARP packet
1105 const u16_t opcode)
1127 hdr->opcode = lwip_htons(opcode);
1101 etharp_raw(struct netif *netif, const struct eth_addr *ethsrc_addr, const struct eth_addr *ethdst_addr, const struct eth_addr *hwsrc_addr, const ip4_addr_t *ipsrc_addr, const struct eth_addr *hwdst_addr, const ip4_addr_t *ipdst_addr, const u16_t opcode) argument
/seL4-camkes-master/projects/musllibc/include/arpa/
H A Dnameser.h328 unsigned opcode: 4; member in struct:__anon249
341 unsigned opcode :4; member in struct:__anon249
/seL4-camkes-master/projects/picotcp/docs/user_manual/
H A Dchap_api_tftp.tex50 \item The type of transfer requested, via the \texttt{opcode} parameter being either \texttt{PICO$\_$TFTP$\_$RRQ} or \texttt{PICO$\_$TFTP$\_$WRQ}, for get or put requests respectively.
56 uint16_t port, uint16_t opcode, char *filename, int32_t len));
73 uint16_t opcode, char *filename, int32_t len)
80 if (opcode == PICO_TFTP_RRQ) {
84 } else if (opcode == PICO_TFTP_WRQ) {
136 uint16_t opcode, char *filename, int32_t len)
154 if (opcode == PICO_TFTP_RRQ) {
171 } else { /* opcode == PICO_TFTP_WRQ */
333 uint16_t opcode, char *filename, int32_t len)
351 if (opcode
[all...]
/seL4-camkes-master/projects/picotcp/test/unit/
H A Dunit_arp.c146 ah->opcode = PICO_ARP_REQUEST;
H A Dmodunit_pico_tftp.c32 fail_if(short_be(h->opcode) != expected_opcode);
72 /* th.opcode = 0; */
74 /* th.opcode = short_be(PICO_TFTP_RRQ); */
76 /* th.opcode = short_be(0xFF); */
/seL4-camkes-master/projects/lwip/test/unit/etharp/
H A Dtest_etharp.c97 etharphdr->opcode = htons(ARP_REPLY);

Completed in 234 milliseconds