is_tftp_ctl(const struct dp_packet *pkt)
{
    uint8_t ip_proto = get_ip_proto(pkt);
    struct udp_header *uh = dp_packet_l4(pkt);

    /* CT_IPPORT_TFTP is used because IPPORT_TFTP in not defined in OSX,
     * at least in in.h. Since this value will never change, remove
     * the external dependency. */
#define CT_IPPORT_TFTP 69
    return (ip_proto == IPPROTO_UDP &&
            uh->udp_dst == htons(CT_IPPORT_TFTP));

}
is_tftp_ctl(const struct dp_packet *pkt)
{
    uint8_t ip_proto = get_ip_proto(pkt);
    struct udp_header *uh = dp_packet_l4(pkt);

     
#define CT_IPPORT_TFTP 69
    return (ip_proto == IPPROTO_UDP &&
            uh->udp_dst == htons(CT_IPPORT_TFTP));

}