Workshop@naha val3

639 views
541 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
639
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Workshop@naha val3

    1. 1. workshop@NAHA Vol3
    2. 2. ✤ linux kernel✤✤ linux ✤ Etnernet ✤ Wireless Access
    3. 3. linux kernel TTY FS IF CPU memory DISC CD NIC
    4. 4. linux kernel✤ ✤ •✤ ✤ malloc free✤ ✤✤ ✤✤ ✤
    5. 5. ✤ kernel ✤ malloc free → kmalloc kfree✤ ✤ PC✤ ✤ tty ✤ open write read ✤ NIC kernel✤ ✤ kernel
    6. 6. kernelstatic int flag = 0; ✤ func_a() func_b() func_c() kernelint func_a(void) { ✤ func_b() int ret = 0; if (flag) { ✤ func_b() ret = 1; } ✤ func_a() if (flag) { ret = 2; } return ret;}void func_b(void) { flag = 1;}void func_c(void) { flag = 0;}
    7. 7. USB✤ ✤✤ ✤✤ ✤ ✤ ✤ linux
    8. 8. USB tty net_dev storage USB USB USB
    9. 9. USB✤ init exit ✤ ✤ probe disconnect✤ probe disconnect ✤ USB ✤ PID•VID USB device class ✤ kernel✤ USB ✤ tty NIC etc ✤ control interrupt bulk
    10. 10. USBinsmod kernel usb probe disconnect usb USBrmmod
    11. 11. kernel✤ NIC✤ ARP IP
    12. 12. linux✤ ✤ ✤ •✤✤ ✤ ✤✤ ✤ ✤
    13. 13. probe •xmit_func() •MTU •timeout •etcxmit_func() • • xmit_func()
    14. 14. netif_receive_skb() netif_rx()Ethernet IP
    15. 15. PING linux✤ ping linux ✤ ping -i 0.5 -s 1500✤
    16. 16. Ethernet Wireless Access✤ Wireless Access ✤ WiFi Wimax LTE XGP✤ ✤ Ethernet ✤ Wireless Access✤ ✤ Ethernet TCP ✤ Wireless Access MAC✤ ✤ Wireless Access ✤
    17. 17. Ethernet probe() xmit() net_dev xmit() or netif_rx()
    18. 18. Wireless Access probe() xmit() net_dev netif_rx() xmit() or

    ×