IP Configuration API. Network Interface Configuration NAIfconfigIsDeviceUp() NAIfconfigDeviceFromInterface() NAIfconfigBringDeviceUp() NAIfconfigSetIpAddress()

Slides:



Advertisements
Similar presentations
7. 7 Chapter 13 Transmission Control Protocol (TCP) Retransmission and Time-Out.
Advertisements

LOGO Transmission Control Protocol 12 (TCP) Data Flow.
Laboratório de Teleprocessamento e Redes1 Unix Network Programming Prof. Nelson Fonseca
1 Transport Protocols & TCP CSE 3213 Fall April 2015.
Introduction to TCP A first look at the sockets API for ‘connection-oriented’ client/server application programs.
Guide to TCP/IP, Third Edition
Fundamentals of Computer Networks ECE 478/578 Lecture #20: Transmission Control Protocol Instructor: Loukas Lazos Dept of Electrical and Computer Engineering.
Chapter 12 Transport protocols. Outline 12.1 introduction 12.2 TCP/IP protocol suite.
TCP: Transmission Control Protocol Overview Connection set-up and termination Interactive Bulk transfer Timers Improvements.
Transmission Control Protocol (TCP) Basics
Provides a reliable unicast end-to-end byte stream over an unreliable internetwork.
Fundamentals of Computer Networks ECE 478/578 Lecture #21: TCP Window Mechanism Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #11 TCP Eiffel (RFC 3522)
1 Internet Networking Spring 2003 Tutorial 11 Explicit Congestion Notification (RFC 3168) Limited Transmit (RFC 3042)
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #7 TCP New Reno Vs. Reno.
1 Internet Networking Spring 2003 Tutorial 11 Explicit Congestion Notification (RFC 3168)
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 TCP (Part III: Miscl) Shivkumar Kalyanaraman Rensselaer Polytechnic Institute
Computer Networking Lecture 16 – More TCP
TDC375 Winter 03/04 John Kristoff - DePaul University 1 Network Protocols Transmission Control Protocol (TCP)
1 Internet Networking Spring 2006 Tutorial 10 The Eifel Detection Algorithm for TCP RFC 3522.
1 Internet Networking Spring 2004 Tutorial 10 TCP NewReno.
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #8 Explicit Congestion Notification (RFC 3168) Limited Transmit.
TCP connection my Computertelnet client web server remote computer 1 character per transmission * Telnet uses TCP connection * but Nagle's algorithm modifies.
TCP. Learning objectives Reliable Transport in TCP TCP flow and Congestion Control.
UCB TCP Jean Walrand U.C. Berkeley
1 Overview Midterm Solution Lab 5 Questions Lab Trouble Shooting Techniques.
COMT 4291 Communications Protocols and TCP/IP COMT 429.
TCP Timers Chia-tai Tsai Introduction The 7 Timers for each Connection Connection-Establishment Timer Establish a new connection.
1 CS4550 Computer Networks II TCP/UDP Ref: Feit Chap 9 Tanenbaum Chap 6.
1 Transport Protocols (continued) Relates to Lab 5. UDP and TCP.
Transport Layer Natawut Nupairoj, Ph.D. Department of Computer Engineering Chulalongkorn University.
Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 5 Internet Protocol (IP) Basics.
Transport Layer: TCP and UDP. Overview of TCP/IP protocols Comparing TCP and UDP TCP connection: establishment, data transfer, and termination Allocation.
Data Transmission Over Wireless Links Fan Yang
1 Internet Control Message Protocol (ICMP) Used to send error and control messages. It is a necessary part of the TCP/IP suite. It is above the IP module.
1 M. Atiquzzaman, SCTP over satellite networks IEEE Computer Communications Workshop, Oct 20, SCTP over Satellite Networks Mohammed Atiquzzaman School.
7.9 TCP Socket Options 7.10 SCTP Socket Options 7.11 fcntl Function 7.12 Summary 報告者 : 梁凱鈞.
TCP/IP Performance COMT 429. © Hans Kruse, Ohio University 2 Protocol Overview Ethernet, X.25, HDLC etc. IP ICMP ARP RARP (Auxiliary Services) TCP UDP.
1 CS 4396 Computer Networks Lab TCP – Part II. 2 Flow Control Congestion Control Retransmission Timeout TCP:
1 TCP Timeout And Retransmission Chapter 21 TCP sets a timeout when it sends data and if data is not acknowledged before timeout expires it retransmits.
TCP/IP Over Satellites SJSU, CMPE 206, Spring 1998 Kofi Weusi-Puryear Sridhar Dhulipala Sanjay Jain Tejaswi Redkar.
1 Computer Networks Congestion Avoidance. 2 Recall TCP Sliding Window Operation.
ECE 4110 – Internetwork Programming
TCP Timeout and Retransmission
TCP continued. Discussion – TCP Throughput TCP will most likely generate the saw tooth type of traffic. – A rough estimate is that the congestion window.
Fall 2004FSU CIS 5930 Internet Protocols1 TCP – Data Exchange Reading: Section 24.4.
Guide to TCP/IP Fourth Edition
11 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
Network Protocols: Design and Analysis Polly Huang EE NTU
TCP Handshake NW Analysis Class. What happens in 3-way handshake Client tells server it wants connection Server acknowledges the client’s connection Server.
Computer Networks 1000-Transport layer, TCP Gergely Windisch v spring.
3. END-TO-END PROTOCOLS (PART 1) Rocky K. C. Chang Department of Computing The Hong Kong Polytechnic University 22 March
Malathi Veeraraghavan Originals by Jörg Liebeherr 1 Congestion Control TCP implements congestion control at the sender –This control is intended to reduce.
Carles Gomez Universitat Politècnica de Catalunya (UPC)/Fundació i2cat
Transmission Control Protocol (TCP) Retransmission and Time-Out
Chapter 5 TCP Sequence Numbers & TCP Transmission Control
Internet Networking recitation #9
5. End-to-end protocols (part 1)
Chapter 17 and 18: TCP is connection oriented
Magda El Zarki Professor, ICS UC, Irvine
CS 5565 Network Architecture and Protocols
Hojun Lee TCP enhancements Hojun Lee 11/8/2018.
TCP Parameters and Settings
TCP - Part I Relates to Lab 5. First module on TCP which covers packet format, data transfer, and connection management.
CS 5565 Network Architecture and Protocols
PUSH Flag A notification from the sender to the receiver to pass all the data the receiver has to the receiving application. Some implementations of TCP.
Internet Networking recitation #10
Lecture 18 – More TCP & Congestion Control
CS4470 Computer Networking Protocols
Computer Networks: Transmission Control Protocol (TCP)
Presentation transcript:

IP Configuration API

Network Interface Configuration NAIfconfigIsDeviceUp() NAIfconfigDeviceFromInterface() NAIfconfigBringDeviceUp() NAIfconfigSetIpAddress() NAAddDeviceToTcpipDeviceTable()

Global IP Configuration NAIpSetDefaultIpTtl() NAIpGetDefaultIpTtl() NAIpSetDefaultTcpTtl() NAIpGetDefaultTcpTtl() NAIpSetKaInterval() NAIpGetKaInterval() NAIpSetKaGarbage()

Global IP Configuration (2) typedef enum { NA_IP_KA_GARGAGE_DEFAULT, NA_IP_KA_NO_GARBAGE_DATA, NA_IP_KA_GARBAGE_DATA } NaIpKaGarbageType;

Changes in TCP/IP Stack

Multi-homed Interfaces Several IP addresses are used for one physical address. Interface names: –Primary- eth0 –Secondary- eth0:0, eth0:1, …

New RFC Support RFC 1323TCP Extensions for High Performance RFC 2001TCP Slow Start, Congestion Avoidance, Fast Retransmit, and Fast Recovery Algorithms RFC 2018TCP Selective Acknowledgement Options RFC 1644T/TCP - TCP Extensions for Transactions RFC 1191Path MTU Discovery

New Socket Options - SOL_SOCKET SO_REUSEPORT Allow local address/port reuse

New IP Level Options – IPPROTO_IP IP_O_TOSType of service IP_O_FRAGFragmentation Control IP_O_SECUREsecurity:compartment:handling:tcc IP_O_LSRRLoose source and record route IP_O_SSRRStrict source and record route

New IP Level Options – IPPROTO_IP (2) IP_O_RRRecord route IP_O_STREAMStream identifier IP_O_TIMEInternet timestamp IP_TTLSpecify time-to-live for outgoing non-multicast packets.

TCP Level Options – IPPROTO_TCP TCP_O_SEQNORetrieve current sequence number. It's used for counting number of bytes sent on connection. TCP_NODELAYDisables Nagle algorithm i.e., we don't inhibit the sending of smaller- than-MSS-sized segments. Berkeley standard. TCP_WINDOW_SCALEEnable/disable TCP window scale option. Enabled by default. RFC 1323.

TCP Level Options – IPPROTO_TCP (2) TCP_RTT_ALGORITHMTCP_RTTM_STANDARD (0) - use standard algorithm; TCP_RTTM_RFC_1323 (1) - use RFC 1323 algorithm for TCP_RTT_ALGORITHM if timestamps option successfully negotiated with peer. TCP_ENABLE_PAWSEnable/disable the "protect against wrapped sequence numbers" checking as defined in RFC 1323; enable if timestamps option successfully negotiated.

TCP Level Options – IPPROTO_TCP (3) TCP_PROVIDE_TIMESTAMPSGenerate/echo timestamps whether or not we need them for any processing. This allows us to comply with a peer that wants to use timestamps. RFC 1323 TCP_ENABLE_TRANSACTION_TCPEnables the transaction tcp protocol RFC 1644

TCP Level Options – IPPROTO_TCP (4) TCP_MAXSEGSet/Get the maximum segment size that TCP will send to the peer (send MSS). Berkeley standard TCP_USE_PEER_MSS_OPTIONUse for the send MSS the MSS option value received from the peer in a SYN segment (Set only). TCP_SET_RCV_MSSSet our receive MSS, i.e., the MSS option value that will be sent to the peer in a SYN segment (Set only).

TCP Level Options – IPPROTO_TCP (5) TCP_REX_MAX Maximum TCP retransmission timeout TCP_REX_MIN Minimum TCP retransmission timeout TCP_REX_INIT Initial TCP retransmission timeout TCP_ACKDELAYTIME Delay period (in ms) used for delayed ACKs. TCP_ACKNSEG ACK every Nth segment Default is 2.

TCP Level Options – IPPROTO_TCP (6) TCP_PERMIT_SACKS Allow the peer to send selective ACKs. RFC TCP_SEND_SACKS Send selective ACKs to the peer, if the peer allows it. RFC TCP_FAST_RETR_RECOV Enable/disable the Fast Retransmit/ Fast Recovery algorithms defined in RFC 2001 TCP_SLOW_START_CA Enable/disable the Slow Start/ Congestion avoidance algorithms defined in RFC 2001