Lines Matching full:context

59 		   struct net_context **context);
64 int (*bind)(struct net_context *context,
72 int (*listen)(struct net_context *context, int backlog);
78 int (*connect)(struct net_context *context,
89 int (*accept)(struct net_context *context,
116 int (*recv)(struct net_context *context,
124 int (*put)(struct net_context *context);
128 * @brief Get a network socket/context from the offloaded IP stack.
140 * @param context The allocated context is returned to the caller.
148 struct net_context **context) in net_offload_get() argument
154 return net_if_offload(iface)->get(family, type, ip_proto, context); in net_offload_get()
164 * @param context The context to be assigned.
171 struct net_context *context, in net_offload_bind() argument
179 return net_if_offload(iface)->bind(context, addr, addrlen); in net_offload_bind()
183 * @brief Mark the context as a listening one.
189 * @param context The context to use.
195 struct net_context *context, in net_offload_listen() argument
202 return net_if_offload(iface)->listen(context, backlog); in net_offload_listen()
219 * @param context The network context.
235 struct net_context *context, in net_offload_connect() argument
247 context, addr, addrlen, cb, in net_offload_connect()
257 * In this case the context will call the supplied callback when ever
258 * there is a connection established to this context. This is "a register
271 * @param context The context to use.
280 struct net_context *context, in net_offload_accept() argument
290 context, cb, in net_offload_accept()
306 * called if the timeout expires. For context of type SOCK_DGRAM,
384 * @brief Receive network data from a peer specified by context.
388 * for this context. As this function registers a callback, then there
408 * @param context The network context to use.
417 struct net_context *context, in net_offload_recv() argument
427 context, cb, in net_offload_recv()
433 * @brief Free/close a network context.
435 * @details This releases the context. It is not possible to
436 * send or receive data via this context after this call.
441 * @param context The context to be closed.
446 struct net_context *context) in net_offload_put() argument
452 return net_if_offload(iface)->put(context); in net_offload_put()
463 struct net_context **context)
469 struct net_context *context,
477 struct net_context *context,
484 struct net_context *context,
495 struct net_context *context,
524 struct net_context *context,
533 struct net_context *context)