Searched refs:trh (Results 1 - 5 of 5) sorted by relevance
/netbsd-6-1-5-RELEASE/dist/dhcp/common/ |
H A D | tr.c | 50 static int insert_source_routing PROTO ((struct trh_hdr *trh, struct interface_info* interface)); 51 static void save_source_routing PROTO ((struct trh_hdr *trh, struct interface_info* interface)); 78 struct trh_hdr *trh; local 84 trh = (struct trh_hdr *) &buf[*bufix]; 85 if (interface -> hw_address.hlen - 1 == sizeof (trh->saddr)) 86 memcpy (trh->saddr, &interface -> hw_address.hbuf [1], 87 sizeof (trh->saddr)); 89 memset (trh->saddr, 0x00, sizeof (trh->saddr)); 92 memcpy (trh 131 struct trh_hdr *trh = (struct trh_hdr *) buf + bufix; local [all...] |
/netbsd-6-1-5-RELEASE/sys/kern/ |
H A D | subr_tftproot.c | 128 struct tftproot_handle trh; local 184 memset(&trh, 0, sizeof(trh)); 185 trh.trh_nd = nd; 186 trh.trh_block = 1; 188 if ((error = tftproot_getfile(&trh, l)) != 0) { 204 tftproot_getfile(struct tftproot_handle *trh, struct lwp *l) argument 239 memcpy(sin, &trh->trh_nd->nd_root.ndm_saddr, sizeof(*sin)); 245 namelen = strlen(trh->trh_nd->nd_bootfile) + 1; 264 (void)strncpy(cp, trh 355 struct tftproot_handle *trh = ctx; local [all...] |
/netbsd-6-1-5-RELEASE/sys/net/ |
H A D | if_tokensubr.c | 187 struct token_header *trh; local 311 trh = (struct token_header *)M_TRHSTART(m); 312 trh->token_ac = TOKEN_AC; 313 trh->token_fc = TOKEN_FC; 314 if (trh->token_shost[0] & TOKEN_RI_PRESENT) { 317 trrif = TOKEN_RIF(trh); 320 memcpy((void *)trh->token_dhost, (void *)edst, 322 memcpy((void *)trh->token_shost, CLLADDR(ifp->if_sadl), 323 sizeof(trh->token_shost)); 325 trh 476 struct token_header *trh; local [all...] |
/netbsd-6-1-5-RELEASE/sys/dev/ic/ |
H A D | tropic.c | 1271 struct token_header *trh; local 1320 trh = mtod(m0, struct token_header *); 1322 if (trh->token_shost[0] & TOKEN_RI_PRESENT) { 1328 rif = TOKEN_RIF(trh);
|
/netbsd-6-1-5-RELEASE/sys/netinet/ |
H A D | if_arp.c | 1147 struct token_header *trh; local 1149 trh = (struct token_header *)M_TRHSTART(m); 1150 if (trh->token_shost[0] & TOKEN_RI_PRESENT) { 1154 rif = TOKEN_RIF(trh);
|
Completed in 212 milliseconds