forked from sachinites/tcpip_stack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tcp_public.h
51 lines (47 loc) · 1.77 KB
/
tcp_public.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*
* =====================================================================================
*
* Filename: tcp_public.h
*
* Description: This file contains routines and structures which should be exposed to the application for use
*
* Version: 1.0
* Created: 05/30/2020 11:13:54 AM
* Revision: none
* Compiler: gcc
*
* Author: Er. Abhishek Sagar, Juniper Networks (www.csepracticals.com), sachinites@gmail.com
* Company: Juniper Networks
*
* This file is part of the TCP/IP Stack distribution (https://github.com/sachinites)
* Copyright (c) 2019 Abhishek Sagar.
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General
* Public License as published by the Free Software Foundation, version 3.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* visit website : www.csepracticals.com for more courses and projects
*
* =====================================================================================
*/
#ifndef __TCP_IP_STACK__
#define __TCP_IP_STACK__
#include <assert.h>
#include <arpa/inet.h> /*for inet_ntop & inet_pton*/
#include <stdint.h>
#include "tcpconst.h"
#include "graph.h"
#include "net.h"
#include "Layer2/layer2.h"
#include "Layer3/layer3.h"
#include "utils.h"
#include "comm.h"
#include "gluethread/glthread.h"
#include "CommandParser/libcli.h"
#include "CommandParser/cmdtlv.h"
#include "cmdcodes.h"
extern graph_t * topo;
#endif /* __TCP_IP_STACK__ */