Commit aa2aced
committed
Rename debug macros, header guard, and logging
Standardize debug macro names and clean up private header guard across core network files. Renamed DEBUG_NET_NETIF/DEBUG_NET_TCP/DEBUG_NET_UDP to DEBUG_NETIF/DEBUG_TCP/DEBUG_UDP, and replaced NET_NET_PRIVATE_H_ with NETWORK_PRIVATE_H_ (updated include cleanup and endif comment) in network_private.h. In tcp.cpp, wrap GCC optimization pragmas with CONFIG_TCP_NO_OPTIMIZE to allow opt-out, and replace several network::Error(...) calls with the ERROR(...) logging macro. Also minor formatting tweaks in tcp.cpp (else block) and udp/netif debug guards.1 parent 2e0bcff commit aa2aced
4 files changed
Lines changed: 14 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
| 26 | + | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
| |||
127 | 126 | | |
128 | 127 | | |
129 | 128 | | |
130 | | - | |
| 129 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| 58 | + | |
57 | 59 | | |
58 | 60 | | |
59 | 61 | | |
| |||
1494 | 1496 | | |
1495 | 1497 | | |
1496 | 1498 | | |
1497 | | - | |
| 1499 | + | |
1498 | 1500 | | |
1499 | 1501 | | |
1500 | 1502 | | |
1501 | 1503 | | |
1502 | 1504 | | |
1503 | 1505 | | |
1504 | 1506 | | |
1505 | | - | |
| 1507 | + | |
1506 | 1508 | | |
1507 | 1509 | | |
1508 | 1510 | | |
| |||
1542 | 1544 | | |
1543 | 1545 | | |
1544 | 1546 | | |
1545 | | - | |
| 1547 | + | |
1546 | 1548 | | |
1547 | 1549 | | |
1548 | 1550 | | |
1549 | 1551 | | |
1550 | 1552 | | |
1551 | 1553 | | |
1552 | | - | |
| 1554 | + | |
1553 | 1555 | | |
1554 | 1556 | | |
1555 | 1557 | | |
| |||
1568 | 1570 | | |
1569 | 1571 | | |
1570 | 1572 | | |
1571 | | - | |
| 1573 | + | |
1572 | 1574 | | |
1573 | 1575 | | |
1574 | 1576 | | |
| |||
1588 | 1590 | | |
1589 | 1591 | | |
1590 | 1592 | | |
1591 | | - | |
1592 | | - | |
| 1593 | + | |
1593 | 1594 | | |
1594 | 1595 | | |
1595 | 1596 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments