Lines Matching refs:obj
436 static int websocket_close_vmeth(void *obj) in websocket_close_vmeth() argument
438 struct websocket_context *ctx = obj; in websocket_close_vmeth()
445 NET_DBG("[%p] Cannot close (%d)", obj, ret); in websocket_close_vmeth()
503 static int websocket_ioctl_vmeth(void *obj, unsigned int request, va_list args) in websocket_ioctl_vmeth() argument
505 struct websocket_context *ctx = obj; in websocket_ioctl_vmeth()
1118 static ssize_t websocket_read_vmeth(void *obj, void *buffer, size_t count) in websocket_read_vmeth() argument
1120 return (ssize_t)websocket_recv(obj, buffer, count, SYS_FOREVER_MS); in websocket_read_vmeth()
1123 static ssize_t websocket_write_vmeth(void *obj, const void *buffer, in websocket_write_vmeth() argument
1126 return (ssize_t)websocket_send(obj, buffer, count, SYS_FOREVER_MS); in websocket_write_vmeth()
1129 static ssize_t websocket_sendto_ctx(void *obj, const void *buf, size_t len, in websocket_sendto_ctx() argument
1134 struct websocket_context *ctx = obj; in websocket_sendto_ctx()
1147 static ssize_t websocket_recvfrom_ctx(void *obj, void *buf, size_t max_len, in websocket_recvfrom_ctx() argument
1151 struct websocket_context *ctx = obj; in websocket_recvfrom_ctx()