Autosar Specification of TCP/IP Stack を読む, ethernet(112)

# Specification of TCP/IP Stack
過去の２文書と比較して、最新文書を確認する。
https://www.autosar.org/fileadmin/user_upload/standards/classic/4-1/AUTOSAR_SWS_TcpIp.pdf

https://www.autosar.org/fileadmin/user_upload/standards/classic/4-3/AUTOSAR_SWS_TcpIp.pdf
https://www.autosar.org/fileadmin/user_upload/standards/classic/19-11/AUTOSAR_SWS_TcpIp.pdf

## 2 Acronyms and abbreviations
略号を定義している標準等を順次追記予定。

|Abbreviation / Acronym|Description|source|
|:--|:--|:--|
|ARP|Address Resolution Protocol|RFC 826|
|DAD| Duplicate Address Detection ||
|DEM|Diagnostic Event Manager||
|DET|Default Error Tracer||
|DHCP|Dynamic Host Configuration Protocol|RFC 2131|
|DHCPv4| Dynamic Host Configuration Protocol for Internet Protocol Version 4|RFC 2131|
|DHCPv6| Dynamic Host Configuration Protocol for Internet Protocol Version 6||RFC 3315|
|ECC| Elliptic Curve Cryptography||
|ECU| Electronic Control Unit||
|EthIf| Ethernet Interface||
|EthSM| Ethernet State Manager||
|HSM |Hardware Security Module||
|HTTP| HyperText Transfer Protocol| RFC 1945*|
|IANA| Internet Assigned Numbers Authority||
|ICMP| Internet Control Message Protocol|
|ICMPv4| Internet Control Message Protocol for Internet Protocol Version 4| RFC792* |
|ICMPv6| Internet Control Message Protocol for Internet Protocol Version 6 |RFC 4443|
|IETF |Internet Engineering Task Force||
|IP| Internet Protocol||
|IPsec| Internet Protocol Security||
|IPv4| Internet Protocol version 4||
|IPv6| Internet Protocol version 6||
|MTU| Maximum Transmission Unit||
|NDP| Neighbor Discovery Protocol||
|PKI| Public Key Infrastructure||
|PRF| Pseudo Random Function||
|RNG| Random Number Generator||
|RSA| Rivest-Shamir-Adleman. A method using public and private key for data encryption and decryption. ||
|SNI| Server Name Identification||
|SoAd| Socket Adaptor||
|TCP |Transmission Control Protocol||
|TCP/IP| A family of communication protocols used in computer networks TLS Transport Layer Security||
|TP| Transport Protocol||
|UDP| User Datagram Protocol||

*印は追加。
本文中に登場している。追加。

|Abbreviation / Acronym|Description|source|
|:--|:--|:--|
|CDD| Complex (device) Driver| glossary p.19|
|COM|Communication|glossary p.19|
|STD|Standard|IEEE|
EQDn
DTLS
CSM
KEYM

カッコ書きは推測。

## 3 Related documentation
文書名、発行年、URLがないものは順次追記予定。

### 3.1 Input documents
[1] AUTOSAR Layered Software Architecture AUTOSAR_EXP_LayeredSoftwareArchitecture.pdf
https://www.autosar.org/fileadmin/user_upload/standards/classic/19-11/AUTOSAR_EXP_LayeredSoftwareArchitecture.pdf

[2] AUTOSAR Basis Software Mode Manager AUTOSAR_SWS_BSWModeManager.pdf
https://www.autosar.org/fileadmin/user_upload/standards/classic/19-11/AUTOSAR_SWS_BSWModeManager.pdf

[3] AUTOSAR Socket Adaptor AUTOSAR_SWS_SocketAdaptor.pdf
https://www.autosar.org/fileadmin/user_upload/standards/classic/19-11/AUTOSAR_SWS_SocketAdaptor.pdf

[4] AUTOSAR SRS BSW General AUTOSAR_SRS_BSWGeneral.pdf
https://www.autosar.org/fileadmin/user_upload/standards/classic/19-11/AUTOSAR_SRS_BSWGeneral.pdf
->  General Requirements on Basic Software Modules

[5] AUTOSAR SRS Ethernet AUTOSAR_SRS_Ethernet.pdf
https://www.autosar.org/fileadmin/user_upload/standards/classic/19-11/AUTOSAR_SRS_Ethernet.pdf
->  Requirements on Ethernet Support in AUTOSAR

[6] AUTOSAR General Specification for Basic Software Modules AUTOSAR_SWS_BSWGeneral.pdf
https://www.autosar.org/fileadmin/user_upload/standards/classic/19-11/AUTOSAR_SRS_BSWGeneral.pdf

[7] Specification of ECU Configuration AUTOSAR_TPS_ECUConfiguration.pdf
https://www.autosar.org/fileadmin/user_upload/standards/classic/19-11/AUTOSAR_TPS_ECUConfiguration.pdf

[8] List of Basic Software Modules AUTOSAR_TR_BSWModuleList.pdf
https://www.autosar.org/fileadmin/user_upload/standards/classic/19-11/AUTOSAR_TR_BSWModuleList.pdf

[9] Specification of Crypto Service Manager AUTOSAR_SWS_CryptoServiceManager.pdf
https://www.autosar.org/fileadmin/user_upload/standards/classic/19-11/AUTOSAR_SWS_CryptoServiceManager.pdf

[10] Specification of Key Manager AUTOSAR_SWS_KeyManager.pdf
https://www.autosar.org/fileadmin/user_upload/standards/classic/19-11/AUTOSAR_SWS_KeyManager.pdf

[11] AUTOSAR RS IPsecProtocol AUTOSAR_RS_IPsecProtocol.pdf
https://www.autosar.org/fileadmin/user_upload/standards/foundation/19-11/AUTOSAR_RS_IPsecProtocol.pdf

２つが文書名ではなくファイル名になっている。->で文書名を記載。

### 3.2 Related standards and norms
[12] IETF RFC 3927 Dynamic Configuration of IPv4 Link-Local Addresses
,  May 2005, http://tools.ietf.org/html/rfc3927
[13] IETF RFC 1122  Requirements for Internet Hosts -- Communication Layers,  October 1989, http://tools.ietf.org/html/rfc1122
[14] IETF RFC 826  An Ethernet Address Resolution Protocol or Converting Network Protocol Addresses, November 1982, http://tools.ietf.org/html/rfc826  
[15] IETF RFC 894  A Standard for the Transmission of IP Datagrams over Ethernet Networks, April 1984, http://tools.ietf.org/html/rfc894
[16] IETF RFC 791   INTERNET PROTOCOL, September 1981, http://tools.ietf.org/html/rfc791
[17] IETF RFC 815 IP DATAGRAM REASSEMBLY ALGORITHMS, July, 1982, http://tools.ietf.org/html/rfc815
[18] IETF RFC 4632  Classless Inter-domain Routing (CIDR): The Internet Address Assignment and Aggregation Plan, August 2006, http://tools.ietf.org/html/rfc4632
[19] IETF RFC 1112 Host Extensions for IP Multicasting, August 1989, http://tools.ietf.org/html/rfc1112
[20] IETF RFC 792 INTERNET CONTROL MESSAGE PROTOCOL, September 1981, http://tools.ietf.org/html/rfc792
[21] IETF RFC 1191  Path MTU Discovery, November 1990, http://tools.ietf.org/html/rfc1191
[22] IETF RFC 2131 Dynamic Host Configuration Protocol, March 1997, http://tools.ietf.org/html/rfc2131
[23] IETF RFC 768 User Datagram Protocol, 28 August 1980, http://tools.ietf.org/html/rfc768
[24] IETF RFC 793 TRANSMISSION CONTROL PROTOCOL, September 1981, http://tools.ietf.org/html/rfc793
[25] IETF RFC 5681  TCP Congestion Control,  September 2009, http://tools.ietf.org/html/rfc5681
[26] IETF RFC 8200 Internet Protocol, Version 6 (IPv6) Specification, July 2017, http://tools.ietf.org/html/rfc8200
[27] IETF RFC 4291 IP Version 6 Addressing Architecture, February 2006, http://tools.ietf.org/html/rfc4291
[28] IETF RFC 2464 Transmission of IPv6 Packets over Ethernet Networks, December 1998, http://tools.ietf.org/html/rfc2464
[29] IETF RFC 6724 Default Address Selection for Internet Protocol Version 6 (IPv6), September 2012, http://tools.ietf.org/html/rfc6724
[30] IETF RFC 5722 Handling of Overlapping IPv6 Fragments, December 2009, http://tools.ietf.org/html/rfc5722
[31] IETF RFC 5095 Deprecation of Type 0 Routing Headers in IPv6, December 2007, http://tools.ietf.org/html/rfc5095
[32] IETF RFC 4862 IPv6 Stateless Address Autoconfiguration, September 2007, http://tools.ietf.org/html/rfc4862
[33] IETF RFC 1981 Path MTU Discovery for IP version 6, August 1996, http://tools.ietf.org/html/rfc1981
[34] IETF RFC 4429  Optimistic Duplicate Address Detection (DAD) for IPv6, April 2006, http://tools.ietf.org/html/rfc4429
[35] IETF RFC 4443 Internet Control Message Protocol (ICMPv6) for the Internet Protocol Version 6 (IPv6) Specification, March 2006, http://tools.ietf.org/html/rfc4443
[36] IETF RFC 4861 Neighbor Discovery for IP version 6 (IPv6), September 2007, http://tools.ietf.org/html/rfc4861
[37] IETF RFC 3315 Dynamic Host Configuration Protocol for IPv6 (DHCPv6), July 2003, http://tools.ietf.org/html/rfc3315
[38] IETF RFC 4702 The Dynamic Host Configuration Protocol (DHCP) Client Fully Qualified Domain Name (FQDN) Option, October 2006, http://tools.ietf.org/html/rfc4702
[39] IETF RFC 4704 The Dynamic Host Configuration Protocol for IPv6 (DHCPv6) Client Fully Qualified Domain Name (FQDN) Option, October 2006, http://tools.ietf.org/html/rfc4704
[40] IETF RFC 6582 The NewReno Modification to TCP's Fast Recovery Algorithm, April 2012, http://tools.ietf.org/html/rfc6582
[41] IETF RFC 2132 DHCP Options and BOOTP Vendor Extensions, March 1997, http://tools.ietf.org/html/rfc2132
[42] IETF RFC 5942 IPv6 Subnet Model: The Relationship between Links and Subnet Prefixes, July 2010, https://tools.ietf.org/html/rfc5942
[43] IETF RFC 6437 IPv6 Flow Label Specification, November 2011, https://tools.ietf.org/html/rfc6437
[44] IETF RFC 2474 Definition of the Differentiated Services Field (DS Field) in the IPv4 and IPv6 Headers, December 1998, https://tools.ietf.org/html/rfc2474
[45] IETF RFC 5246 The Transport Layer Security (TLS) Protocol Version 1.2, August 2008, https://tools.ietf.org/html/rfc5246
[46] IETF RFC 4492 Elliptic Curve Cryptography (ECC) Cipher Suites for Transport Layer Security (TLS), May 2006, https://tools.ietf.org/html/rfc4492
[47] IETF RFC 7525 Recommendations for Secure Use of Transport Layer Security (TLS) and Datagram Transport Layer Security (DTLS), May 2015, https://tools.ietf.org/html/rfc7525
[48] IETF RFC 4279 Pre-Shared Key Ciphersuites for Transport Layer Security (TLS), December 2005, https://tools.ietf.org/html/rfc4279
[49] IETF RFC 7366 Encrypt-then-MAC for Transport Layer Security (TLS) and Datagram Transport Layer Security (DTLS), September 2014, https://tools.ietf.org/html/rfc7366
[50] IETF RFC 8446 The Transport Layer Security (TLS) Protocol Version 1.3, August 2018
https://tools.ietf.org/html/rfc8446
[51] IETF RFC 8449 Record Size Limit Extension for TLS, August 2018, https://tools.ietf.org/html/rfc8449
[52] IANA DHCP Options https://www.iana.org/assignments/bootp-dhcp-parameters/bootp-dhcp-parameters.xhtml#options
[53] IANA DHCPv6 Options https://www.iana.org/assignments/dhcpv6-parameters/dhcpv6-parameters.xhtml#dhcpv6-parameters-2
[54] RfC 4301 Security Architecture for the Internet Protocol, December 2005, https://tools.ietf.org/html/rfc4301
[55] RfC 4302 IP Authentication Header, December 2005, https://tools.ietf.org/html/rfc4302
[56] RfC 4303 IP Encapsulating Security Payload (ESP), December 2005, https://tools.ietf.org/html/rfc4303
[57] RfC 7296 Internet Key Exchange Protocol Version 2 (IKEv2), October 2014, https://tools.ietf.org/html/rfc7296
[58] RfC 4304 Extended Sequence Number (ESN) Addendum to IPsec Domain of Interpretation (DOI) for Internet Security Association, December 2005, https://tools.ietf.org/html/rfc4304
[59] RfC 8221 Cryptographic Algorithm Implementation Requirements and Usage Guidance for Encapsulating Security Payload (ESP) and Authentication Header (AH), October 2017, https://tools.ietf.org/html/rfc8221
[60] RfC 4478 Repeated Authentication in Internet Key Exchange (IKEv2) Protocol, April 2006, https://tools.ietf.org/html/rfc4478
[61] RfC 3706 A Traffic-Based Method of Detecting Dead Internet Key Exchange (IKE) Peers, Cisco Systems, February 2004, https://tools.ietf.org/html/rfc3706
[62] RfC 7427 Signature Authentication in the Internet Key Exchange Version 2 (IKEv2), January 2015, https://tools.ietf.org/html/rfc7427
[63] RfC 4543 The Use of Galois Message Authentication Code (GMAC) in IPsec ESP and AH, May 2006, https://tools.ietf.org/html/rfc4543
[64] RfC 4494 The AES-CMAC-96 Algorithm and Its Use with IPsec, June 2006, https://tools.ietf.org/html/rfc4494
[65] RfC 4106  The Use of Galois/Counter Mode (GCM) in IPsec Encapsulating Security Payload (ESP), June 2005, https://tools.ietf.org/html/rfc4106
[66] RfC 4309 Using Advanced Encryption Standard (AES) CCM Mode with IPsec Encapsulating Security Payload (ESP), December 2005, https://tools.ietf.org/html/rfc4309
[67] RfC 6379 Suite B Cryptographic Suites for IPsec, October 2011, https://tools.ietf.org/html/rfc6379
[68] RfC 8247 Algorithm Implementation Requirements and Usage Guidance for the Internet Key Exchange Protocol Version 2 (IKEv2), September 2017, https://tools.ietf.org/html/rfc8247
[69] RfC 7383 Internet Key Exchange Protocol Version 2 (IKEv2) Message Fragmentation, November 2014, https://tools.ietf.org/html/rfc7383
[70] ISO13400-2 Road vehicles - Diagnostic communication over Internet Protocol (DoIP) — Part 2: Transport protocol and network layer services, https://www.iso.org/standard/53766.html
      
本文中に登場している。追加。

RFC7628 A Set of Simple Authentication and Security Layer (SASL) Mechanisms for OAuth, August 2015, https://tools.ietf.org/html/rfc7628
RFC7685  A Transport Layer Security (TLS) ClientHello Padding Extension, October 2015, https://tools.ietf.org/html/rfc7685
RFC1945 Hypertext Transfer Protocol -- HTTP/1.0, May 1996, https://tools.ietf.org/html/rfc1945
RFC792 INTERNET CONTROL MESSAGE PROTOCOL,September 1981, https://tools.ietf.org/html/rfc792                                                                                       

# 参考資料(reference)
なぜ参考文献に標題、発行年、URLを入れるか
https://qiita.com/kaizen_nagoya/items/f312746485b86a2e4292

Autosar文書、参考文献、略号一覧（作成中37/237）：英語(40)
https://qiita.com/kaizen_nagoya/items/2325b0156bc7fcf5a96d

物理記事　上位100
https://qiita.com/kaizen_nagoya/items/66e90fe31fbe3facc6ff

数学関連記事１００
https://qiita.com/kaizen_nagoya/items/d8dadb49a6397e854c6d

言語・文学記事　１００
https://qiita.com/kaizen_nagoya/items/42d58d5ef7fb53c407d6

医工連携関連記事一覧
https://qiita.com/kaizen_nagoya/items/6ab51c12ba51bc260a82

通信記事１００
https://qiita.com/kaizen_nagoya/items/1d67de5e1cd207b05ef7

自動車　記事　１００
https://qiita.com/kaizen_nagoya/items/f7f0b9ab36569ad409c5

Qiita(0)Qiita関連記事一覧（自分）
https://qiita.com/kaizen_nagoya/items/58db5fbf036b28e9dfa6

鉄道（０）鉄道のシステム考察はてっちゃんがてつだってくれる
https://qiita.com/kaizen_nagoya/items/26bda595f341a27901a0

日本語（０）一欄
https://qiita.com/kaizen_nagoya/items/7498dcfa3a9ba7fd1e68

英語(0) 一覧
https://qiita.com/kaizen_nagoya/items/680e3f5cbf9430486c7d

転職(0)一覧
https://qiita.com/kaizen_nagoya/items/f77520d378d33451d6fe

仮説（0）一覧（目標100現在40）
https://qiita.com/kaizen_nagoya/items/f000506fe1837b3590df

安全（0）安全工学シンポジウムに向けて: 21
https://qiita.com/kaizen_nagoya/items/c5d78f3def8195cb2409

Error一覧 error(0)
https://qiita.com/kaizen_nagoya/items/48b6cbc8d68eae2c42b8

Ethernet 記事一覧　Ethernet(0)
https://qiita.com/kaizen_nagoya/items/88d35e99f74aefc98794

Wireshark 一覧 wireshark(0)、Ethernet(48) 
https://qiita.com/kaizen_nagoya/items/fbed841f61875c4731d0

線網（Wi-Fi）空中線(antenna)(0) 記事一覧(118/300目標)
https://qiita.com/kaizen_nagoya/items/5e5464ac2b24bd4cd001

OSEK OS設計の基礎　OSEK(100)
https://qiita.com/kaizen_nagoya/items/7528a22a14242d2d58a3

官公庁・学校・公的団体（NPOを含む）システムの課題、官（０）
https://qiita.com/kaizen_nagoya/items/04ee6eaf7ec13d3af4c3

Error一覧(C/C++, python, bash...) Error(0)
https://qiita.com/kaizen_nagoya/items/48b6cbc8d68eae2c42b8

なぜdockerで機械学習するか 書籍・ソース一覧作成中 (目標100)
https://qiita.com/kaizen_nagoya/items/ddd12477544bf5ba85e2

言語処理100本ノックをdockerで。python覚えるのに最適。:10+12
https://qiita.com/kaizen_nagoya/items/7e7eb7c543e0c18438c4

プログラムちょい替え（0）一覧:4件
https://qiita.com/kaizen_nagoya/items/296d87ef4bfd516bc394

TOPPERSまとめ　#名古屋のIoTは名古屋のOSで
https://qiita.com/kaizen_nagoya/items/9026c049cb0309b9d451

官公庁・学校・公的団体（NPOを含む）システムの課題、官（０）
https://qiita.com/kaizen_nagoya/items/04ee6eaf7ec13d3af4c3

自動制御、制御工学一覧（０）
https://qiita.com/kaizen_nagoya/items/7767a4e19a6ae1479e6b

一覧の一覧( The directory of directories of mine.) Qiita(100)
https://qiita.com/kaizen_nagoya/items/7eb0e006543886138f39

＜この記事は個人の過去の経験に基づく個人の感想です。現在所属する組織、業務とは関係がありません。＞
This article is an individual impression based on the individual's experience. It has nothing to do with the organization or business to which I currently belong.
# 文書履歴(document history)
ver. 0.01 初稿 20200123 
ver. 0.02 略号、資料追記 20200124午前
ver. 0.03 URL追記 20201024午後
ver. 0.04 補記 20200126
### 最後までおよみいただきありがとうございました。
いいね　💚、フォローをお願いします。
#### Thank you very much for reading to the last sentence.
Please press the like icon 💚　and follow me for your happy life.