Más contenido relacionado
La actualidad más candente (20)
Similar a Workshop@naha_val3 (20)
Workshop@naha_val3
- 2. ✤ linux kernel
✤
✤ linux
✤ Etnernet
✤ Wireless Access
- 5. ✤ kernel
✤ malloc free → kmalloc kfree
✤
✤ PC
✤
✤ tty
✤ open write read
✤ NIC kernel
✤
✤ kernel
- 6. kernel
static int flag = 0; ✤ func_a() func_b() func_c() kernel
int 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. USB
✤
✤
✤
✤
✤
✤
✤
✤ linux
- 8. USB
tty net_dev storage
USB
USB
USB
- 9. USB
✤ init exit
✤
✤ probe disconnect
✤ probe disconnect
✤ USB
✤ PID•VID USB device class
✤ kernel
✤ USB
✤ tty NIC etc
✤ control interrupt bulk
- 10. USB
insmod
kernel
usb
probe
disconnect
usb
USB
rmmod
- 13. probe
•xmit_func()
•MTU
•timeout
•etc
xmit_func()
•
•
xmit_func()
- 16. Ethernet Wireless Access
✤ Wireless Access
✤ WiFi Wimax LTE XGP
✤
✤ Ethernet
✤ Wireless Access
✤
✤ Ethernet TCP
✤ Wireless Access MAC
✤
✤ Wireless Access
✤
- 17. Ethernet
probe() xmit()
net_dev
xmit() or netif_rx()
Notas del editor
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n
- \n