parameters: (pkt)
docstring: Check IP fragment small offset. Drop a packet if
          0 < fragmentation offset < 60
  
          Args:
              scapy_pkt (scapy_object): Packet to filter
  
          Raises:
              None
  
          Returns:
              bool (int): Allow or drop
docstring_summary: Check IP fragment small offset. Drop a packet if
          0 < fragmentation offset < 60
docstring_tokens: Check IP fragment small offset . Drop a packet if 0 < fragmentation offset < 60
function: def check_ip_fragment_offset(pkt):
          """
          Check IP fragment small offset. Drop a packet if
          0 < fragmentation offset < 60
  
          Args:
              scapy_pkt (scapy_object): Packet to filter
  
          Raises:
              None
  
          Returns:
              bool (int): Allow or drop
          """
          if (pkt.haslayer(scapy.IP)):
              frag = int(pkt[scapy.IP].frag)
              if (frag < 60 and frag > 0):
                  return 0
              else:
                  return 1
          else:
              return 1
function_tokens: def check_ip_fragment_offset ( pkt ) : if ( pkt . haslayer ( scapy . IP ) ) : frag = int ( pkt [ scapy . IP ] . frag ) if ( frag < 60 and frag > 0 ) : return 0 else : return 1 else : return 1