Lines Matching refs:udp_port
10148 struct bnx2x_udp_tunnel *udp_port = &bp->udp_tunnel_ports[type]; in __bnx2x_add_udp_port() local
10153 if (udp_port->count && udp_port->dst_port == port) { in __bnx2x_add_udp_port()
10154 udp_port->count++; in __bnx2x_add_udp_port()
10158 if (udp_port->count) { in __bnx2x_add_udp_port()
10165 udp_port->dst_port = port; in __bnx2x_add_udp_port()
10166 udp_port->count = 1; in __bnx2x_add_udp_port()
10173 struct bnx2x_udp_tunnel *udp_port = &bp->udp_tunnel_ports[type]; in __bnx2x_del_udp_port() local
10178 if (!udp_port->count || udp_port->dst_port != port) { in __bnx2x_del_udp_port()
10185 udp_port->count--; in __bnx2x_del_udp_port()
10186 if (udp_port->count) in __bnx2x_del_udp_port()
10188 udp_port->dst_port = 0; in __bnx2x_del_udp_port()