Enviar pesquisa
Carregar
Plan 9カーネルにおけるTCP/IP実装(未完)
•
1 gostou
•
962 visualizações
Ryousei Takano
Seguir
Tecnologia
Denunciar
Compartilhar
Denunciar
Compartilhar
1 de 15
Baixar agora
Baixar para ler offline
Recomendados
IL: 失われたプロトコル
IL: 失われたプロトコル
Ryousei Takano
Александр Зайцев - Port Knocking, short notes
Александр Зайцев - Port Knocking, short notes
Positive Hack Days
今日から始めるPlan 9 from Bell Labs
今日から始めるPlan 9 from Bell Labs
Ryousei Takano
Vm ware fuzzing - defcon russia 20
Vm ware fuzzing - defcon russia 20
DefconRussia
Как HeadHunter удалось безопасно нарушить RFC 793 (TCP) и обойти сетевые лову...
Как HeadHunter удалось безопасно нарушить RFC 793 (TCP) и обойти сетевые лову...
Андрей Шорин
Как HeadHunter удалось безопасно нарушить RFC 793 (TCP) и обойти сетевые лову...
Как HeadHunter удалось безопасно нарушить RFC 793 (TCP) и обойти сетевые лову...
Ontico
Pledge in OpenBSD
Pledge in OpenBSD
Giovanni Bechis
도커 없이 컨테이너 만들기 4편 네트워크네임스페이스 (2)
도커 없이 컨테이너 만들기 4편 네트워크네임스페이스 (2)
Sam Kim
Recomendados
IL: 失われたプロトコル
IL: 失われたプロトコル
Ryousei Takano
Александр Зайцев - Port Knocking, short notes
Александр Зайцев - Port Knocking, short notes
Positive Hack Days
今日から始めるPlan 9 from Bell Labs
今日から始めるPlan 9 from Bell Labs
Ryousei Takano
Vm ware fuzzing - defcon russia 20
Vm ware fuzzing - defcon russia 20
DefconRussia
Как HeadHunter удалось безопасно нарушить RFC 793 (TCP) и обойти сетевые лову...
Как HeadHunter удалось безопасно нарушить RFC 793 (TCP) и обойти сетевые лову...
Андрей Шорин
Как HeadHunter удалось безопасно нарушить RFC 793 (TCP) и обойти сетевые лову...
Как HeadHunter удалось безопасно нарушить RFC 793 (TCP) и обойти сетевые лову...
Ontico
Pledge in OpenBSD
Pledge in OpenBSD
Giovanni Bechis
도커 없이 컨테이너 만들기 4편 네트워크네임스페이스 (2)
도커 없이 컨테이너 만들기 4편 네트워크네임스페이스 (2)
Sam Kim
Building Network Functions with eBPF & BCC
Building Network Functions with eBPF & BCC
Kernel TLV
Talk 160920 @ Cat System Workshop
Talk 160920 @ Cat System Workshop
Quey-Liang Kao
Make A Shoot ‘Em Up Game with Amethyst Framework
Make A Shoot ‘Em Up Game with Amethyst Framework
Yodalee
Raspberry Pi for IPRUG
Raspberry Pi for IPRUG
Frank Carver
ハイパフォーマンスブラウザネットワーキング2
ハイパフォーマンスブラウザネットワーキング2
Shuya Osaki
Python by Martin Geisler
Python by Martin Geisler
Aberla
Understanding eBPF in a Hurry!
Understanding eBPF in a Hurry!
Ray Jenkins
Linux seccomp(2) vs OpenBSD pledge(2)
Linux seccomp(2) vs OpenBSD pledge(2)
Giovanni Bechis
Pf: the OpenBSD packet filter
Pf: the OpenBSD packet filter
Giovanni Bechis
Andrea Righi - Spying on the Linux kernel for fun and profit
Andrea Righi - Spying on the Linux kernel for fun and profit
linuxlab_conf
Make container without_docker_6-overlay-network_1
Make container without_docker_6-overlay-network_1
Sam Kim
Gameboy emulator in rust and web assembly
Gameboy emulator in rust and web assembly
Yodalee
eBPF maps 101
eBPF maps 101
SUSE Labs Taipei
OVS-NFV Tutorial
OVS-NFV Tutorial
Open Networking Perú (Opennetsoft)
Translation Cache Policies for Dynamic Binary Translation
Translation Cache Policies for Dynamic Binary Translation
Saber Ferjani
3 manual installation of open vpn
3 manual installation of open vpn
Ashwajit Maske
Linux Commands - Cheat Sheet
Linux Commands - Cheat Sheet
Isham Rashik
Rpm Introduction
Rpm Introduction
Shrinivasan T
20150613 self-puppet v4-avoiding_dragons
20150613 self-puppet v4-avoiding_dragons
garrett honeycutt
Flex pod driven by Openstack
Flex pod driven by Openstack
Marton Kiss
null Pune meet - Understanding TCP/IP and Network Intrusion
null Pune meet - Understanding TCP/IP and Network Intrusion
n|u - The Open Security Community
Tentang TCP/IP
Tentang TCP/IP
Iwanda Kusuma
Mais conteúdo relacionado
Mais procurados
Building Network Functions with eBPF & BCC
Building Network Functions with eBPF & BCC
Kernel TLV
Talk 160920 @ Cat System Workshop
Talk 160920 @ Cat System Workshop
Quey-Liang Kao
Make A Shoot ‘Em Up Game with Amethyst Framework
Make A Shoot ‘Em Up Game with Amethyst Framework
Yodalee
Raspberry Pi for IPRUG
Raspberry Pi for IPRUG
Frank Carver
ハイパフォーマンスブラウザネットワーキング2
ハイパフォーマンスブラウザネットワーキング2
Shuya Osaki
Python by Martin Geisler
Python by Martin Geisler
Aberla
Understanding eBPF in a Hurry!
Understanding eBPF in a Hurry!
Ray Jenkins
Linux seccomp(2) vs OpenBSD pledge(2)
Linux seccomp(2) vs OpenBSD pledge(2)
Giovanni Bechis
Pf: the OpenBSD packet filter
Pf: the OpenBSD packet filter
Giovanni Bechis
Andrea Righi - Spying on the Linux kernel for fun and profit
Andrea Righi - Spying on the Linux kernel for fun and profit
linuxlab_conf
Make container without_docker_6-overlay-network_1
Make container without_docker_6-overlay-network_1
Sam Kim
Gameboy emulator in rust and web assembly
Gameboy emulator in rust and web assembly
Yodalee
eBPF maps 101
eBPF maps 101
SUSE Labs Taipei
OVS-NFV Tutorial
OVS-NFV Tutorial
Open Networking Perú (Opennetsoft)
Translation Cache Policies for Dynamic Binary Translation
Translation Cache Policies for Dynamic Binary Translation
Saber Ferjani
3 manual installation of open vpn
3 manual installation of open vpn
Ashwajit Maske
Linux Commands - Cheat Sheet
Linux Commands - Cheat Sheet
Isham Rashik
Rpm Introduction
Rpm Introduction
Shrinivasan T
20150613 self-puppet v4-avoiding_dragons
20150613 self-puppet v4-avoiding_dragons
garrett honeycutt
Flex pod driven by Openstack
Flex pod driven by Openstack
Marton Kiss
Mais procurados
(20)
Building Network Functions with eBPF & BCC
Building Network Functions with eBPF & BCC
Talk 160920 @ Cat System Workshop
Talk 160920 @ Cat System Workshop
Make A Shoot ‘Em Up Game with Amethyst Framework
Make A Shoot ‘Em Up Game with Amethyst Framework
Raspberry Pi for IPRUG
Raspberry Pi for IPRUG
ハイパフォーマンスブラウザネットワーキング2
ハイパフォーマンスブラウザネットワーキング2
Python by Martin Geisler
Python by Martin Geisler
Understanding eBPF in a Hurry!
Understanding eBPF in a Hurry!
Linux seccomp(2) vs OpenBSD pledge(2)
Linux seccomp(2) vs OpenBSD pledge(2)
Pf: the OpenBSD packet filter
Pf: the OpenBSD packet filter
Andrea Righi - Spying on the Linux kernel for fun and profit
Andrea Righi - Spying on the Linux kernel for fun and profit
Make container without_docker_6-overlay-network_1
Make container without_docker_6-overlay-network_1
Gameboy emulator in rust and web assembly
Gameboy emulator in rust and web assembly
eBPF maps 101
eBPF maps 101
OVS-NFV Tutorial
OVS-NFV Tutorial
Translation Cache Policies for Dynamic Binary Translation
Translation Cache Policies for Dynamic Binary Translation
3 manual installation of open vpn
3 manual installation of open vpn
Linux Commands - Cheat Sheet
Linux Commands - Cheat Sheet
Rpm Introduction
Rpm Introduction
20150613 self-puppet v4-avoiding_dragons
20150613 self-puppet v4-avoiding_dragons
Flex pod driven by Openstack
Flex pod driven by Openstack
Destaque
null Pune meet - Understanding TCP/IP and Network Intrusion
null Pune meet - Understanding TCP/IP and Network Intrusion
n|u - The Open Security Community
Tentang TCP/IP
Tentang TCP/IP
Iwanda Kusuma
TCP IP Addressing
TCP IP Addressing
Ritul Sonania
TCP/IP Model
TCP/IP Model
farhan516
TCP-IP Reference Model
TCP-IP Reference Model
Mukesh Tekwani
TCP/IP Presentation
TCP/IP Presentation
eleinepagtakhan
TCP Model
TCP Model
manojkum22
TCP/IP Basics
TCP/IP Basics
sanjoysanyal
Destaque
(8)
null Pune meet - Understanding TCP/IP and Network Intrusion
null Pune meet - Understanding TCP/IP and Network Intrusion
Tentang TCP/IP
Tentang TCP/IP
TCP IP Addressing
TCP IP Addressing
TCP/IP Model
TCP/IP Model
TCP-IP Reference Model
TCP-IP Reference Model
TCP/IP Presentation
TCP/IP Presentation
TCP Model
TCP Model
TCP/IP Basics
TCP/IP Basics
Semelhante a Plan 9カーネルにおけるTCP/IP実装(未完)
Libpcap
Libpcap
liu qiang
BSides London - Scapy Workshop
BSides London - Scapy Workshop
Adam Maxwell
Pcapy and dpkt - tcpdump on steroids - Ran Leibman - DevOpsDays Tel Aviv 2018
Pcapy and dpkt - tcpdump on steroids - Ran Leibman - DevOpsDays Tel Aviv 2018
DevOpsDays Tel Aviv
libpcap
libpcap
mohan43u
Netcat cheat sheet_v1
Netcat cheat sheet_v1
aioudshflaksjdvhv
True stories on the analysis of network activity using Python
True stories on the analysis of network activity using Python
delimitry
SMP Implementation for OpenBSD/sgi [Japanese Edition]
SMP Implementation for OpenBSD/sgi [Japanese Edition]
Takuya ASADA
Linux Networking Explained
Linux Networking Explained
Thomas Graf
Introduction to tcpdump
Introduction to tcpdump
Lev Walkin
Services
Services
Terry Hernandez
netfilter and iptables
netfilter and iptables
Kernel TLV
Camping: Going off the Rails with Ruby
Camping: Going off the Rails with Ruby
Eleanor McHugh
T.Pollak y C.Yaconi - Prey
T.Pollak y C.Yaconi - Prey
StarTech Conference
Extending ns
Extending ns
yogiinmood
One-Liners to Rule Them All
One-Liners to Rule Them All
egypt
Ns network simulator
Ns network simulator
Dr. Edwin Hernandez
The Ruby Guide to *nix Plumbing: on the quest for efficiency with Ruby [M|K]RI
The Ruby Guide to *nix Plumbing: on the quest for efficiency with Ruby [M|K]RI
Eleanor McHugh
Tcpdump
Tcpdump
Mohamed Gamel
swift-nio のアーキテクチャーと RxHttpClient
swift-nio のアーキテクチャーと RxHttpClient
Shinya Mochida
nftables - the evolution of Linux Firewall
nftables - the evolution of Linux Firewall
Marian Marinov
Semelhante a Plan 9カーネルにおけるTCP/IP実装(未完)
(20)
Libpcap
Libpcap
BSides London - Scapy Workshop
BSides London - Scapy Workshop
Pcapy and dpkt - tcpdump on steroids - Ran Leibman - DevOpsDays Tel Aviv 2018
Pcapy and dpkt - tcpdump on steroids - Ran Leibman - DevOpsDays Tel Aviv 2018
libpcap
libpcap
Netcat cheat sheet_v1
Netcat cheat sheet_v1
True stories on the analysis of network activity using Python
True stories on the analysis of network activity using Python
SMP Implementation for OpenBSD/sgi [Japanese Edition]
SMP Implementation for OpenBSD/sgi [Japanese Edition]
Linux Networking Explained
Linux Networking Explained
Introduction to tcpdump
Introduction to tcpdump
Services
Services
netfilter and iptables
netfilter and iptables
Camping: Going off the Rails with Ruby
Camping: Going off the Rails with Ruby
T.Pollak y C.Yaconi - Prey
T.Pollak y C.Yaconi - Prey
Extending ns
Extending ns
One-Liners to Rule Them All
One-Liners to Rule Them All
Ns network simulator
Ns network simulator
The Ruby Guide to *nix Plumbing: on the quest for efficiency with Ruby [M|K]RI
The Ruby Guide to *nix Plumbing: on the quest for efficiency with Ruby [M|K]RI
Tcpdump
Tcpdump
swift-nio のアーキテクチャーと RxHttpClient
swift-nio のアーキテクチャーと RxHttpClient
nftables - the evolution of Linux Firewall
nftables - the evolution of Linux Firewall
Mais de Ryousei Takano
Error Permissive Computing
Error Permissive Computing
Ryousei Takano
Opportunities of ML-based data analytics in ABCI
Opportunities of ML-based data analytics in ABCI
Ryousei Takano
ABCI: An Open Innovation Platform for Advancing AI Research and Deployment
ABCI: An Open Innovation Platform for Advancing AI Research and Deployment
Ryousei Takano
ABCI Data Center
ABCI Data Center
Ryousei Takano
クラウド環境におけるキャッシュメモリQoS制御の評価
クラウド環境におけるキャッシュメモリQoS制御の評価
Ryousei Takano
USENIX NSDI 2016 (Session: Resource Sharing)
USENIX NSDI 2016 (Session: Resource Sharing)
Ryousei Takano
User-space Network Processing
User-space Network Processing
Ryousei Takano
Flow-centric Computing - A Datacenter Architecture in the Post Moore Era
Flow-centric Computing - A Datacenter Architecture in the Post Moore Era
Ryousei Takano
A Look Inside Google’s Data Center Networks
A Look Inside Google’s Data Center Networks
Ryousei Takano
クラウド時代の半導体メモリー技術
クラウド時代の半導体メモリー技術
Ryousei Takano
AIST Super Green Cloud: lessons learned from the operation and the performanc...
AIST Super Green Cloud: lessons learned from the operation and the performanc...
Ryousei Takano
IEEE CloudCom 2014参加報告
IEEE CloudCom 2014参加報告
Ryousei Takano
Expectations for optical network from the viewpoint of system software research
Expectations for optical network from the viewpoint of system software research
Ryousei Takano
Exploring the Performance Impact of Virtualization on an HPC Cloud
Exploring the Performance Impact of Virtualization on an HPC Cloud
Ryousei Takano
不揮発メモリとOS研究にまつわる何か
不揮発メモリとOS研究にまつわる何か
Ryousei Takano
High-resolution Timer-based Packet Pacing Mechanism on the Linux Operating Sy...
High-resolution Timer-based Packet Pacing Mechanism on the Linux Operating Sy...
Ryousei Takano
クラウドの垣根を超えた高性能計算に向けて~AIST Super Green Cloudでの試み~
クラウドの垣根を超えた高性能計算に向けて~AIST Super Green Cloudでの試み~
Ryousei Takano
From Rack scale computers to Warehouse scale computers
From Rack scale computers to Warehouse scale computers
Ryousei Takano
高性能かつスケールアウト可能なHPCクラウド AIST Super Green Cloud
高性能かつスケールアウト可能なHPCクラウド AIST Super Green Cloud
Ryousei Takano
Iris: Inter-cloud Resource Integration System for Elastic Cloud Data Center
Iris: Inter-cloud Resource Integration System for Elastic Cloud Data Center
Ryousei Takano
Mais de Ryousei Takano
(20)
Error Permissive Computing
Error Permissive Computing
Opportunities of ML-based data analytics in ABCI
Opportunities of ML-based data analytics in ABCI
ABCI: An Open Innovation Platform for Advancing AI Research and Deployment
ABCI: An Open Innovation Platform for Advancing AI Research and Deployment
ABCI Data Center
ABCI Data Center
クラウド環境におけるキャッシュメモリQoS制御の評価
クラウド環境におけるキャッシュメモリQoS制御の評価
USENIX NSDI 2016 (Session: Resource Sharing)
USENIX NSDI 2016 (Session: Resource Sharing)
User-space Network Processing
User-space Network Processing
Flow-centric Computing - A Datacenter Architecture in the Post Moore Era
Flow-centric Computing - A Datacenter Architecture in the Post Moore Era
A Look Inside Google’s Data Center Networks
A Look Inside Google’s Data Center Networks
クラウド時代の半導体メモリー技術
クラウド時代の半導体メモリー技術
AIST Super Green Cloud: lessons learned from the operation and the performanc...
AIST Super Green Cloud: lessons learned from the operation and the performanc...
IEEE CloudCom 2014参加報告
IEEE CloudCom 2014参加報告
Expectations for optical network from the viewpoint of system software research
Expectations for optical network from the viewpoint of system software research
Exploring the Performance Impact of Virtualization on an HPC Cloud
Exploring the Performance Impact of Virtualization on an HPC Cloud
不揮発メモリとOS研究にまつわる何か
不揮発メモリとOS研究にまつわる何か
High-resolution Timer-based Packet Pacing Mechanism on the Linux Operating Sy...
High-resolution Timer-based Packet Pacing Mechanism on the Linux Operating Sy...
クラウドの垣根を超えた高性能計算に向けて~AIST Super Green Cloudでの試み~
クラウドの垣根を超えた高性能計算に向けて~AIST Super Green Cloudでの試み~
From Rack scale computers to Warehouse scale computers
From Rack scale computers to Warehouse scale computers
高性能かつスケールアウト可能なHPCクラウド AIST Super Green Cloud
高性能かつスケールアウト可能なHPCクラウド AIST Super Green Cloud
Iris: Inter-cloud Resource Integration System for Elastic Cloud Data Center
Iris: Inter-cloud Resource Integration System for Elastic Cloud Data Center
Último
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
Zilliz
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
Nanddeep Nachan
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
DianaGray10
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
Overkill Security
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
Martijn de Jong
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
Khushali Kathiriya
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
MIND CTI
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
apidays
Architecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
apidays
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
Dropbox
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
Zilliz
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
MadyBayot
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
debabhi2
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
ThousandEyes
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
Igalia
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
The Digital Insurer
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
sudhanshuwaghmare1
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Edi Saputra
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Deepika Singh
Último
(20)
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Architecting Cloud Native Applications
Architecting Cloud Native Applications
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Plan 9カーネルにおけるTCP/IP実装(未完)
1.
Plan 9
TCP/IP oraccha Plan9 http://d.hatena.ne.jp/oraccha/ 2010 3 31
2.
/net
• net ether0 tcp udp cs dns 0 1 clone stats ctl data err listen local remote status
3.
• •
NW /net bind % ns : bind -a '#l' /net /net/ether bind -a '#I' /net IP /net/ipifc,arp,icmp,udp,tcp,...
4.
write(2)
read(2) ip/devip.c ipwrite ipread wq rq tcpkick ip/tcp.c tcpiput tcpoutput ip/ip.c ipoput4 ipiput4 ip/ethermedium.c etherbwrite etherread4 etherbwrite pc/devether.c etheroq in oq etheriq pc/etherxxxx.c transmit interrupt
5.
Queue
Block • struct Queue: • • Block • struct Block: • BSD mbuf Linux sk_buff • Block 64KB
6.
write (port/sysfile.c) •
fdtochan fd Chan *c • devtab[c->type]->write Proc Fgrp Chan Dev devtab[] ‘l’ “IP” *fgrp **fd type ðerdevtab &ipdevtab (*write)() devtab[]
7.
Dev ipdevtab =
{ 'I', /* dc */ "ip", /* name */ ipreset, /* reset */ devinit, /* init [Do nothing] */ devshutdown, /* shutdown [Do nothing] */ ipattach, /* attach */ ipwalk, /* walk */ ipstat, /* stat */ ipopen, /* open */ ipcreate, /* create [Eperm] */ ipclose, /* close */ ipread, /* read */ ipbread, /* block read */ ipwrite, /* write */ ipbwrite, /* block write */ ipremove, /* remove [Eperm] */ ipwstat, /* wstat */ };
8.
•
namec ipattach • Fs ipprotoinit[] e.g. tcpinit Fs *ipfs[Nfs] Fs Proto dev dev “tcp” *p[] IP_TCPPROTO IP_TCPPROTO *t2p[] *f ipprotoinit[]
9.
void tcpinit(Fs *fs)
{ Proto *tcp; Tcppriv *tpriv; tcp = smalloc(sizeof(Proto)); tpriv = tcp->priv = smalloc(sizeof(Tcppriv)); tcp->name = "tcp"; tcp->connect = tcpconnect; tcp->announce = tcpannounce; tcp->ctl = tcpctl; tcp->state = tcpstate; tcp->create = tcpcreate; tcp->close = tcpclose; tcp->rcv = tcpiput; tcp->advise = tcpadvise; tcp->stats = tcpstats; tcp->inuse = tcpinuse; tcp->gc = tcpgc; tcp->ipproto = IP_TCPPROTO; tcp->nc = scalednconv(); tcp->ptclsize = sizeof(Tcpctl); tpriv->stats[MaxConn] = tcp->nc; Fsproto(fs, tcp); }
10.
Closed
passive open appl: listen() appl: connect() send: SYN recv: SYN send: SYN, ACK Listen active open recv: SYN Syn_received Syn_sent send: SYN, ACK recv: ACK recv: SYN, ACK Established send: ACK active close recv: FIN Close_wait send: ACK recv: FIN appl: close() Finwait1 send: ACK Closing passive close send: FIN recv: FIN, ACK recv: ACK recv: ACK Last_ack send: ACK 2MSL timeout recv: ACK recv: FIN Finwait2 Time_wait send: ACK ※
11.
update: •
Tcpctl: TCP TCB • • cwnd: • window: • Limbo: listener
12.
•
TCP • Reno Tahoe • • Window scaling option
13.
•
tcpackproc #I0tcpack • 50 expire • • tcb->timer: tcptimeout • tcb->acktimer: tcpacktimer • tcb->katimer: tcpkeepalive • tcb->rtt_timer: RTT
14.
•
• /net/tcp/*/state • IPv4 IPv4-mapped IPv6
15.
qid • •
UNIX inode
Baixar agora