def METHOD_NAME(so, mac):    # type: (socket.socket, str) -> None
    so.settimeout(10)
    payload = bytearray(1010)
    for i, _ in enumerate(payload):
        payload[i] = i & 0xff
    eth_frame = Ether(dst=mac, src=so.getsockname()[4], type=0x2222) / raw(payload)
    try:
        so.send(raw(eth_frame))
    except Exception as e:
        raise e