You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/09/08 04:34:36 UTC

[GitHub] [incubator-nuttx] masayuki2009 commented on pull request #7020: net/netdev: simplify handling of netdev ifr ioctl()

masayuki2009 commented on PR #7020:
URL: https://github.com/apache/incubator-nuttx/pull/7020#issuecomment-1240206561

   @anchao 
   I noticed that the renew command does not work now.
   
   ```
   /home/ishikawa/opensource/QEMU/qemu-6.2/build/arm-softmmu/qemu-system-arm -net nic,model=stellaris -net user,hostfwd=tcp:127.0.0.1:20023-10.0.2.15:23,hostfwd=tcp:127.0.0.1:20021-10.0.2.15:21,hostfwd=tcp:127.0.0.1:25001-10.0.2.15:5001 -M lm3s6965evb -kernel ./nuttx/nuttx -nographic
   
   NuttShell (NSH) NuttX-10.4.0
   nsh> uname -a
   NuttX  10.4.0 fd53db56b6 Sep  8 2022 13:25:03 arm lm3s6965-ek
   nsh> ps
     PID GROUP PRI POLICY   TYPE    NPX STATE    EVENT     SIGMASK   STACK   USED  FILLED COMMAND
       0     0   0 FIFO     Kthread N-- Ready              00000000 001000 000380  38.0%  Idle Task
       1     1 224 RR       Kthread --- Waiting  Semaphore 00000000 001992 000276  13.8%  hpwork 0x2000095c
       2     2  60 RR       Kthread --- Waiting  Semaphore 00000000 001992 000276  13.8%  lpwork 0x2000096c
       3     3 100 RR       Task    --- Running            00000000 002000 001208  60.4%  nsh_main
       4     4 100 RR       Task    --- Waiting  Semaphore 00000000 001984 000500  25.2%  Telnet daemon 0x20006720
   nsh> free
                      total       used       free    largest  nused  nfree
           Umem:      50208      15408      34800      34800     60      1
   nsh> ifconfig
   eth0	Link encap:Ethernet HWaddr 00:e0:de:ad:be:ef at UP
   	inet addr:10.0.0.2 DRaddr:10.0.0.1 Mask:255.255.255.0
   
                IPv4   TCP   UDP  ICMP
   Received     0000  0000  0000  0000
   Dropped      0000  0000  0000  0000
     IPv4        VHL: 0000   Frg: 0000
     Checksum   0000  0000  0000  ----
     TCP         ACK: 0000   SYN: 0000
                 RST: 0000  0000
     Type       0000  ----  ----  0000
   Sent         0000  0000  0000  0000
     Rexmit     ----  0000  ----  ----
   nsh> renew eth0
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org