|
Functions |
| Pkt_IpHdr_t * | Pkt_EthernetExtractIp (Pkt_EthernetHdr_t *ethPkt) |
| | Extract the Ip component from an Ethernet packet.
|
| int | Pkt_EthernetPktHdrReadLengthNetworkOrder (Pkt_EthernetHdr_t *pkt) |
| | Return the length of the Ethernet packet, including header.
|
| int | Pkt_EthernetPktHdrReadLength (Pkt_EthernetHdr_t *pkt) |
| | Return the length of the Ethernet packet, including header.
|
| int | Pkt_EthernetHdrFree (Pkt_EthernetHdr_t *pkt) |
| | Free an Ethernet packet.
|
| int | Pkt_ProcessPktFree (Pkt_ProcessPkt_t *pp) |
| | Free an ProcessPkt structure.
|
| Pkt_IcmpHdr_t * | Pkt_IpExtractIcmp (Pkt_IpHdr_t *anIpPkt) |
| | Extract the Icmp component from an Ip packet.
|
| Pkt_UdpHdr_t * | Pkt_IpExtractUdp (Pkt_IpHdr_t *anIpPkt) |
| | Extract the Udp component from an Ip packet.
|
| Pkt_TcpHdr_t * | Pkt_IpExtractTcp (Pkt_IpHdr_t *anIpPkt) |
| | Extract the Tcp component from an Ip packet.
|
| char * | Pkt_IpExtractPayload (Pkt_IpHdr_t *anIpPkt) |
| | Extract the payload component from an Ip packet.
|
| Pkt_UdpHdr_t * | Pkt_EthernetExtractUdp (Pkt_EthernetHdr_t *aEthernetPkt) |
| | Extract the Tcp component from an Ethernet packet.
|
| Pkt_TcpHdr_t * | Pkt_EthernetExtractTcp (Pkt_EthernetHdr_t *aEthernetPkt) |
| | Extract the Tcp component from an Ethernet packet.
|
| Pkt_IcmpHdr_t * | Pkt_EthernetExtractIcmp (Pkt_EthernetHdr_t *aEthernetPkt) |
| | Extract the Icmp component from an Ethernet packet.
|
| char * | Pkt_UdpHdrReadPayload (Pkt_UdpHdr_t *aUdpPkt) |
| | Returns a pointer to the payload of a UDP packet.
|
| char * | Pkt_TcpHdrReadPayload (Pkt_TcpHdr_t *aTcpPkt) |
| | Returns a pointer to the payload of a TCP packet.
|
| int | Pkt_SrcIpFlowCmp (Pkt_EthernetHdr_t *pkt1, Pkt_EthernetHdr_t *pkt2) |
| | Compare two src ip flows Returns -1, 0, 1 a la strcmp.
|
| int | Pkt_DestIpFlowCmp (Pkt_EthernetHdr_t *pkt1, Pkt_EthernetHdr_t *pkt2) |
| | Compare two dest ip flows Returns -1, 0 , 1.
|
| int | Pkt_SrcDestIpFlowCmp (Pkt_EthernetHdr_t *pkt1, Pkt_EthernetHdr_t *pkt2) |
| | Compare two src-dest ip flows Returns -1,0,1 a la strcmp.
|
| int | Pkt_DestTcpIpFlowCmp (Pkt_EthernetHdr_t *pkt1, Pkt_EthernetHdr_t *pkt2) |
| | Compare two dest tcp-Ip flows. Returns -1, 0, 1 a la strcmp.
|
| int | Pkt_SrcIpFlowHash (Pkt_EthernetHdr_t *pkt1, int modulus) |
| | Hash a src-ip flow.
|
| int | Pkt_DestIpFlowHash (Pkt_EthernetHdr_t *pkt1, int modulus) |
| | Hash a dest-ip.
|
| int | Pkt_SrcDestIpFlowHash (Pkt_EthernetHdr_t *pkt1, int modulus) |
| | Hash a src-dest ip flow.
|
| int | Pkt_DestTcpIpFlowHash (Pkt_EthernetHdr_t *pkt1, int modulus) |
| | Hash a dest tcp-Ip flow.
|
| int | Pkt_SrcDestTcpIpFlowHash (Pkt_EthernetHdr_t *pkt1, int modulus) |
| | Hash a tcp-Ip flow.
|
| int | Pkt_SrcDestTcpIpFlowCmp (Pkt_EthernetHdr_t *pkt1, Pkt_EthernetHdr_t *pkt2) |
| | Compare two Tcp-Ip flows. Returns -1, 0, 1 a la strcmp.
|
| int | Pkt_L4FlowCompareForSt (Pkt_L4Flow_t *foo, Pkt_L4Flow_t *bar) |
| | Compare function for an L4 flow struct for the st package, returns 0 for equal, 1 for unequal.
|
| int | Pkt_L4FlowCompare (Pkt_L4Flow_t *foo, Pkt_L4Flow_t *bar) |
| | Compare function for an L4 flow struct - 1 for equal, 0 for unequal.
|
| int | Pkt_L4FlowHashForSt (Pkt_L4Flow_t *anL4FlowStruct, int modulus) |
| | Hash function for an L4 flow struct with modulus argument.
|
| unsigned int | Pkt_L4FlowHash (Pkt_L4Flow_t *anL4FlowStruct) |
| | Hash function for an L4 flow struct.
|
| Pkt_L4Flow_t * | Pkt_EthPktToL4Flow (Pkt_EthernetHdr_t *anEthPkt) |
| | Create a L4 flow structure from an Ethernet packet.
|
| Pkt_L4Flow_t * | Pkt_IpPktToL4Flow (Pkt_IpHdr_t *anIpPkt) |
| | Create a L4 flow structure from an Ip packet.
|
| int | Pkt_EthernetReadL3Type (Pkt_EthernetHdr_t *anEth) |
| | Return the L3 type of an ethernet packet.
|
| int | Pkt_PrintEthernet (Pkt_EthernetHdr_t *anEthPkt, int length) |
| | Print an Ethernet packet.
|
| int | Pkt_PrintWifi (Pkt_WifiHdr_t *aWifiPkt) |
| | Print a Wifi packet.
|
| int | Pkt_PrintIp (Pkt_IpHdr_t *anIpPkt) |
| | Print an Ip Pkt, given in network order.
|
| void | Pkt_PrintIpAddressDotted (u_int32_t aNumIp) |
| | Print an Ip address in 1.2.3.4 format.
|
| void | Pkt_PrintIpAddressDottedGeneral (char *buf, u_int32_t aNumIp) |
| | Print an Ip address in 1.2.3.4 format.
|
| Pkt_ProcessPkt_t * | Pkt_AllocateProcessPacket (Pkt_EthernetHdr_t *pkt, array_t *applicableRules) |
| | Allocate a process-packet structure.
|