Lines Matching defs:ptdb
232 struct ni_ptdb *ptdb;
446 ptdb = (struct ni_ptdb *)&msg->nm_text[0];
447 memset(ptdb, 0, sizeof(struct ni_ptdb));
448 ptdb->np_index = 1;
449 ptdb->np_fque = 1;
796 struct ni_ptdb *ptdb;
805 ptdb = (struct ni_ptdb *)&msg->nm_text[0];
806 memset(ptdb, 0, sizeof(struct ni_ptdb));
810 ptdb->np_index = 2; /* definition type index */
811 ptdb->np_fque = 2; /* Free queue */
814 ptdb->np_type = ETHERTYPE_IP;
815 ptdb->np_flags = PTDB_UNKN | PTDB_BDC;
817 ptdb->np_flags |= PTDB_PROMISC;
818 memset(ptdb->np_mcast[0], 0xff, ETHER_ADDR_LEN); /* Broadcast */
819 ptdb->np_adrlen = 1;
829 ptdb->np_flags |= PTDB_AMC;
833 ptdb->np_adrlen++;
834 memcpy(ptdb->np_mcast[i++], enm->enm_addrlo,