Function ndpi_network_ptree_match
- Defined in File ndpi_api.h 
Function Documentation
- 
u_int16_t ndpi_network_ptree_match(struct ndpi_detection_module_struct *ndpi_struct, struct in_addr *pin)
- Returns the nDPI protocol id for IP-based protocol detection - ndpi_struct = the struct created for the protocol detection
- pin = IP host address (MUST BE in network byte order):
- See man(7) ip for details 
 - Returns:
- the nDPI protocol ID