Searched refs:xid (Results 1 - 12 of 12) sorted by relevance

/seL4-camkes-master/projects/picotcp/modules/
H A Dpico_dhcp_client.h16 int pico_dhcp_initiate_negotiation(struct pico_device *device, void (*callback)(void*cli, int code), uint32_t *xid);
17 void *pico_dhcp_get_identifier(uint32_t xid);
22 int pico_dhcp_client_abort(uint32_t xid);
H A Dpico_dhcp_client.c73 uint32_t xid; member in struct:dhcp_client_timer
81 uint32_t xid; member in struct:pico_dhcp_client_cookie
120 if (a->xid == b->xid)
123 return (a->xid < b->xid) ? (-1) : (1);
127 static struct pico_dhcp_client_cookie *pico_dhcp_client_add_cookie(uint32_t xid, struct pico_device *dev, void (*cb)(void *dhcpc, int code), uint32_t *uid) argument
133 test.xid = xid;
147 dhcpc->xid
162 pico_dhcp_client_del_cookie(uint32_t xid) argument
182 pico_dhcp_client_find_cookie(uint32_t xid) argument
447 uint32_t xid = 0; local
1027 pico_dhcp_get_identifier(uint32_t xid) argument
1058 pico_dhcp_client_abort(uint32_t xid) argument
[all...]
H A Dpico_dhcp_server.c43 uint32_t xid; member in struct:pico_dhcp_server_negotiation
79 if (a->xid == b->xid)
82 return (a->xid < b->xid) ? (-1) : (1);
174 static struct pico_dhcp_server_negotiation *pico_dhcp_server_find_negotiation(uint32_t xid) argument
180 test.xid = xid;
208 if (pico_dhcp_server_find_negotiation(hdr->xid))
217 dhcpn->xid
[all...]
H A Dpico_dhcp_common.h96 uint32_t xid; /* store this in the request */ variable
/seL4-camkes-master/projects/lwip/src/include/lwip/
H A Ddhcp6.h60 u32_t xid; member in struct:dhcp6
H A Ddhcp.h70 u32_t xid; member in struct:dhcp
/seL4-camkes-master/projects/picotcp/test/unit/
H A Dunit_dhcp.c150 struct pico_ip4 xid = { local
179 memcpy(&(buf[4]), &(xid.addr), sizeof(struct pico_ip4));
196 dn = pico_dhcp_server_find_negotiation(xid.addr);
206 dn = pico_dhcp_server_find_negotiation(xid.addr);
254 struct pico_ip4 xid = { local
279 memcpy(&(buf[4]), &(xid.addr), sizeof(struct pico_ip4));
295 dn = pico_dhcp_server_find_negotiation(xid.addr);
303 dn = pico_dhcp_server_find_negotiation(xid.addr);
330 struct pico_ip4 xid = { local
356 memcpy(&(buf[4]), &(xid
[all...]
/seL4-camkes-master/projects/lwip/test/unit/dhcp/
H A Dtest_dhcp.c432 * Validate that xid is checked.
440 u32_t xid; local
457 xid = netif_dhcp_data(&net_test)->xid; /* Write bad xid, not using htonl! */
458 memcpy(&dhcp_offer[46], &xid, 4);
467 xid = htonl(netif_dhcp_data(&net_test)->xid);
468 memcpy(&dhcp_offer[46], &xid, 4); /* insert correct transaction id */
472 xid
513 u32_t xid; local
735 u32_t xid; local
877 u32_t xid; local
987 u32_t xid; local
[all...]
/seL4-camkes-master/projects/lwip/src/core/ipv6/
H A Ddhcp6.c394 /* @todo: limit new xid for certain message types? */
397 dhcp6->xid = LWIP_RAND() & 0xFFFFFF;
401 ("transaction id xid(%"X32_F")\n", dhcp6->xid));
407 msg_out->transaction_id[0] = (u8_t)(dhcp6->xid >> 16);
408 msg_out->transaction_id[1] = (u8_t)(dhcp6->xid >> 8);
409 msg_out->transaction_id[2] = (u8_t)dhcp6->xid;
695 u32_t xid; local
721 xid = reply_msg->transaction_id[0] << 16;
722 xid |
[all...]
/seL4-camkes-master/projects/picotcp/docs/user_manual/
H A Dchap_api_dhcp_c.tex15 void (*callback)(void *cli, int code), uint32_t *xid);
27 \item \texttt{xid} - transaction id of the negotiation. Is set on \texttt{PICO\_DHCP\_SUCCESS}, 0 otherwise.
57 pico_dhcp_initiate_negotiation(dev, &callback_dhcpclient, &xid);
66 \texttt{struct pico\_ip4 pico\_dhcp\_client\_abort(uint32\_t xid);}
70 \item \texttt{xid} - the transaction id returned from the call \texttt{pico\_dhcp\_initiate\_negotiation}.
83 \texttt{void *pico\_dhcp\_get\_identifier(uint32\_t xid);}
87 \item \texttt{xid} - transaction id of the negotiation.
97 void *cli = pico_dhcp_get_identifier(xid);
/seL4-camkes-master/projects/lwip/src/include/lwip/prot/
H A Ddhcp.h69 PACK_STRUCT_FIELD(u32_t xid);
/seL4-camkes-master/projects/lwip/src/core/ipv4/
H A Ddhcp.c95 /** DHCP_CREATE_RAND_XID: if this is set to 1, the xid is created using
176 static u32_t xid; variable
1800 if (lwip_ntohl(reply_msg->xid) != dhcp->xid) {
1802 ("transaction id mismatch reply_msg->xid(%"X32_F")!=dhcp->xid(%"X32_F")\n", lwip_ntohl(reply_msg->xid), dhcp->xid));
1887 static u32_t xid; local
1889 static u32_t xid local
[all...]

Completed in 101 milliseconds