Home | History | Annotate | Download | only in Dhcp6Dxe

Lines Matching refs:Dhcp6

2   Dhcp6 internal functions implementation.

23 @param[in] Instance The pointer to the Dhcp6 instance.
24 @param[in] Packet The pointer to the Dhcp6 packet to retry.
59 TxCb->Xid = Packet->Dhcp6.Header.TransactionId;
69 switch (Packet->Dhcp6.Header.MessageType) {
227 @param[in] Instance The pointer to the Dhcp6 instance.
258 if (TxCb->TxPacket->Dhcp6.Header.MessageType == Dhcp6MsgInfoRequest) {
298 @param[in] Instance The pointer to the Dhcp6 instance.
323 if (TxCb->TxPacket->Dhcp6.Header.MessageType != Dhcp6MsgInfoRequest) {
344 if (TxCb->TxPacket->Dhcp6.Header.MessageType == Dhcp6MsgInfoRequest) {
397 @param[in, out] Instance The pointer to the Dhcp6 instance.
471 Callback to user when Dhcp6 transmit/receive occurs.
473 @param[in] Instance The pointer to the Dhcp6 instance.
474 @param[in] Event The current Dhcp6 event.
510 &Instance->Dhcp6,
534 @param[in, out] Instance The pointer to the Dhcp6 instance.
569 Packet->Dhcp6.Option,
688 @param[in] Instance The pointer to the Dhcp6 instance.
712 Packet->Dhcp6.Option,
728 Packet->Dhcp6.Option,
817 Transmit Dhcp6 message by udpio.
819 @param[in] Instance The pointer to the Dhcp6 instance.
846 Frag.Bulk = (UINT8 *) &Packet->Dhcp6.Header;
859 // Multicast the Dhcp6 message, unless get the unicast server address by option.
911 @param[in] Instance The pointer to the Dhcp6 instance.
950 // Create the Dhcp6 packet and initialize commone fields.
959 Packet->Dhcp6.Header.MessageType = Dhcp6MsgSolicit;
960 Packet->Dhcp6.Header.TransactionId = Service->Xid++;
963 // Assembly Dhcp6 options for solicit message.
965 Cursor = Packet->Dhcp6.Option;
986 Packet->Dhcp6.Header.MessageType
990 // Append user-defined when configurate Dhcp6 service.
1006 Packet->Length += (UINT32) (Cursor - Packet->Dhcp6
1050 @param[in] Instance The pointer to the Dhcp6 instance.
1073 @param[in] Instance The pointer to the Dhcp6 instance.
1113 Instance->AdSelect->Dhcp6.Option,
1132 // Create the Dhcp6 packet and initialize commone fields.
1141 Packet->Dhcp6.Header.MessageType = Dhcp6MsgRequest;
1142 Packet->Dhcp6.Header.TransactionId = Service->Xid++;
1145 // Assembly Dhcp6 options for request message.
1147 Cursor = Packet->Dhcp6.Option;
1175 Packet->Dhcp6.Header.MessageType
1179 // Append user-defined when configurate Dhcp6 service.
1195 Packet->Length += (UINT32) (Cursor - Packet->Dhcp6.Option);
1235 @param[in] Instance The pointer to the Dhcp6 instance.
1276 LastReply->Dhcp6.Option,
1290 // Create the Dhcp6 packet and initialize commone fields.
1299 Packet->Dhcp6.Header.MessageType = Dhcp6MsgDecline;
1300 Packet->Dhcp6.Header.TransactionId = Service->Xid++;
1303 // Assembly Dhcp6 options for rebind/renew message.
1305 Cursor = Packet->Dhcp6.Option;
1328 Cursor = Dhcp6AppendIaOption (Cursor, DecIa, 0, 0, Packet->Dhcp6.Header.MessageType);
1333 Packet->Length += (UINT32) (Cursor - Packet->Dhcp6.Option);
1373 @param[in] Instance The pointer to the Dhcp6 instance.
1413 LastReply->Dhcp6.Option,
1424 // Create the Dhcp6 packet and initialize commone fields.
1433 Packet->Dhcp6.Header.MessageType = Dhcp6MsgRelease;
1434 Packet->Dhcp6.Header.TransactionId = Service->Xid++;
1437 // Assembly Dhcp6 options for rebind/renew message
1439 Cursor = Packet->Dhcp6.Option;
1465 Cursor = Dhcp6AppendIaOption (Cursor, RelIa, 0, 0, Packet->Dhcp6.Header.MessageType);
1470 Packet->Length += (UINT32) (Cursor - Packet->Dhcp6.Option);
1506 @param[in] Instance The pointer to the Dhcp6 instance.
1555 // Create the Dhcp6 packet and initialize commone fields.
1564 Packet->Dhcp6.Header.MessageType = RebindRequest ? Dhcp6MsgRebind : Dhcp6MsgRenew;
1565 Packet->Dhcp6.Header.TransactionId = Service->Xid++;
1568 // Assembly Dhcp6 options for rebind/renew message.
1570 Cursor = Packet->Dhcp6.Option;
1591 Packet->Dhcp6.Header.MessageType
1603 LastReply->Dhcp6.Option,
1623 // Append user-defined when configurate Dhcp6 service.
1639 Packet->Length += (UINT32) (Cursor - Packet->Dhcp6.Option);
1684 @param[in] Instance The pointer to the Dhcp6 instance.
1785 @param[in] Instance The pointer to the Dhcp6 instance.
1838 // Create the Dhcp6 packet and initialize commone fields.
1847 Packet->Dhcp6.Header.MessageType = Dhcp6MsgInfoRequest;
1848 Packet->Dhcp6.Header.TransactionId = Service->Xid++;
1850 InfCb->Xid = Packet->Dhcp6.Header.TransactionId;
1853 // Assembly Dhcp6 options for info-request message.
1855 Cursor = Packet->Dhcp6.Option;
1881 // Append user-defined when configurate Dhcp6 service.
1897 Packet->Length += (UINT32) (Cursor - Packet->Dhcp6.Option);
1925 @param[in] Instance The pointer to the Dhcp6 instance.
1966 // Create the Dhcp6 packet and initialize common fields.
1975 Packet->Dhcp6.Header.MessageType = Dhcp6MsgConfirm;
1976 Packet->Dhcp6.Header.TransactionId = Service->Xid++;
1979 // Assembly Dhcp6 options for solicit message.
1981 Cursor = Packet->Dhcp6.Option;
2002 Packet->Dhcp6.Header.MessageType
2006 // Append user-defined when configurate Dhcp6 service.
2021 Packet->Length += (UINT32) (Cursor - Packet->Dhcp6.Option);
2060 Handle with the Dhcp6 reply message.
2062 @param[in] Instance The pointer to Dhcp6 instance.
2063 @param[in] Packet The pointer to the Dhcp6 reply message.
2087 if (Packet->Dhcp6.Header.MessageType != Dhcp6MsgReply) {
2099 Packet->Dhcp6.Option,
2118 Packet->Dhcp6.Option,
2317 Packet->Dhcp6.Header.TransactionId,
2327 Select the appointed Dhcp6 advertisement message.
2329 @param[in] Instance The pointer to the Dhcp6 instance.
2330 @param[in] AdSelect The pointer to the selected Dhcp6 advertisement message.
2365 AdSelect->Dhcp6.Header.TransactionId,
2378 AdSelect->Dhcp6.Option,
2411 Handle with the Dhcp6 advertisement message.
2413 @param[in] Instance The pointer to the Dhcp6 instance.
2414 @param[in] Packet The pointer to the Dhcp6 advertisement message.
2444 Packet->Dhcp6.Option,
2449 if (Option != NULL && Instance->Config->RapidCommit && Packet->Dhcp6.Header.MessageType == Dhcp6MsgReply) {
2454 if (Packet->Dhcp6.Header.MessageType != Dhcp6MsgAdvertise) {
2517 Packet->Dhcp6.Option,
2571 The Dhcp6 stateful exchange process routine.
2573 @param[in] Instance The pointer to the Dhcp6 instance.
2574 @param[in] Packet The pointer to the received Dhcp6 message.
2603 if (Packet->Dhcp6.Header.MessageType != Dhcp6MsgAdvertise && Packet->Dhcp6.Header.MessageType != Dhcp6MsgReply) {
2611 Packet->Dhcp6.Option,
2624 Packet->Dhcp6.Option,
2667 // Continue to receive the following Dhcp6 message.
2683 The Dhcp6 stateless exchange process routine.
2685 @param[in] Instance The pointer to the Dhcp6 instance.
2686 @param[in] Packet The pointer to the received Dhcp6 message.
2706 if (Packet->Dhcp6.Header.MessageType != Dhcp6MsgReply) {
2715 if (InfCb->Xid == Packet->Dhcp6.Header.TransactionId) {
2729 Packet->Dhcp6.Option,
2742 &Instance->Dhcp6,
2761 Packet->Dhcp6.Header.TransactionId,
2786 The receive callback function for Dhcp6 exchange process.
2831 // Copy the net buffer received from upd6 to a Dhcp6 packet.
2841 Head = &Packet->Dhcp6.Header;
2859 if (Packet->Dhcp6.Header.TransactionId == TxCb->Xid) {
2864 if (TxCb->TxPacket->Dhcp6.Header.MessageType == Dhcp6MsgInfoRequest) {
2972 The timer routine of the Dhcp6 instance for each second.
3011 if ((TxCb->RetryCnt == 0 || TxCb->SolicitRetry) && TxCb->TxPacket->Dhcp6.Header.MessageType == Dhcp6MsgSolicit) {
3092 if (TxCb->TxPacket->Dhcp6.Header.MessageType == Dhcp6MsgSolicit) {
3141 (TxCb->TxPacket->Dhcp6.Header.MessageType == Dhcp6MsgInfoRequest ||
3142 TxCb->TxPacket->Dhcp6.Header.MessageType == Dhcp6MsgRenew ||
3143 TxCb->TxPacket->Dhcp6.Header.MessageType == Dhcp6MsgConfirm)
3148 if ((TxCb->TxPacket->Dhcp6.Header.MessageType == Dhcp6MsgRenew) ||
3149 (TxCb->TxPacket->Dhcp6.Header.MessageType == Dhcp6MsgConfirm)) {
3156 if (TxCb->TxPacket->Dhcp6.Header.MessageType == Dhcp6MsgInfoRequest) {