sig_reset.c (131826) | sig_reset.c (133492) |
---|---|
1/* 2 * Copyright (c) 1996-2003 3 * Fraunhofer Institute for Open Communication Systems (FhG Fokus). 4 * All rights reserved. 5 * 6 * Author: Hartmut Brandt <harti@freebsd.org> 7 * 8 * Redistribution and use in source and binary forms, with or without --- 12 unchanged lines hidden (view full) --- 21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * | 1/* 2 * Copyright (c) 1996-2003 3 * Fraunhofer Institute for Open Communication Systems (FhG Fokus). 4 * All rights reserved. 5 * 6 * Author: Hartmut Brandt <harti@freebsd.org> 7 * 8 * Redistribution and use in source and binary forms, with or without --- 12 unchanged lines hidden (view full) --- 21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * |
29 * $Begemot: libunimsg/netnatm/sig/sig_reset.c,v 1.10 2004/07/08 08:22:22 brandt Exp $ | 29 * $Begemot: libunimsg/netnatm/sig/sig_reset.c,v 1.11 2004/08/05 07:11:03 brandt Exp $ |
30 * 31 * Reset-start and reset-respond 32 */ 33 34#include <netnatm/unimsg.h> 35#include <netnatm/saal/sscfudef.h> 36#include <netnatm/msg/unistruct.h> 37#include <netnatm/msg/unimsglib.h> --- 17 unchanged lines hidden (view full) --- 55 56static void start_t316(struct uni *); 57 58static void start_restart_ack(struct uni *, struct uni_msg *, struct uni_all *); 59static void start_status(struct uni *, struct uni_msg *, struct uni_all *); 60 61static int restart_forward(struct uni *, const struct uni_all *); 62 | 30 * 31 * Reset-start and reset-respond 32 */ 33 34#include <netnatm/unimsg.h> 35#include <netnatm/saal/sscfudef.h> 36#include <netnatm/msg/unistruct.h> 37#include <netnatm/msg/unimsglib.h> --- 17 unchanged lines hidden (view full) --- 55 56static void start_t316(struct uni *); 57 58static void start_restart_ack(struct uni *, struct uni_msg *, struct uni_all *); 59static void start_status(struct uni *, struct uni_msg *, struct uni_all *); 60 61static int restart_forward(struct uni *, const struct uni_all *); 62 |
63#define DEF_PRIV_SIG(NAME, FROM) [SIG##NAME] "SIG"#NAME, | 63#define DEF_PRIV_SIG(NAME, FROM) [SIG##NAME] = "SIG"#NAME, |
64static const char *const start_sigs[] = { 65 DEF_START_SIGS 66}; 67#undef DEF_PRIV_SIG 68 | 64static const char *const start_sigs[] = { 65 DEF_START_SIGS 66}; 67#undef DEF_PRIV_SIG 68 |
69#define DEF_PRIV_SIG(NAME, FROM) [SIG##NAME] "SIG"#NAME, | 69#define DEF_PRIV_SIG(NAME, FROM) [SIG##NAME] = "SIG"#NAME, |
70static const char *const respond_sigs[] = { 71 DEF_RESPOND_SIGS 72}; 73#undef DEF_PRIV_SIG 74 75TIMER_FUNC_UNI(t317, t317_func) 76TIMER_FUNC_UNI(t316, t316_func) 77 --- 750 unchanged lines hidden --- | 70static const char *const respond_sigs[] = { 71 DEF_RESPOND_SIGS 72}; 73#undef DEF_PRIV_SIG 74 75TIMER_FUNC_UNI(t317, t317_func) 76TIMER_FUNC_UNI(t316, t316_func) 77 --- 750 unchanged lines hidden --- |