openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/rsyslog/8.1903.0-r0/rsyslog-8.1903.0/plugins/imtcp/imtcp.c
static int isPermittedHost(struct sockaddr* addr, char* fromHostFQDN,
                           void __attribute__((unused)) * pUsrSrv,
                           void __attribute__((unused)) * pUsrSess)
{
    return net.isAllowedSender2(UCHAR_CONSTANT("TCP"), addr, fromHostFQDN, 1);
}
/* callbacks */
/* this shall go into a specific ACL module! */
callbacks
this shall go into a specific ACL module!
callbacks this shall go into a specific ACL module!
static int isPermittedHost(struct sockaddr* addr, char* fromHostFQDN,
                           void __attribute__((unused)) * pUsrSrv,
                           void __attribute__((unused)) * pUsrSess)
{
    return net.isAllowedSender2(UCHAR_CONSTANT("TCP"), addr, fromHostFQDN, 1);
}
static int isPermittedHost ( struct sockaddr * addr , char * fromHostFQDN , void __attribute__ ( ( unused ) ) * pUsrSrv , void __attribute__ ( ( unused ) ) * pUsrSess ) { return net . isAllowedSender2 ( UCHAR_CONSTANT ( " " ) , addr , fromHostFQDN , 1 ) ; }
callbacks
this shall go into a specific ACL module!
callbacks this shall go into a specific ACL module!