Linedefs are connected to vertices, which are nothing more than coordinates in the map.
2: x coordinate
2: y coordinate
The values are in signed two's complement format, so each coordinate can range from -32768 to +32767. In the WAD file, the bytes are in little-endian order (least significant byte first).