Lines Matching refs:NULL
74 if (TAILQ_FIRST(&proto->pr_filter_head) != NULL) {
94 so->so_filt = NULL;
164 if (filtered == NULL)
191 * Assumptions: If filter is not NULL, socket_filter_lock is held.
201 struct socket_filter_entry *entry = NULL;
205 if (filter == NULL) {
216 if (filter == NULL)
222 if (entry == NULL) {
231 entry->sfe_cookie = NULL;
247 entry = NULL;
400 if (socket == NULL || handle == 0)
403 return sflt_attach_private(socket, NULL, handle, 0);
414 if (socket == NULL || handle == 0)
425 if (filter != NULL) {
429 socket->so_filt = NULL;
446 struct socket_filter *sock_filt = NULL;
447 struct socket_filter *match = NULL;
452 if (pr == NULL)
455 if (filter->sf_attach == NULL || filter->sf_detach == NULL ||
456 filter->sf_handle == 0 || filter->sf_name == NULL)
462 if (sock_filt == NULL) {
495 if (match == NULL) {
505 if (match != NULL) {
518 struct socket_filter_entry *entry_head = NULL;
519 struct socket_filter_entry *next_entry = NULL;
534 filter->sf_entry_head = NULL;
559 if (filter == NULL)
586 if (so == NULL || data == NULL) return EINVAL;
596 control, NULL))
602 if (sbappendcontrol(&so->so_rcv, data, control, NULL))
634 return sosend(so, (struct sockaddr*)to, NULL,