uipc_socket.c (275326) | uipc_socket.c (275329) |
---|---|
1/*- 2 * Copyright (c) 1982, 1986, 1988, 1990, 1993 3 * The Regents of the University of California. 4 * Copyright (c) 2004 The FreeBSD Foundation 5 * Copyright (c) 2004-2008 Robert N. M. Watson 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 87 unchanged lines hidden (view full) --- 96 * NOTE: With regard to VNETs the general rule is that callers do not set 97 * curvnet. Exceptions to this rule include soabort(), sodisconnect(), 98 * sofree() (and with that sorele(), sotryfree()), as well as sonewconn() 99 * and sorflush(), which are usually called from a pre-set VNET context. 100 * sopoll() currently does not need a VNET context to be set. 101 */ 102 103#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1982, 1986, 1988, 1990, 1993 3 * The Regents of the University of California. 4 * Copyright (c) 2004 The FreeBSD Foundation 5 * Copyright (c) 2004-2008 Robert N. M. Watson 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 87 unchanged lines hidden (view full) --- 96 * NOTE: With regard to VNETs the general rule is that callers do not set 97 * curvnet. Exceptions to this rule include soabort(), sodisconnect(), 98 * sofree() (and with that sorele(), sotryfree()), as well as sonewconn() 99 * and sorflush(), which are usually called from a pre-set VNET context. 100 * sopoll() currently does not need a VNET context to be set. 101 */ 102 103#include <sys/cdefs.h> |
104__FBSDID("$FreeBSD: head/sys/kern/uipc_socket.c 275326 2014-11-30 12:52:33Z glebius $"); | 104__FBSDID("$FreeBSD: head/sys/kern/uipc_socket.c 275329 2014-11-30 13:24:21Z glebius $"); |
105 106#include "opt_inet.h" 107#include "opt_inet6.h" 108#include "opt_compat.h" 109 110#include <sys/param.h> 111#include <sys/systm.h> 112#include <sys/fcntl.h> --- 3060 unchanged lines hidden (view full) --- 3173int 3174pru_send_notsupp(struct socket *so, int flags, struct mbuf *m, 3175 struct sockaddr *addr, struct mbuf *control, struct thread *td) 3176{ 3177 3178 return EOPNOTSUPP; 3179} 3180 | 105 106#include "opt_inet.h" 107#include "opt_inet6.h" 108#include "opt_compat.h" 109 110#include <sys/param.h> 111#include <sys/systm.h> 112#include <sys/fcntl.h> --- 3060 unchanged lines hidden (view full) --- 3173int 3174pru_send_notsupp(struct socket *so, int flags, struct mbuf *m, 3175 struct sockaddr *addr, struct mbuf *control, struct thread *td) 3176{ 3177 3178 return EOPNOTSUPP; 3179} 3180 |
3181int 3182pru_ready_notsupp(struct socket *so, struct mbuf *m, int count) 3183{ 3184 3185 return (EOPNOTSUPP); 3186} 3187 |
|
3181/* 3182 * This isn't really a ``null'' operation, but it's the default one and 3183 * doesn't do anything destructive. 3184 */ 3185int 3186pru_sense_null(struct socket *so, struct stat *sb) 3187{ 3188 --- 510 unchanged lines hidden --- | 3188/* 3189 * This isn't really a ``null'' operation, but it's the default one and 3190 * doesn't do anything destructive. 3191 */ 3192int 3193pru_sense_null(struct socket *so, struct stat *sb) 3194{ 3195 --- 510 unchanged lines hidden --- |