Skip to content

Commit 91b6855

Browse files
lexicon fixes (#727)
Co-authored-by: Tony Josi <[email protected]>
1 parent 3062666 commit 91b6855

File tree

7 files changed

+30
-13
lines changed

7 files changed

+30
-13
lines changed

.github/lexicon.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -735,6 +735,7 @@ prvcachelookup
735735
prvchecknetworktimers
736736
prvcheckoptions
737737
prvcheckrxdata
738+
prvclosedhcpsocket
738739
prvcopydatatoqueue
739740
prvcreatednsmessage
740741
prvcreatesectors
@@ -743,6 +744,7 @@ prvdnsreply
743744
prvemacdeferredinterrupthandlertask
744745
prvemachandlertask
745746
prvfillsockaddress
747+
prvfindcacheentry
746748
prvfindendpointonnetmask
747749
prvgethostbyname
748750
prvgethostbynameop
@@ -755,6 +757,7 @@ prviptask
755757
prvlinkstatuschange
756758
prvnotifyqueuesetcontainer
757759
prvparsednsreply
760+
prvpreparelinklayeriplookup
758761
prvpreparelookup
759762
prvprocessdhcpreplies
760763
prvprocessdnscache
@@ -922,6 +925,7 @@ pxlastaddress
922925
pxlength
923926
pxlist
924927
pxlistfindlistitemwithvalue
928+
pxlocation
925929
pxlostbuffer
926930
pxmacaddress
927931
pxmessage
@@ -962,6 +966,7 @@ pxsockettodelete
962966
pxsourceaddress
963967
pxsourceaddresslength
964968
pxsourceendpoint
969+
pxtargetendpoint
965970
pxtcp
966971
pxtcpheader
967972
pxtcppacket
@@ -1007,6 +1012,7 @@ renesas
10071012
reqlength
10081013
resetpins
10091014
resp
1015+
ret
10101016
retrytransmission
10111017
retval
10121018
revents
@@ -1357,6 +1363,7 @@ ulreserved
13571363
ulreturn
13581364
ulrxwindowlength
13591365
ulsenderprotocoladdress
1366+
ulsendlength
13601367
ulsequencenumber
13611368
ulsize
13621369
ulskipcount
@@ -1513,6 +1520,7 @@ uxnumberofbytestosend
15131520
uxoffset
15141521
uxoptionlength
15151522
uxoptionslength
1523+
uxpacketlength
15161524
uxpayloaddatalength
15171525
uxpayloadlength
15181526
uxpayloadoffset
@@ -1557,6 +1565,7 @@ vapplicationpingreplyhook
15571565
var
15581566
varpagecache
15591567
varpgeneraterequestpacket
1568+
varprefreshcacheentry
15601569
varpsendgratuitous
15611570
vcastconstpointerto
15621571
vcastconstptrto
@@ -1674,9 +1683,11 @@ xdhcpsocketusercount
16741683
xdhcptxperiod
16751684
xdhcptxtime
16761685
xdmarxdescriptors
1686+
xdnsbuf
16771687
xdnscache
16781688
xdnsmessage
16791689
xdnssocket
1690+
xdoaccept
16801691
xdocheck
16811692
xdolog
16821693
xdomain
@@ -1728,13 +1739,15 @@ xilinx
17281739
xindex
17291740
xinternal
17301741
xipaddress
1742+
xipentry
17311743
xipheader
17321744
xipheadersize
17331745
xiptaskhandle
17341746
xiptaskinitialised
17351747
xiptracevalues
17361748
xiptype
17371749
xisbound
1750+
xiscallingfromiptask
17381751
xisforrx
17391752
xisinputstream
17401753
xiswaitingarpresolution
@@ -1756,6 +1769,7 @@ xlookup
17561769
xlwipconfig
17571770
xmacaddress
17581771
xmacbroadcast
1772+
xmacentry
17591773
xmaxtime
17601774
xmessage
17611775
xmicreldevice
@@ -1772,6 +1786,7 @@ xnetworkinterfaceinitialise
17721786
xnetworkinterfaceoutput
17731787
xnetworkparams
17741788
xnetworktimer
1789+
xnetworkup
17751790
xontcpconnect
17761791
xontcpreceive
17771792
xontcpsent
@@ -1794,6 +1809,7 @@ xprefix
17941809
xprefixaddress
17951810
xpriorityqueue
17961811
xprivatestorage
1812+
xprocessedtcpmessage
17971813
xprocessreceivedtcppacket
17981814
xprocessreceivedudppacket
17991815
xprotocol
@@ -1881,6 +1897,7 @@ xudp
18811897
xudpheader
18821898
xudppacket
18831899
xusebroadcast
1900+
xuseentry
18841901
xwaitallbits
18851902
xwaitingpacketslist
18861903
xwaitqueue

source/FreeRTOS_DNS.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,7 @@
10481048
* @param [in] pcHostName
10491049
* @param [in] uxIdentifier matches sent and received packets
10501050
* @param [in] xDNSSocket a valid socket
1051-
* @param [in] xFamily indicae what type of record is needed:
1051+
* @param [in] xFamily indicate what type of record is needed:
10521052
* FREERTOS_AF_INET4 or FREERTOS_AF_INET6.
10531053
* @param [in] pxAddress address structure
10541054
* @returns pdTRUE if sending the data was successful, pdFALSE otherwise.

source/include/FreeRTOS_ARP.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ typedef enum
6969
} eARPLookupResult_t;
7070

7171
/** @brief A structure used internally in FreeRTOS_ARP.c.
72-
* It is used as a parameter for the function prvFindCachEntry().*/
72+
* It is used as a parameter for the function prvFindCacheEntry().*/
7373
typedef struct xCacheLocation
7474
{
7575
BaseType_t xIpEntry; /**< The index of the matching IP-address. */

test/unit-test/FreeRTOS_ARP/FreeRTOS_ARP_utest.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1555,7 +1555,7 @@ void test_eARPGetCacheEntry_IPMatchesOtherBroadcastAddr( void )
15551555
/* =================================================== */
15561556
}
15571557

1558-
/* TODO: _TJ_: For the timebeing test_eARPGetCacheEntry_LocalIPIsZero and test_eARPGetCacheEntry_LocalIPMatchesReceivedIP */
1558+
/* TODO: _TJ_: For the time being test_eARPGetCacheEntry_LocalIPIsZero and test_eARPGetCacheEntry_LocalIPMatchesReceivedIP */
15591559
/* test cases are removed as we need to reevaluate if those cases are required for IPv6 */
15601560

15611561
void test_eARPGetCacheEntry_MatchingInvalidEntry( void )

test/unit-test/FreeRTOS_DHCP/FreeRTOS_DHCP_utest.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1120,7 +1120,7 @@ void test_vDHCPProcess_eWaitingOfferRecvfromFailsNoTimeout( void )
11201120
TEST_ASSERT_EQUAL( eWaitingOffer, pxEndPoint->xDHCPData.eDHCPState );
11211121
}
11221122

1123-
void test_vDHCPProcess_eWaitingOfferRecvfromFailsTimeoutGiveUp( void ) /*prvCloseDHCPSocket */
1123+
void test_vDHCPProcess_eWaitingOfferRecvfromFailsTimeoutGiveUp( void ) /* prvCloseDHCPSocket */
11241124
{
11251125
struct xSOCKET xTestSocket;
11261126
TickType_t xTimeValue = 1234;

test/unit-test/FreeRTOS_DNS_Parser/FreeRTOS_DNS_Parser_utest.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1513,8 +1513,8 @@ void test_DNS_ParseDNSReply_ansswer_lmmnr_reply_null_new_netbuffer( void )
15131513
xExpected,
15141514
usPort ) );
15151515

1516-
/*TEST_ASSERT_EQUAL( pdFALSE, ret ); */
1517-
/*ASSERT_DNS_QUERY_HOOK_CALLED(); */
1516+
/* TEST_ASSERT_EQUAL( pdFALSE, ret ); */
1517+
/* ASSERT_DNS_QUERY_HOOK_CALLED(); */
15181518
}
15191519

15201520
/**

test/unit-test/FreeRTOS_IP/FreeRTOS_IP_utest.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2828,7 +2828,7 @@ void test_vReturnEthernetFrame_DataLenMoreThanRequired( void )
28282828
TEST_ASSERT_EQUAL( 1, NetworkInterfaceOutputFunction_Stub_Called );
28292829
}
28302830

2831-
void test_FreeRTOS_GetIPAddress( void ) /*TODO */
2831+
void test_FreeRTOS_GetIPAddress( void ) /* TODO */
28322832
{
28332833
uint32_t ulIPAddress;
28342834

@@ -2854,20 +2854,20 @@ void test_FreeRTOS_IsNetworkUp( void )
28542854

28552855

28562856
xEndPoint.bits.bEndPointUp = pdTRUE;
2857-
/*xNetworkUp = pdTRUE; */
2858-
/*xReturn = FreeRTOS_IsNetworkUp(); */
2857+
/* xNetworkUp = pdTRUE; */
2858+
/* xReturn = FreeRTOS_IsNetworkUp(); */
28592859
xReturn = FreeRTOS_IsEndPointUp( &xEndPoint );
28602860
TEST_ASSERT_EQUAL( pdTRUE, xReturn );
28612861

2862-
/*xNetworkUp = pdFALSE; */
2863-
/*xReturn = FreeRTOS_IsNetworkUp(); */
2862+
/* xNetworkUp = pdFALSE; */
2863+
/* xReturn = FreeRTOS_IsNetworkUp(); */
28642864
xEndPoint.bits.bEndPointUp = pdFALSE;
28652865
xReturn = FreeRTOS_IsEndPointUp( &xEndPoint );
28662866

28672867
TEST_ASSERT_EQUAL( pdFALSE, xReturn );
28682868

2869-
/*xReturn = FreeRTOS_IsNetworkUp(); TODO to be checked in routing */
2870-
/*TEST_ASSERT_EQUAL( pdFALSE, xReturn ); */
2869+
/* xReturn = FreeRTOS_IsNetworkUp(); TODO to be checked in routing */
2870+
/* TEST_ASSERT_EQUAL( pdFALSE, xReturn ); */
28712871
}
28722872

28732873
void test_CastingFunctions( void )

0 commit comments

Comments
 (0)