|
| enum | ROUTING_TYPE { RoutingType_string
, RoutingType_DEFAULT =1
, RoutingType_STATIC
} |
| | Enumeration for routing types. More...
|
| |
| enum | IP_CONTROL_PACKET {
PACKET_ICMP_DstUnreachableMsg =NW_PROTOCOL_IPV4*100+10
, PACKET_ICMP_ECHORequest
, PACKET_ICMP_ECHOReply
, PACKET_ROUTER_ADVERTISEMENT
,
PACKET_VPN = NW_PROTOCOL_IPV4*100+20
, PACKET_IGMP_QUERY = NW_PROTOCOL_IPV4*100+30
, PACKET_IGMP_REPORT
, PACKET_IGMP_LEAVE
,
PACKET_PIM_HELLO = NW_PROTOCOL_IPV4*100+40
, PACKET_PIM_REGISTER
, PACKET_PIM_REGISTERSTOP
, PACKET_PIM_JOINPRUNE
,
PACKET_PIM_BOOTSTRAP
, PACKET_PIM_ASSERT
, PACKET_PIM_GRAFT
, PACKET_PIM_GRAFTACK
,
PACKET_PIM_CANDRPADVER
} |
| | Enumeration for IP control packets. More...
|
| |
| enum | IP_SUBEVENT {
EVENT_ICMP_POLL =NW_PROTOCOL_IPV4*100+1
, EVENT_ADVERTISE_ROUTER
, EVENT_IGMP_Unsolicited_report
, EVENT_IGMP_SendStartupQuery
,
EVENT_IGMP_SendQuery
, EVENT_IGMP_OtherQuerierPresentTimer
, EVENT_IGMP_DelayTimer
, EVENT_IGMP_GroupMembershipTimer
,
EVENT_PIM_SEND_HELLO
, EVENT_PIM_NEIGHBOR_TIMEOUT
, EVENT_PIM_JT
, EVENT_PIM_ET
,
EVENT_IP_INIT_TABLE
, EVENT_ICMP_SEND_ECHO
, EVENT_IP_PROCESSING_DELAY
} |
| | Enumeration for ip sub-events. More...
|
| |
| enum | IP_GATEWAYSTATE { GATEWAYSTATE_UP
, GATEWAYSTATE_DOWN
, GATEWAYSTATE_NOTIFICATION_PENDING
, GATEWAYSTATE_CLEARANCE_PENDING
} |
| | Enumeration for IP gateway states. More...
|
| |
| enum | VPN_STATE { VPN_DISABLE =0
, VPN_SERVER
, VPN_CLIENT
} |
| | Enumeration for VPN states. More...
|
| |
| enum | IP_PROTOCOL_ACTION { ACTION_DROP
, ACTION_MOVEUP
, ACTION_REROUTE
} |
| |
|
| void | free_ip_route (ptrIP_FORWARD_ROUTE route) |
| |
| int | iptable_add_check (ptrIP_ROUTINGTABLE current, ptrIP_ROUTINGTABLE mem) |
| |
| ptrIP_ROUTINGTABLE | iptable_check (ptrIP_ROUTINGTABLE *table, NETSIM_IPAddress dest, NETSIM_IPAddress subnet) |
| |
| int | iptable_change (ptrIP_WRAPPER wrapper, NETSIM_IPAddress dest, NETSIM_IPAddress subnet, UINT prefix_len, NETSIM_IPAddress gateway, UINT interfaceCount, NETSIM_IPAddress *interfaceIp, NETSIM_ID *interfaceId, unsigned int metric) |
| |
| int | iptable_change_byRoute (ptrIP_WRAPPER wrapper, ptrIP_ROUTINGTABLE route, NETSIM_IPAddress subnet, unsigned int prefix_len, NETSIM_IPAddress gateway, UINT interfaceCount, NETSIM_IPAddress *interfaceIp, NETSIM_ID *interfaceId, unsigned int metric) |
| |
| int | iptable_delete (ptrIP_WRAPPER wrapper, NETSIM_IPAddress dest, NETSIM_IPAddress in, char *type) |
| |
| int | iptable_delete_by_type (ptrIP_WRAPPER wrapper, char *type) |
| |
| int | iptable_delete_by_route (ptrIP_WRAPPER wrapper, ptrIP_ROUTINGTABLE route) |
| |
| ptrIP_ROUTINGTABLE | iptable_add (ptrIP_WRAPPER wrapper, NETSIM_IPAddress dest, NETSIM_IPAddress subnet, unsigned int prefix_len, NETSIM_IPAddress gateway, UINT interfaceCount, NETSIM_IPAddress *interfaceIp, NETSIM_ID *interfaceId, unsigned int metric, char *type) |
| |
| int | iptable_print (FILE *fp, ptrIP_ROUTINGTABLE routeTable) |
| |
| ptrIP_ROUTINGTABLE * | iptable_get_table_by_type (ptrIP_ROUTINGTABLE table, char *type, UINT *count) |
| |
| NETSIM_IPAddress | dns_query (NETSIM_ID nDeviceId, NETSIM_ID id) |
| |
| int | fn_NetSim_IP_VPN_Run () |
| |
| ptrIP_FORWARD_ROUTE | fn_NetSim_IP_RoutePacket (NetSim_PACKET *packet, NETSIM_ID dev) |
| |
| ptrIP_FORWARD_ROUTE | fn_NetSim_IP_RoutePacketViaStaticEntry (NetSim_PACKET *packet, NETSIM_ID dev) |
| |
| void | pass_to_lower_layer (NetSim_PACKET *packet, ptrIP_FORWARD_ROUTE route, UINT c) |
| |
| int | fn_NetSim_NAT_NetworkOut (NETSIM_ID ndev, NetSim_PACKET *packet) |
| |
| int | fn_NetSim_NAT_NetworkIn (NETSIM_ID ndev, NetSim_PACKET *packet) |
| |
| void | ICMP_copyPacket (NetSim_PACKET *d, NetSim_PACKET *s) |
| |
| void | process_icmp_packet () |
| |
| int | ICMP_CHECKSTATE (NETSIM_IPAddress ip) |
| |
| void | multicast_join_group () |
| |
| IP_PROTOCOL_ACTION | check_ip_in_multicastgroup (NETSIM_IPAddress ip, NETSIM_ID d, NetSim_PACKET *packet) |
| |
| bool | is_reserved_multicast_address (NETSIM_IPAddress ip) |
| |
| bool | isCorrectRoute (pptrIP_ROUTINGTABLE table, NETSIM_IPAddress dest, NETSIM_IPAddress src) |
| |
| void | igmp_configure (NETSIM_ID d, void *xmlNode) |
| |
| void | igmp_init (NETSIM_ID d) |
| |
| void | igmp_host_join_group (NETSIM_ID d, NETSIM_IPAddress group) |
| |
| void | host_handle_unsolicited_report_timer () |
| |
| void | process_igmp_packet () |
| |
| void | IGMP_FreePacket (NetSim_PACKET *packet) |
| |
| IP_PROTOCOL_ACTION | host_is_ip_present_in_db (NETSIM_ID d, NETSIM_IPAddress ip, NetSim_PACKET *packet) |
| |
| IP_PROTOCOL_ACTION | router_is_ip_present_in_db (NETSIM_ID d, NETSIM_IPAddress ip, NetSim_PACKET *packet) |
| |
| void | send_query_msg (NETSIM_ID d, NETSIM_IPAddress groupAddr, double time) |
| |
| void | igmp_router_processOtherQuerierPresentTime () |
| |
| void | host_send_report () |
| |
| void | igmp_router_ProcessGroupMembershipTimer () |
| |
| void | copy_igmp_packet (NetSim_PACKET *d, NetSim_PACKET *s) |
| |
| void | igmp_free (NETSIM_ID d) |
| |
| void | pim_configure (NETSIM_ID d, void *xmlNetSimNode) |
| |
| void | Router_PIM_Init (NETSIM_ID d) |
| |
| void | pim_handle_timer_event () |
| |
| void | pim_join_group (NETSIM_ID d, NETSIM_IPAddress group) |
| |
| IP_PROTOCOL_ACTION | pim_decide_action (NetSim_PACKET *packet, NETSIM_ID d) |
| |
| void | process_pim_packet () |
| |
| void | ip_write_to_pcap (NetSim_PACKET *packet, NETSIM_ID d, NETSIM_ID i, double time) |
| |
| void * | ICMP_StartPingRequest (NETSIM_ID src, NETSIM_ID dest, UINT count, bool(*resp)(void *, char *, bool), void *arg) |
| |
| void | icmp_send_echo_request () |
| |
The DOMAIN NAME SPACE and RESOURCE RECORDS, which are specifications for a tree structured name space and data associated with the names. Conceptually, each node and leaf of the domain name space tree names a set of information, and query operations are attempts to extract specific types of information from a particular set. A query names the domain name of interest and describes the type of resource information that is desired. For example, the Internet uses some of its domain names to identify hosts; queries for address resources return Internet host addresses.
Definition at line 42 of file DNS.c.