A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ipv4-raw-socket-factory.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2007 INRIA
3 *
4 * SPDX-License-Identifier: GPL-2.0-only
5 *
6 * Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
7 */
8#ifndef IPV4_RAW_SOCKET_FACTORY_H
9#define IPV4_RAW_SOCKET_FACTORY_H
10
11#include "ns3/socket-factory.h"
12
13namespace ns3
14{
15
16class Socket;
17
18/**
19 * \ingroup socket
20 * \ingroup ipv4
21 *
22 * \brief API to create RAW socket instances
23 *
24 * This abstract class defines the API for RAW socket factory.
25 *
26 */
28{
29 public:
30 /**
31 * \brief Get the type ID.
32 * \return the object TypeId
33 */
34 static TypeId GetTypeId();
35};
36
37} // namespace ns3
38
39#endif /* IPV4_RAW_SOCKET_FACTORY_H */
API to create RAW socket instances.
static TypeId GetTypeId()
Get the type ID.
Object to create transport layer instances that provide a socket API to applications.
a unique identifier for an interface.
Definition type-id.h:48
Every class exported by the ns3 library is enclosed in the ns3 namespace.