docs: def _tag_net_direction(data):
          """Create a tag based on the direction of the traffic"""
  
          # IP or IPv6
          src = data['packet']['src_domain']
          dst = data['packet']['dst_domain']
          if src == 'internal':
              if dst == 'internal' or 'multicast' in dst or 'broadcast' in dst:
                  return 'internal'
              else:
                  return 'outgoing'
          elif dst == 'internal':
              return 'incoming'
          else:
              return None