Download presentation
Presentation is loading. Please wait.
1
IPv4 over 1394 발표자: 오주용 발표일: 2003, 11, 5
2
Contents Introduction Communication Sequence
Link Encapsulation and Fragmentation Serial Bus Address Resolution Protocol (1394 ARP) Multicast channel allocation protocol (MCAP)
3
Introduction IETF, Network Working Group
Request for Comments (RFC): 2734 IPv4 over IEEE 1394 Specifies how to use IEEE1394 Std for the transport of Internet Protocol version 4 (IPv4) datagram. Link encapsulation and fragmentation Address resolution protocol (1394ARP) Multicast channel allocation protocol (MCAP)
4
Module Stack
5
Communication Sequence
6
Ethernet 설정 [root@eth1394T1 root]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:01:39:01:A6:29 inet addr: Bcast: Mask: UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:88318 errors:0 dropped:0 overruns:0 frame:0 TX packets:395 errors:0 dropped:0 overruns:0 carrier:0 collisions:567 txqueuelen:100 RX bytes: (7.8 Mb) TX bytes:35769 (34.9 Kb) Interrupt:10 Base address:0xd800 eth1 Link encap:Ethernet HWaddr FF:C0:00:00:00:00 inet addr: Bcast: Mask: UP BROADCAST RUNNING MTU:4088 Metric:1 RX packets:28 errors:0 dropped:0 overruns:0 frame:0 TX packets:28 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:1968 (1.9 Kb) TX bytes:2152 (2.1 Kb) root]#
7
ARP request packet
8
Request Packet
9
Response Packet
10
Link Encapsulation and Fragmentation
20~64k bytes 20~60 bytes IP Packet Header Data Fragmentation Speed Asyn. Iso. Variable payload by the speed S100 512 1024 S200 1024 2048 1394 packet Header Data S400 2048 4096 S800 4096 8192 S1600 8192 16384 S3200 16384 32768
11
Encapsulation header 규정된 크기 이상의 packet이 상위계층으로부터 전달될 때 Link Fragmentation을 수행 lf reserved ether_type 0x0800 IPv4 0x0806 1394 ARP 0x8861 MCAP Datagram_size: the encoded size of the entire IP datagram Ether_type: Fragment_offset: 이전에 전송된 fragment data size (0 ~ ) Dgl: the value of dgl (datagram label), 특정 IP datagram 이 fragment된 경우 그 fragment된 모든 패킷은 같은 label을 가진다. Reception Node는 source ID와 dgl을 이용해서 각 fragment packet을 구분하고 IP datagram으로 복구한다. 버스 리셋이 일어나는 경우 보내는 측과 받는 측은, 보내고 있거나 받고 있는 모든 fragment들을 discard 시킨다. Unfragmented 1 First 2 Last 3 Interior lf rsv datagram_size ether_type dgl reserved lf rsv datagram_size rsv fragment_offset dgl reserved
12
Serial Bus Address Resolution Protocol (1394 ARP) Packet format
Hardware_type(0x0018) Protocol_type(0x0800) Hw_addr_len IP_addr_len Opcode Sender_unique_ID Sender_max_rec Sspd Sender_unique_ID_hi Sender_unicast_FIFO_lo Sender_IP_address Target_IP_address Hardware_type: this field indicates 1394 and shall have a value of 0x0018 Protocol_type: 0x0800 Hw_addr_len: 1394-dependent hardware address length IP_addr_len: this field indicates the size, in octets, of an IP version 4 address, may it have a value of 4. Opcode: 1394 ARP request -> 1 response -> 2 Sender_unique_ID: the node unique ID of the sender (sender’s bus information block) Sender_max_rec: max_rec in the sender’s configuration ROM bus information block Maximum_data_record_size 최대 보낼수 있는 playload에 관련된 항목 Sspd: s100->0 s200->1 s400->2 (sender 측의 link 및 PHY 스피트) Sender_unicast_FIFO_hi and sender_unicast_FIFO_lo: 48-bit offset of the sender’s FIFO available for the receipt of IP datagrams in the format specified by section 6 The offst of a sender’s unicast FIFO shall not change, except as the result of a power reset Sender_IP_address Target_IP_address
13
IP Unicast, Broadcast, Multicast
Asynchronous Block write 전달확인 보장, 전달지연은 고려할 필요가 없는 경우 Isochronous transfer mode 실시간 동작, QoS가 요구되는 경우 IP Broadcast, Multicast Asynchronous stream packets Channel number used for IP broadcast is specified by the BROADCAST_CHANNEL register
14
Multicast Channel Allocation Protocol (MCAP)
A method for multicast groups to coordinate their use of serial bus resources (channel) Encapsulated by GASP (Global Asynchronous Stream Packet) Multicast channel owner / recipient Advertise/Solicit message When more than one source transmits MCAP advertisements for the same channel number, the source with the largest physical ID is the owner Ether_type: 0x8861 Multicast IP: ~
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.