- /*
- * in the AF_INET case, we need the l,f addrs to contain the ports
- */
- if( tpcb->tp_domain == AF_INET) {
- CHECK((fsufxlen != sizeof(short))||(lsufxlen != sizeof(short)),
- E_TP_ADDR_UNK, ts_inv_dref, respond,
- (fsufxloc - (caddr_t)hdr))
- bcopy (lsufxloc, &(satosin(laddr)->sin_port), sizeof(short));
- (tpcb->tp_nlproto->nlp_putsufx)(so->so_pcb, laddr, TP_LOCAL);
- /*
- this has already been done 'cause the fsufxlen is
- sizeof(short):
- bcopy (fsufxloc, &(satosin(faddr)->sin_port),
- sizeof(short));
- (tpcb->tp_nlproto->nlp_putsufx)(so->so_pcb, faddr,
- TP_FOREIGN);
- */
- }
+ /* stash the f suffix in the new tpcb */
+ /* l suffix is already there */
+
+ bcopy(fsufxloc, tpcb->tp_fsuffix, fsufxlen);
+ (tpcb->tp_nlproto->nlp_putsufx)
+ (so->so_pcb, fsufxloc, fsufxlen, TP_FOREIGN);