def pnio_get_config(pkt):
 ether = _get_ethernet(pkt)
 config = None
 if ((ether is not None) and ((ether.src, ether.dst) in conf.contribs['PNIO_RTC'])):
  config = conf.contribs['PNIO_RTC'][(ether.src, ether.dst)]
 return config

def pnio_get_config ( pkt ) : ether = _get_ethernet ( pkt ) config = None if ( ( ether is not None ) and ( ( ether . src , ether . dst ) in conf . contribs [ 'PNIO_RTC' ] ) ) : config = conf . contribs [ 'PNIO_RTC' ] [ ( ether . src , ether . dst ) ] return config
retrieve the config for a given communication .