HEX
Server: LiteSpeed
System: Linux s3.sitechai.com 4.18.0-553.51.1.lve.1.el8.x86_64 #1 SMP Wed May 14 14:34:57 UTC 2025 x86_64
User: workzeni (2217)
PHP: 8.1.32
Disabled: mail, show_source, system, shell_exec, passthru, exec, eval, shell
Upload Files
File: //opt/alt/luajit/share/lua/syscall/linux/nr.lua
local require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcall, type, table, string = 
require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcall, type, table, string

local abi = require "syscall.abi"

local nr = require("syscall.linux." .. abi.arch .. ".nr")

if nr.SYS.socketcall then nr.socketcalls = {
  SOCKET      = 1,
  BIND        = 2,
  CONNECT     = 3,
  LISTEN      = 4,
  ACCEPT      = 5,
  GETSOCKNAME = 6,
  GETPEERNAME = 7,
  SOCKETPAIR  = 8,
  SEND        = 9,
  RECV        = 10,
  SENDTO      = 11,
  RECVFROM    = 12,
  SHUTDOWN    = 13,
  SETSOCKOPT  = 14,
  GETSOCKOPT  = 15,
  SENDMSG     = 16,
  RECVMSG     = 17,
  ACCEPT4     = 18,
  RECVMMSG    = 19,
  SENDMMSG    = 20,
}
end

return nr