/macosx-10.5.8/xnu-1228.15.4/bsd/netat/ |
H A D | ddp_aep.c | 54 #include <netat/ddp.h> 74 register at_ddp_t *ddp; local 77 ddp = (at_ddp_t *)gbuf_rptr(mp); 82 if ( NET_VALUE(ddp->src_net) == 0 || ddp->src_node == 255) { 91 ((ifID->ifThisNode.s_net == NET_VALUE(ddp->dst_net)) 92 && (ifID->ifThisNode.s_node == ddp->dst_node))) { 95 NET_VALUE(ddp->src_net), ddp->src_node)); 97 if (ddp [all...] |
H A D | ddp_sip.c | 77 #include <netat/ddp.h> 106 register at_ddp_t *ddp; local 112 ddp = (at_ddp_t *)gbuf_rptr(mp); 115 if (ddp->type != DDP_ATP) { 121 atp = (at_atp_t *)ddp->data; 175 NET_NET(ddp->dst_net, ddp->src_net); 176 ddp->dst_node = ddp->src_node; 177 ddp [all...] |
H A D | ddp_usrreq.c | 57 #include <netat/ddp.h> 172 at_ddp_t *ddp = NULL; local 188 ddp = mtod(m, at_ddp_t *); 195 if (ddp) { 196 NET_ASSIGN(ddp->dst_net, pcb->raddr.s_net); 197 ddp->dst_node = pcb->raddr.s_node; 198 ddp->dst_socket = pcb->rport; 204 if (ddp) { 207 NET_ASSIGN(ddp->dst_net, dst->sat_addr.s_net); 208 ddp [all...] |
H A D | atp_read.c | 54 #include <netat/ddp.h> 145 register at_ddp_t *ddp; local 162 ddp = AT_DDP_HDR(m); 166 ddp->dst_socket, ddp->src_node, ddp->src_socket, seqno)); 171 ddp = AT_DDP_HDR(m); 175 ddp->dst_socket, ddp->src_node, ddp 257 register at_ddp_t *ddp; local 291 register at_ddp_t *ddp; local [all...] |
H A D | ddp_r_zip.c | 40 * The entry point for the zip input in ddp is valid only when we're 67 #include <netat/ddp.h> 84 * to ZIP have the same headers as those coming in to DDP {ddp...}. 117 at_ddp_t *ddp, *ddp_sent; local 124 ddp = (at_ddp_t *)gbuf_rptr(m); 133 zname->len, DDPLEN_VALUE(ddp))); 146 if ((NET_VALUE(ddp->src_net) < CableStart || NET_VALUE(ddp->src_net) > CableStop) && 147 (NET_VALUE(ddp->dst_net) == 0 && ddp 288 register at_ddp_t *ddp, *src_ddp; local 332 register at_ddp_t *ddp; local 444 register at_ddp_t *ddp = NULL, *ddp_received; local 591 register at_ddp_t *ddp; local 1028 register at_ddp_t *ddp; local 1160 register at_ddp_t *ddp; local 1215 register at_ddp_t *ddp; local 1304 register at_ddp_t *ddp; local 1349 register at_ddp_t *ddp; local 1472 register at_ddp_t *ddp; local 1579 register at_ddp_t *ddp; local 1675 register at_ddp_t *ddp; local 1801 register at_ddp_t *ddp; local [all...] |
H A D | ddp.c | 59 #include <netat/ddp.h> 84 snmpStats_t snmpStats; /* snmp ddp & echo stats */ 351 dPrintf(D_M_DDP, D_L_STARTUP, ("ddp:adding ifID_table[%d]\n", port)); 355 ifID->ifPort = port; /* set ddp port # in ifID */ 475 *ddp = (at_ddp_t *)gbuf_rptr(m), local 479 if (UAS_VALUE(ddp->checksum)) { 481 UAS_ASSIGN_HTON(ddp->checksum, tmp); 489 NET_NET(tmp_ddp->src_net, ddp->src_net); 490 tmp_ddp->src_node = ddp->src_node; 491 tmp_ddp->src_socket = ddp 524 register at_ddp_t *ddp; local 873 register at_ddp_t *ddp; /* DDP header */ local 1137 register at_ddp_t *ddp; local [all...] |
H A D | ddp.h | 94 #define DDPLEN_ASSIGN(ddp, len) \ 95 ddp->length_H = 0x03 & (len >> 8); \ 96 ddp->length_L = len & 0xff; 98 #define DDPLEN_VALUE(ddp) \ 99 (((u_short)ddp->length_H) << 8) + ddp->length_L 164 #define FROM_US(ddp) ((NET_VALUE(ddp->src_net) ==\ 166 ifID_home->ifThisNode.s_node == ddp->src_node) 168 #define RT_LOOKUP_OKAY(ifID, ddp) \ [all...] |
H A D | ddp_proto.c | 58 #include <netat/ddp.h> 69 at_ddp_t *ddp; local 76 ddp = (at_ddp_t *)gbuf_rptr(mp); 77 if ((ddp->type == DDP_ATP) || (ddp->type == DDP_ADSP)) { 80 ((ddp->type==DDP_ATP) && ddp->src_node)? 1 : 0; 81 (void)ddp_output(&mp, ddp->src_socket,
|
H A D | ddp_r_rtmp.c | 34 * The entry point for the rtmp input in ddp is valid only when we're 68 #include <netat/ddp.h> 116 register at_ddp_t *ddp = (at_ddp_t *)gbuf_rptr(mp); local 149 DstNet = NET_VALUE(ddp->dst_net); 150 DstNode = ddp->dst_node; 154 switch (ddp->type) { 177 rtmp_update(ifID, (at_rtmp *)ddp->data, tuples); 197 rtmp_request(ifID, ddp); 208 rtmp_request(ifID_table[Entry->NetPort], ddp); 215 NET_VALUE(ddp 839 register at_ddp_t *ddp; local 900 register at_ddp_t *ddp; local 1001 register at_ddp_t *ddp; local [all...] |
H A D | adsp.c | 50 #include <netat/ddp.h> 340 DDPX_FRAME *ddp; local 357 ddp = (DDPX_FRAME *) gbuf_rptr(mp); 358 UAS_ASSIGN_HTON(ddp->ddpx_length, (length + DDPL_FRAME_LEN)); 359 UAS_ASSIGN(ddp->ddpx_cksm, 0); 362 UAS_ASSIGN_HTON(ddp->ddpx_cksm, 1); 365 NET_ASSIGN(ddp->ddpx_dnet, dstnetaddr->a.net); 366 ddp->ddpx_dnode = dstnetaddr->a.node; 367 ddp->ddpx_source = sp ? sp->localSocket : ddp [all...] |
H A D | atp_write.c | 55 #include <netat/ddp.h> 198 at_ddp_t *ddp; local 227 ddp = AT_DDP_HDR(m2); 239 rcbp->rc_socket.node == ddp->dst_node && 240 rcbp->rc_socket.net == NET_VALUE(ddp->dst_net) && 241 rcbp->rc_socket.socket == ddp->dst_socket) 261 rcbp->rc_socket.socket = ddp->dst_socket; 262 rcbp->rc_socket.node = ddp->dst_node; 263 rcbp->rc_socket.net = NET_VALUE(ddp->dst_net); 404 register at_ddp_t *ddp; local 1118 register at_ddp_t *ddp; local 1238 register at_ddp_t *ddp; local 1390 register at_ddp_t *ddp; local 1889 at_ddp_t *ddp; local [all...] |
H A D | ddp_nbp.c | 56 #include <netat/ddp.h> 158 register at_ddp_t *ddp = DATA_DDP(m); local 168 ddp->type != DDP_NBP) { 186 dst_net = NET_VALUE(ddp->dst_net); 189 if ( ROUTING_MODE && (NET_VALUE(ddp->dst_net) != 0) 235 NET_VALUE(ddp->dst_net) >= rt->NetStart && 236 NET_VALUE(ddp->dst_net) <= rt->NetStop 278 NET_ASSIGN(ddp->dst_net, 0); 279 ddp->dst_node = 255; 307 ddp 942 register at_ddp_t *ddp; local [all...] |
H A D | asp_proto.c | 57 #include <netat/ddp.h> 695 at_ddp_t *ddp; local 731 ddp = (at_ddp_t *)gbuf_wptr(mdata); 732 NET_ASSIGN(ddp->src_net, scb->loc_addr.net); 733 ddp->src_node = scb->loc_addr.node; 734 NET_ASSIGN(ddp->dst_net, dest->net); 735 ddp->dst_node = dest->node; 736 ddp->dst_socket = dest->socket; 737 UAS_ASSIGN(ddp->checksum, 0); 754 scb->loc_addr.socket, ddp 835 at_ddp_t *ddp; local 924 at_ddp_t *ddp; local 1855 at_ddp_t *ddp; local [all...] |
H A D | ddp_rtmptable.c | 75 #include <netat/ddp.h> 827 register at_ddp_t *ddp; local 848 ddp = (at_ddp_t *)gbuf_rptr(mp); 849 msgsize = DDPLEN_VALUE(ddp); 853 if (ddp->hopcount++ > 15) { 856 NET_VALUE(ddp->dst_net), ddp->dst_node)); 862 if ((Entry = rt_blookup(NET_VALUE(ddp->dst_net)))) { 866 NET_VALUE(ddp->dst_net), ddp [all...] |
H A D | Makefile | 30 ddp.h ep.h lap.h nbp.h pap.h zip.h \
|
H A D | adsp_Packet.c | 57 #include <netat/ddp.h> 732 register DDPX_FRAME *ddp; /* DDP frame pointer */ local 738 ddp = (DDPX_FRAME *)bp; 739 if (ddp->ddpx_type != DDP_ADSP) 743 len = UAS_VALUE_NTOH(ddp->ddpx_length) & 0x3ff; /* (ten bits of length) */ 748 a.a.net = NET_VALUE(ddp->ddpx_snet); 749 a.a.node = ddp->ddpx_snode; 750 a.a.socket = ddp->ddpx_source; 752 dsoc = ddp->ddpx_dest;
|
H A D | adsp_CLDeny.c | 49 #include <netat/ddp.h>
|
H A D | at_proto.c | 55 #include <netat/ddp.h>
|
H A D | ddp_rtmp.c | 58 #include <netat/ddp.h> 261 register at_ddp_t *ddp = (at_ddp_t *)gbuf_rptr(mp); local 264 register at_rtmp *rtmp = (at_rtmp *)ddp->data;
|
H A D | ddp_brt.c | 67 #include <netat/ddp.h> 91 * of the form {802.3, 802.2, ddp.... }. Extract the
|
H A D | atp_alloc.c | 51 #include <netat/ddp.h>
|
H A D | at_pcb.c | 88 #include <netat/ddp.h>
|
H A D | atp_misc.c | 52 #include <netat/ddp.h>
|
H A D | atp_open.c | 55 #include <netat/ddp.h>
|
H A D | drv_dep.c | 63 #include <netat/ddp.h>
|