Searched refs:pxOpenedInterfaceHandle (Results 1 – 2 of 2) sorted by relevance
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/linux/ |
HD | NetworkInterface.c | 90 static pcap_t * pxOpenedInterfaceHandle = NULL; variable 161 if( ( pxOpenedInterfaceHandle != NULL ) && ( ret == pdPASS ) ) in xNetworkInterfaceInitialise() 332 if( pxOpenedInterfaceHandle != NULL ) in xGetPhyLinkStatus() 497 ret = pcap_set_promisc( pxOpenedInterfaceHandle, 1 ); in prvSetDeviceModes() 505 ret = pcap_set_snaplen( pxOpenedInterfaceHandle, in prvSetDeviceModes() 514 ret = pcap_set_timeout( pxOpenedInterfaceHandle, 200 ); in prvSetDeviceModes() 522 ret = pcap_set_buffer_size( pxOpenedInterfaceHandle, in prvSetDeviceModes() 554 pxOpenedInterfaceHandle = pcap_create( pucInterfaceName, errbuf ); in prvOpenInterface() 556 if( pxOpenedInterfaceHandle != NULL ) in prvOpenInterface() 562 if( pcap_activate( pxOpenedInterfaceHandle ) == 0 ) in prvOpenInterface() [all …]
|
/FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/WinPCap/ |
HD | NetworkInterface.c | 162 static pcap_t * pxOpenedInterfaceHandle = NULL; variable 205 if( pxOpenedInterfaceHandle != NULL ) in xWinPcap_NetworkInterfaceInitialise() 341 if( pxOpenedInterfaceHandle != NULL ) in xWinPcap_GetPhyLinkStatus() 524 …pxOpenedInterfaceHandle = pcap_open( pucInterfaceName, /* The name of the selected inte… in prvOpenInterface() 538 if( pxOpenedInterfaceHandle == NULL ) in prvOpenInterface() 606 if( pcap_compile( pxOpenedInterfaceHandle, &xFilterCode, cErrorBuffer, 1, ulNetMask ) < 0 ) in prvConfigureCaptureBehaviour() 612 if( pcap_setfilter( pxOpenedInterfaceHandle, &xFilterCode ) < 0 ) in prvConfigureCaptureBehaviour() 705 pcap_dispatch( pxOpenedInterfaceHandle, 1, pcap_callback, ( u_char * ) "mydata" ); in prvWinPcapRecvThread() 740 if( pcap_sendpacket( pxOpenedInterfaceHandle, ucBuffer, xLength ) != 0 ) in prvWinPcapSendThread()
|