SOCK_ZAPPED, which is defined in include/net/sock.h, is a status flag of a socket (struct sock) to indicate that the socket has a name assigned to it already (i.e., the socket is bound with bind()).
Archive: Linux Kernel's Networking Part (Networking Socket)