ncp.h (30949fd4b52d91188c23cb2ca0d130d89bb1678c) | ncp.h (057f1760a8171825b260dad27502f74ed5f69faf) |
---|---|
1/*- 2 * Copyright (c) 2001 Brian Somers <brian@Awfulhak.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 46 unchanged lines hidden (view full) --- 55}; 56 57extern void ncp_Init(struct ncp *, struct bundle *); 58extern void ncp_Destroy(struct ncp *); 59extern int ncp_fsmStart(struct ncp *, struct bundle *); 60extern void ncp_IfaceAddrAdded(struct ncp *, const struct iface_addr *); 61extern void ncp_IfaceAddrDeleted(struct ncp *, const struct iface_addr *); 62extern void ncp_SetLink(struct ncp *, struct link *); | 1/*- 2 * Copyright (c) 2001 Brian Somers <brian@Awfulhak.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 46 unchanged lines hidden (view full) --- 55}; 56 57extern void ncp_Init(struct ncp *, struct bundle *); 58extern void ncp_Destroy(struct ncp *); 59extern int ncp_fsmStart(struct ncp *, struct bundle *); 60extern void ncp_IfaceAddrAdded(struct ncp *, const struct iface_addr *); 61extern void ncp_IfaceAddrDeleted(struct ncp *, const struct iface_addr *); 62extern void ncp_SetLink(struct ncp *, struct link *); |
63extern void ncp_Enqueue(struct ncp *, int, int, char *, int); | 63extern void ncp_Enqueue(struct ncp *, int, unsigned, char *, int); |
64extern void ncp_DeleteQueues(struct ncp *); 65extern size_t ncp_QueueLen(struct ncp *); 66extern size_t ncp_FillPhysicalQueues(struct ncp *, struct bundle *); 67extern int ncp_PushPacket(struct ncp *, int *, struct link *); 68extern int ncp_IsUrgentPort(struct port_range *, u_short, u_short); 69extern void ncp_AddUrgentPort(struct port_range *, u_short); 70extern void ncp_RemoveUrgentPort(struct port_range *, u_short); 71extern void ncp_ClearUrgentPorts(struct port_range *); --- 30 unchanged lines hidden --- | 64extern void ncp_DeleteQueues(struct ncp *); 65extern size_t ncp_QueueLen(struct ncp *); 66extern size_t ncp_FillPhysicalQueues(struct ncp *, struct bundle *); 67extern int ncp_PushPacket(struct ncp *, int *, struct link *); 68extern int ncp_IsUrgentPort(struct port_range *, u_short, u_short); 69extern void ncp_AddUrgentPort(struct port_range *, u_short); 70extern void ncp_RemoveUrgentPort(struct port_range *, u_short); 71extern void ncp_ClearUrgentPorts(struct port_range *); --- 30 unchanged lines hidden --- |